Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on MapPoint AutoZoom within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm using mappoint to track car movements. I would like to implement a dynamic autozoom in MapPoint: When there are ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| I would like to implement a dynamic autozoom in MapPoint: When there are many roads around a location (lat/lon point) I would like to zoom at a level that I can see all those roads (at example in the center of a town). Otherwise, when I want to view around a location without so many roads the altitude (zoom level) should increase. In other words.. is there any way to understand if a location belongs to a city center with many intersection near or not? Thanks in advance. |
| |||
|
Hi, I dont think you can. However as workaround you could have your own database with all cities in and eventually the radius per city. At every position you calculate the difference to the city center, and when you are in then change the zoom level.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Thank you Wilfried for your reply, I think the database would be a solution even it would be too large to create... I thought to another solution which I post so it could help someone else. (not tested yet). The goal is to know if around a given location there are many roads or not... so I can modify the zoom level. The steps should be: - Create a random set of location around the given location (the number of the location should be found experimentally) - Get the address for all of these location, without any search alghorithm, just search in the given point. - The number of found valid addresses could be a measure of how many roads are in the around of the given location. I'll let you know if this can work... and if this would be enough fast. Bye! |
| |||
|
Hi, Yes this seems a good idea
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| autozoom, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!