Community of VE/MapPoint Users and Developers
This is a discussion on How to get latitude and longitude within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, (1) If I have a location, is there a way to get latitude and longitude? (2) How to implement ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to get latitude and longitude (1) If I have a location, is there a way to get latitude and longitude? (2) How to implement "Location Sensor" in MapPoint 2004, which shows Latitude/Longitude in a small box? Thanks for help. |
| ||||
| Lat Long
For estimation of Lat Long Quote:
Ciao,
__________________ Calv1ns |
| |||
|
Hi, For the location sensor here is a code snipped from MouseMove event: 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) {
double Lat;
double Lon;
pos.CalcPos(Loc, out Lat, out Lon);
statusStripLat.Text = Lat.ToString("F4"); // is 11 meter nauwkeurigheid
statusStripLon.Text = Lon.ToString("F4");
}
}
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| latitude, longitude |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Latitude and Longitude | virgilar | MapPoint 2006/2009 Discussion | 1 | 03-21-2005 02:01 PM |
| longitude and latitude lookup | Anonymous | MapPoint 2006/2009 Discussion | 3 | 01-24-2004 10:20 AM |
| longitude and latitude lookup | Anonymous | MapPoint 2006/2009 Discussion | 0 | 01-23-2004 04:58 PM |
| Latitude and Longitude | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-25-2003 01:52 PM |
| NMEA latitude/longitude and mappoint latitude/longitude | muurman | MapPoint 2006/2009 Discussion | 3 | 11-22-2003 05:42 AM |