Change the starting for cluster

I would like to know how can I start clustering in Leaflet map only from the cluster count of 11 instead of 2 which is default.

I believe the clustering algorithm is driven by cluster radius, not by item count count - you can tweak the radius from default (80 pixels) by setting a different value of maxClusterRadius in your clusterOptions = markerClusterOptions() call.

By doing this you should be able to drive the clustering behavior to either smaller, denser clusters, or bigger, looser ones. But I would still expect the clustering to be driven by distance, not count.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.