GaryHoather
asked on
How do I obtain the longitude and latitude of the current location using the Mappoint 2010 Map Control
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please let me know if you have further questions or if I can help with anything else about the theory and practice of proximity calculation. As I said, I do not know Mappoint, but the principles and geometry are going to be the same no matter what software you choose. Best, ~Ray
Open in new window