Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Center Point within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi Please can you tell me how to get the center point of the map Lat, Long I am creating ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Center Point Please can you tell me how to get the center point of the map Lat, Long I am creating a zoom option in my app so the user can press F1 - F4 to select views of the map and i need to store the position data from the map Thanks in advance Colin |
| |||
|
Hi, Code: int x = (MP.Width - 6) / 2;
int y = (MP.Height - 6) / 2;
Location loc = MP.ActiveMap.XYToLocation(x, y);
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| center, point |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding Center of Data | kerleyp | MapPoint Desktop Discussion | 2 | 08-18-2005 03:34 PM |
| Find center of a polygon | Anonymous | MapPoint Desktop Discussion | 11 | 05-25-2005 08:54 AM |
| Center Map to a pushpin? | Anonymous | MapPoint Desktop Discussion | 7 | 02-14-2005 04:31 PM |
| Finding the center of a group of pushpins | Anonymous | MapPoint Desktop Discussion | 3 | 04-07-2004 03:51 PM |
| Determining Center of a Zipcode | shaistasohail | MapPoint Desktop Discussion | 0 | 10-21-2002 10:13 PM |