How do I obtain the longitude and latitude of the current location using the Mappoint 2010 Map Control
Posted on 2010-09-20
I have been asked to complete an application on behalf of a programmer who has left the Company. The application is a fleet management system and ises Mappoint 2010 ( Europe ) for location and mapping.
I can find a location using the mappoint [FindPlaceResults] procedure but inorder to identify the nearest current ehicle I need to query the sql table which uses lat/longs to keep track of vehicle location.
Idealliy I would like to be able to find the Lat/Long of the current location returned by using the [FindPlaceResults] procedure. I am only taking the top entry from the procedure so there will only be ever one location returned. As the map centres on the location found I had hoped the the lat/long could be obatined.