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

Cluster markers get stuck if marker animation in use #62

Open
secretwpn opened this issue Jun 16, 2018 · 3 comments
Open

Cluster markers get stuck if marker animation in use #62

secretwpn opened this issue Jun 16, 2018 · 3 comments

Comments

@secretwpn
Copy link

If I use clustering together with marker animation - I often encounter an issue where I zoom enough for cluster to split but it doesn't. When that happens - no matter how close I zoom or pan, clusters keep just stuck in their latest positions

I've tried calling map.setClustering(null) after having this happening to see if clusters at least get cleared, but it doesn't help.

If I don't use marker animation - this doesn't happen.

Looks like timing issue / race condition to me.

@mg6maciej
Copy link
Owner

Hello Simon,
Thank you for the report. Could you make a SSCCE so I can look into it? There are examples in demo app in this repository, which you could use as base. PR with such Fragment or Activity, but you can also paste the code here.
Regards, Maciej

@secretwpn
Copy link
Author

Hello, Maciej,
Now it is done (doing it for the first time on github, hope I've got everything right)
BR

@matthewkrueger
Copy link

matthewkrueger commented Nov 4, 2018

I'm having the same issue. My app starts zoomed out, showing everything clustered (while it's obtaining your location). Once the user's location is found, the app will zoom in on their location.

The problem is that the clusters from the initial zoomed out view are still showing! Even zooming out/in, the phantom clusters are still there.

Is there any way to manually "clear" the clusters? Note: I'm already calling map.clear() and that doesn't do it.

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

3 participants