Skip to content

Conversation

ben-milanko
Copy link
Contributor

There are some instances where a large number of markers may be in the cluster and the zoomToBoundsOnClick is set to false.

In these cases, the asset cluster will not be useful to the user see the example below:

image

This PR includes an additional option disableSpiderfyAboveMarkerCount which disables the spiderfy effect if the cluster contains more than N items.

If N is 0 or negative, the spiderfy effect will not be disabled regardless of the marker count. Default value is 0 to maintain existing behaviour for users.

Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant