Welcome to MapForums!

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

## MapPoint AutoZoom

This is a discussion on MapPoint AutoZoom within the MapPoint Desktop 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 ...

1. Junior Member White Belt
Join Date
Sep 2006
Posts
6

## MapPoint AutoZoom

I'm using mappoint to track car movements.
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?

2. Senior Member Black Belt
Join Date
Nov 2004
Location
Belgium
Posts
2,433
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.

3. Junior Member White Belt
Join Date
Sep 2006
Posts
6

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!

4. Senior Member Black Belt
Join Date
Nov 2004
Location
Belgium
Posts
2,433
Hi,

Yes this seems a good idea Set Altitude to some level to find out how meany streetAdresses you find and set zoom level. Looks a good method at first sight. Please feedback your resulsts.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•