ThinkGeo.com    |     Documentation    |     Premium Support

Limit zoom level within valid coordinates!

Hi,


Following to this thread  (IE6 bugs)


As a workaround, I restricted the world extent of the map control.


So i did,


m_Map.RestrictedExtent = new RectangleShape(-179, 85, 180, -85) to prevent users from panning outside the valid coordinates.


But when the users clicked on the world icon or zoom out far enough using the widget controls on the left, the bugs reported above is visible agai!!


So how do i prevent them from zooming out further than the restricted extent when the world icon is clicked ?


Thanks!


 



Thanks for the post.


I was able to recreate this and have logged this as a bug to be fixed. Once you set the restricted extent the map control shouldn't allow the user to go outside of that area in anyway.


Please let us know if find any other bugs, we love the feedback!