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
Is there a way to set this up to when you click on a Cluster, it will not zoom past your maxZoom?
My maxZoom is set to 14, so I don't want clicking on a Cluster to zoom past that point, but the default when clicking on a Cluster is zooming the map to like 18.
The text was updated successfully, but these errors were encountered:
Hi everyone, it looks like I was able to find a workaround for this by simply adding a maxZoomLevel={} to the component (in addition to maxZoom={}).
maxZoom - This breaks up the Cluster at zoom level X
maxZoomLevel - This prevents the Cluster from zooming in all the way after breaking (which can be jarring).
Not ideal as it prevents the user from zooming in further past maxZoomLevel if they so desire, but it does prevent the Cluster from zooming in all the way.
If someone has a better solution, please let me know.
Is there a way to set this up to when you click on a Cluster, it will not zoom past your maxZoom?
My maxZoom is set to 14, so I don't want clicking on a Cluster to zoom past that point, but the default when clicking on a Cluster is zooming the map to like 18.
The text was updated successfully, but these errors were encountered: