You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ClusterKit for Mapbox, it's working decently so far, however there is a serious problem.
When zoomed in, my clusters expand to individual pins. Sometimes these remain even when zoomed out.
My hypothesis is that when you call self.mapView.clusterManager.addAnnotations (for example, from a network call) while an existing clustering update is happening, it ends up plotting both of them.
The text was updated successfully, but these errors were encountered:
Any updates on this @ivanmkc? I am having the same problem and I have implemented a workaround: Each time removeAnnotations is called, I am iterating through the annotations, finding the duplicate ones and deleting them. This works, but is very performance-heavy.
Sorry I haven't touched this project for a while. i imagine the 'correct' fix is a solution to the race condition I mentioned using a serial scheduler of some sort.
I'm using ClusterKit for Mapbox, it's working decently so far, however there is a serious problem.
When zoomed in, my clusters expand to individual pins. Sometimes these remain even when zoomed out.
My hypothesis is that when you call self.mapView.clusterManager.addAnnotations (for example, from a network call) while an existing clustering update is happening, it ends up plotting both of them.
The text was updated successfully, but these errors were encountered: