Provides Beautiful Animated Marker Clustering functionality for Leaflet using the Leaflet MarkerCluster library.

Installation and configuration

First install the Leaflet module 7.x-1.1 or later and Leaflet javascript library v0.7.1 or later.
Then download the MarkerCluster library from https://github.com/Leaflet/Leaflet.markercluster.
The core part of the zip file is a directory named dist. Make sure this directory ends up in sites/all/libraries/leaflet_markercluster, so that the path to the essential javascript file becomes sites/all/libraries/leaflet_markercluster/dist/leaflet.markercluster.js

Enable the module. All Leaflet maps will now be using clustering out of the box.

If not, visit the Status Report page, admin/reports/status, for error messages.

This module does not itself have a UI to set MarkerCluster configuration parameters. However parameters may be set through javascript, Drupal code or other modules, e.g., IP Geolocation Views & Maps. Consult the README for details.

Credits

This module has been sponsored by Marzee Labs.

Project Information

Downloads