First introduced in version 5.2!
The plugin provides the possibility to restrict map bounds so that users can only pan and zoom inside given bounds. The map’s viewport also will not exceed these restrictions.
To restrict map bounds, do the following:
- Edit your map
- Click on the menu “Map settings”
- Scroll down to the group field “Map Restriction”
- In the field “Restrict map bounds”, select the option “Yes”
- In the field “Map bounds restriction”, follow the instructions in the description of that field to see how you can find and set the map bounds.
- Choose an option in the field “Strict bounds”
In the same context
- Set the map center point
- Set the map container background color
- Set the initial zoom level of the map
- Set the Max. & Min. zoom levels of the map
- Zoom the map on double click
- Controlling gesture handling
- Drag the map
- Show the zoom control
- Zooming the map using the mouse scroll wheel
- Extend the map bounds to contain all markers & clusters (Autofit)
- Use a button to recenter the map
- Show to fullscreen control
- Show the map type control
- Show the street view control
- Resize the map controls
- Enable retina display for custom markers & clusters
- Display the traffic Layer
- Display the transit layer
- Display the bicycling Layer