Marker clustering
When many markers are close together, they hide each other. With clustering, nearby markers merge into one round icon with a number. A click on the cluster zooms in until the single markers show.
Clustering comes from the Markerclusters for JoomMap plugin. It is enabled on install and works on every map page and in the Locations Map for JoomMap module.
Settings
Open System > Plugins, search for Markerclusters for JoomMap and open it.
| Field | What it does |
|---|---|
| Exclude maps | Maps that should not cluster their markers. All other maps do |
| Small cluster icon, Medium cluster icon, Large cluster icon | Your own images for small, medium and large clusters |
| Small icon size x / y, Medium icon size x / y, Large icon size x / y | The width and height of each image in pixels |
To use your own cluster icons, fill in all nine fields. If one is empty, the default icons are used. JoomMap installs ready-made cluster images in each images/markers/iconpins/<colour> folder, for example cluster-40x41.png, cluster-53x54.png and cluster-66x67.png, where the numbers are the sizes to enter.
The default icons are loaded from GitHub (raw.githubusercontent.com). Set your own icons if you do not want the map to load images from there.
Clusters and filters
Clusters follow the legend, the dropdown filters and the map search. When a visitor hides a type, its markers leave the clusters and the numbers change.
Turn it off
To turn clustering off for all maps, disable the plugin. To turn it off for some maps, select them in Exclude maps.