Zoom In Constraint

491
1
05-05-2010 08:53 AM
KadeSmith
Occasional Contributor
Is there anyway to make it so that the map cannot be zoomed in past a certain extent?  I know we can constrain the zoom out with a behavior, but what about zoom in?

I've tried Map.MinimumResolution, but that gets reset when I dynamically add a tiled map layer.
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
Is there anyway to make it so that the map cannot be zoomed in past a certain extent? I know we can constrain the zoom out with a behavior, but what about zoom in?

I've tried Map.MinimumResolution, but that gets reset when I dynamically add a tiled map layer.


We are aware of the Min/Max resolutions getting reset after changing the tiled layers in the map, and will have a fix with the next release.
Your best bet for now is to set the MinimumResolution property every time LayersInitialized fires.
0 Kudos