back | source
Zoom range
  1. 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
  2. Example
  3. Current zooming range
    var result = map.zoomRange();
    • No argument: Current zoom range