Find the most suitable zoom level to cover a set of points without changing the map

Hi,

I can assume what you're going to tell me: use SetMapView() as answered in many threads like these:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1711186&SiteID=1

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=565430&SiteID=1

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=614662&SiteID=1

The problem is that SetMapView() effectively changes the map to contain all locations.

I am interested to find the most suitable zoom level to cover a set of points without changing the displayed map.

I need one number only: the correct zoom level !

Thank you very much.

[1159 byte] By [AlexandruMatei] at [2008-1-4]

Windows Live Developer Forums

Site Classified