I'm using VB6 and the Mappoint control to build a EXE that include some map functionalities. The problem is that when I add a pushpin or other items on the map then the map is updated at every code instruction. Is there a way to draw some items without updating the map at every instruction?
Example of code
When I run this code I see first the blackline, then the arrow, at last the weight.Code:Set item = myMap.Shapes.AddLine(loc1,loc2) item.Line.ForeColor = intForeColor item.Line.EndArrowhead = True item.Line.Weight = 0
Same problem when creating pushpins. In this case first I see the pushpin icon then the car icon (myDataSet has Symbol=car)
Is there a way to run easily some code in the MapPoint thread? I think at every instruction there is the delay for the thread switch between my application and the hidden mappoint application.Code:Set item = myMap.AddPushpin(loc1, "MyName") item.MoveTo myDataSet
Thank you for any help