Fit bounds
With fit bounds, the map zooms and pans so that all visible markers fit on the screen. It happens each time a visitor changes the legend or the dropdown filters. When no marker is visible, the map goes back to its centre point and zoom level.
Fit bounds comes from the Fitbounds for JoomMap plugin. It is enabled on install.
Settings
Open System > Plugins, search for Fitbounds for JoomMap and open it.
| Field | What it does |
|---|---|
| Exclude maps | Maps that should keep their own zoom when visitors filter. All other maps fit to the markers |
When to use it
- Use it on maps where locations are spread over a large area, so visitors see all places of a type at once.
- Exclude maps where you want visitors to stay on one area, for example a city centre, even when the type they choose has places further away.
When the page first opens, the map uses its centre point and Zoom level, not fit bounds. Set them so the first view shows your places. To turn the feature off for all maps, disable the plugin.