ThinkGeo.com    |     Documentation    |     Premium Support

Disallowing Clicking on a Map

I have a map I am loading with US, County and Zip information. The click event is wired up. What I want to do is disallow a user from clicking the map when they are too far out so the event is only fired when the zoomlevel is at a certain level or lower.


I can ignore it in the code behind but I am not sure how to determine the current zoom level of the map control.


Thanks



Jeff,


Thanks for your suggestion, we will dicsuss to see if we will add a server part API to get the current ZoomLevel. For now you can ref the following post to get the sample how to work it around.


gis.thinkgeo.com/Support/Dis...fault.aspx


Ben