Custom Marker Clusters

Customizing the Clustered Markers

As an option to MarkerClusterGroup you can provide your own function for creating the Icon for the clustered markers. You'll probably want to use getChildCount() or getAllChildMarkers() to work out the icon to show.

Last updated

Was this helpful?