-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow user to set zoom/scale limits for choropleth maps #5191
Comments
I used that technique to re-layout when it overrides the max or min limits. https://community.plotly.com/t/how-to-set-a-limit-for-zoom-in-out-feature/2574/6?u=mebaysan |
Look forward to this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request to limit the zoom of choropleth-maps.
Because there are no axis I recommend limit the scaling factor. This could be dome e.g. by introducing two new setting
minScale
andmaxScale
on thelayout.geo.projection
object.minScale/maxScale must be positive numbers:
https://jsbin.com/vudibul/edit?js,console,output
Related:
The text was updated successfully, but these errors were encountered: