Zoom range
- How to define zooming range of the map
map.zoomRange({ min:1, max:5 });
- parameter: Initial zoom range (min, max)
- min: Mininum zoom value
- max: Maximum zoom value
- Current zooming range
var result = map.zoomRange();
- No argument: Current zoom range
Example