Map Zoom Range
Restrict the map’s zoom range to hide unnecessary details
You may need to restrict the map’s zoom range to hide unnecessary details and prevent users from zooming in or out too much.
Using the plugin settings, you can set minimum and maximum zoom levels within a range of 0 to 24. If the initial map loading zoom level is outside this range, it will automatically adjust to the minimum or maximum value.
This page contains a sample map with a zoom range of 5 to 7 and an initial zoom level of 5.8.
Related Examples
Previous Example
Set the initial center and zoom level before customizing the map
Next Example