Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
712
zooming
posted

Hi,

I display the world map on the xamMap. Upon clicking a particular country, the map element of the country will be zoom in. I change the value of  WindowZoomMaximum property. The thing is that whether I chose small or big country the zoom level is the same.

I wanna find out the zoom level based on the country size or area and also wanna make sure the element is shown at the center of screen.

How could i calculate the zoom level based on country size?

 

Thanks.

NNT