I just edited the code to turn on zoomToBoundsOnClick and turn off spiderfy() on hover. It would be nice if these could be altered via a configuration form.

Comments

rdeboer’s picture

Version: » 7.x-1.x-dev
Assigned: Unassigned » rdeboer

There is no form yet.
However a contrib module can pass configuration parameters to the MakerCluster javascript from Drupal when creating the Leaflet map, without editing any of the javascript code.
See the new README.txt, http://drupalcode.org/project/leaflet_markercluster.git/blob_plain/refs/...

simon georges’s picture

Cross-reference #1952398: Option to disable on some maps, which is indeed the most important configurable option, IMHO.