update multiple pushpins with street data

wrighty
11-08-2007, 06:59 AM
Hi

I have multiple pushpins located around the country.
I am using MapPoint.FindResults = myMap.ObjectsFromPoint(myMap.LocationToX(location) , myMap.LocationToY(location)) to extract city and street details with reasonable success. However as each pushpin is updated on the map i.e location has moved, the refresh process is not very pleasant as each city/street location is calculated, is there a better way to extract this information on multiple pushpins (could be as many as 200).

Thanks

Wilfried
11-09-2007, 12:26 PM
Hi,

If there are many calculations to do that the program is too busy (as I understand your question) then another approach could be to do the calculation in a background thread with another instance of mappoint, or even with another application that communicate to the visible one. Then updating can go fast and smooth. The communication can go with TCP session or a named pipe or one of the communications tools provided by windows.

wrighty
11-12-2007, 02:57 AM
Thank Wilfried,

I will give that a go.

 
Web mp2kmag.com
mapforums.com