Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clustered markers do not spiderfy when clicked. #266

Open
edwardgaoyb opened this issue Dec 5, 2024 · 0 comments
Open

Clustered markers do not spiderfy when clicked. #266

edwardgaoyb opened this issue Dec 5, 2024 · 0 comments

Comments

@edwardgaoyb
Copy link

Sometimes clustered markers do not spiderfy when clicked.

The root cause is that each cluster has a property, "maxExpansionZoom". This property is compared to the current map zoom level to decide when the cluster will expand, i.e. not a cluster anymore.
In the _handleClick() function of GeoJSON component, it is compared to the maxZoom property of SuperClusterOptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant