View Single Post

  #1 (permalink)  
Old 12-12-2006
suamikim suamikim is offline
Junior Member
White Belt
 
Join Date: Nov 2005
Posts: 9
C#: MapPoint 2004 - Check Regions

Hi,

i've created an C#-App which uses the MapPoint2004 ActiveX-Control to steadily show the GPS-Position of some vehicles connected to the software.

The next step would be the following, but i don't know, if, and especially, how i can achieve this:

The program should be able to check if the specified vehicle is located in a specified area. If the vehicle leaves this area (lets say a country or even a single city), the program should alert the user (respective it would be brilliant if it would be possible, that the program alerts the user, when the vehicle comes near a boundary of the specified area, but thats all still up in the air).

I know that it is possible to specify territories in MapPoint. Is it now possible to read them into my C#-App and check if a concrete GPS-Position is within or outside this territory/ies?

Hope, someone can help me!

thanks & regards
Reply With Quote