Summary
When zooming in high amounts then zooming out on a map with thousands of markers there is significant lag as the markers re-cluster.
Expected behavior
The markers would near immediately re-cluster to the clusters appropriate for the current zoom.
Observed behavior
It seems like instead each "cluster level" is animated in order instead of immediately clustering to current zoom/cluster level. This leads to drawing and calculating for more markers than is feasible at once.
Steps to reproduce
If you can reproduce using the demo app in the project, it helps us troubleshoot faster.
- Distribute and cluster 20,000+ markers.
- Zoom in significantly.
- Zoom out
Summary
When zooming in high amounts then zooming out on a map with thousands of markers there is significant lag as the markers re-cluster.
Expected behavior
The markers would near immediately re-cluster to the clusters appropriate for the current zoom.
Observed behavior
It seems like instead each "cluster level" is animated in order instead of immediately clustering to current zoom/cluster level. This leads to drawing and calculating for more markers than is feasible at once.
Steps to reproduce
If you can reproduce using the demo app in the project, it helps us troubleshoot faster.