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

Strange rendering behavior when there is a cluster layer and a individual pin layer. #166

Open
kaeedo opened this issue Apr 24, 2024 · 0 comments

Comments

@kaeedo
Copy link

kaeedo commented Apr 24, 2024

Hi. I'm having an issue when it comes to setting the Source data with clustering enabled. The clustering works, and there's a separate layer which also shows the count in each cluster. But sometimes a cluster circle will render, even though there is only one data point inside that cluster, and an individual pin for that data point will render on top. This only happens sometimes, and is different everytime the browser is refreshed. This happens with firefox and chromium browsers.

Here is a minimal reproduction repo, which also has a version where everything works by using vanilla mapbox: https://github.com/kaeedo/SolidJsMapboxWeird

and a short video showcasing the strange issue:

Screencast_20240424_100721.webm
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