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
Clicking on a cluster to zoom in is a cool feature. Frequently it works well but just as often it doesn't zoom in enough. If I understand the code right, then it zooms in to the zoom level given by the cluster. I wonder if it would work better if the cluster would communicate the bounding box for of the features it contains. The map could then zoom directly to this extent.
The text was updated successfully, but these errors were encountered:
Indeed this could produce a way more accurate zoom and better user experience. However this needs some work since the extent should be added to each cluster while generating them on the server side. Currently we are adding the clusterExpansionZoom manually in clustering-vt, but for the extent we should instead do some processing by using the getLeaves() method of supercluster.
Clicking on a cluster to zoom in is a cool feature. Frequently it works well but just as often it doesn't zoom in enough. If I understand the code right, then it zooms in to the zoom level given by the cluster. I wonder if it would work better if the cluster would communicate the bounding box for of the features it contains. The map could then zoom directly to this extent.
The text was updated successfully, but these errors were encountered: