Hi Frendz
Can any one of u plz tell me that how can I find the longitudes and lattitudes while I m moving mouse on Mappoint control.I m using C#.
Thanxx In Advance![]()
This is a discussion on Finding Longs and Lats on mouse Move within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi Frendz Can any one of u plz tell me that how can I find the longitudes and lattitudes while ...
Hi Frendz
Can any one of u plz tell me that how can I find the longitudes and lattitudes while I m moving mouse on Mappoint control.I m using C#.
Thanxx In Advance![]()
Hi,
To convert from a location object ot lat long, several articles with code here.Code:private void MP_MouseMoveEvent(object sender, AxMapPoint._IMappointCtrlEvents_MouseMoveEvent e) { AxMapPoint.AxMappointControl mp = (AxMapPoint.AxMappointControl)sender; Location Loc = mp.ActiveMap.XYToLocation(e.x, e.y); if(Loc != null) { // here convert to lat long
rgds, Wilfried
http://www.mestdagh.biz
There are currently 1 users browsing this thread. (0 members and 1 guests)