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
Describe the bug
Clusters do not render, split or update during map animations or while dragging the map from an area with no clusters to an area with clusters.
To Reproduce
Steps to reproduce the behavior:
Add a bunch of data points to render clusters, subclusters and markers
set viewportChangeMethod="flyTo"
drag the map from an area with no clusters to an area with clusters.
See that the new clusters don't appear until you let go of the mouse.
Expected behavior
I would expect clusters to update and render during each tick of an animation whether it is dragging the map to an area where a cluster should be rendered, or zooming into a cluster where it should "split" into multiple clusters or markers during the zoom animation.
Screenshots
Before letting go of the mouse when dragging over an area that has clusters
The cluster feature of react-mapbox-gl is able to render and split the clusters in real-time during map animations. Not sure if it's worth looking at how they render the clusters?
This is a dealbreaker to finish migrating over.
The text was updated successfully, but these errors were encountered:
Describe the bug
Clusters do not render, split or update during map animations or while dragging the map from an area with no clusters to an area with clusters.
To Reproduce
Steps to reproduce the behavior:
viewportChangeMethod="flyTo"
Expected behavior
I would expect clusters to update and render during each tick of an animation whether it is dragging the map to an area where a cluster should be rendered, or zooming into a cluster where it should "split" into multiple clusters or markers during the zoom animation.
Screenshots
Before letting go of the mouse when dragging over an area that has clusters
after letting go of the mouse:
Additional context
I am attempting to migrate from https://github.com/alex3165/react-mapbox-gl to
react-map-gl
The cluster feature of
react-mapbox-gl
is able to render and split the clusters in real-time during map animations. Not sure if it's worth looking at how they render the clusters?This is a dealbreaker to finish migrating over.
The text was updated successfully, but these errors were encountered: