Skip to content
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

Feature request: fitView with separate max zoom #1301

Closed
saschahofmann opened this issue Jun 21, 2021 · 2 comments
Closed

Feature request: fitView with separate max zoom #1301

saschahofmann opened this issue Jun 21, 2021 · 2 comments

Comments

@saschahofmann
Copy link

I'd like to separately, manage the max zoom level when fitViewing meaning I can set a higher maxZoom in general provide an optional maxZoom to the function.

Alternatively, it could be nice to a "dry-run" of the fitView function that returns the zoom level that'd would be zoomed to and use the output of that to alternatively zoom to the maxZoom level instead.

@saschahofmann
Copy link
Author

Ha cool thx you guys dont mess around 👍

@moklick
Copy link
Member

moklick commented Jun 24, 2021

released in 9.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants