-
-
Notifications
You must be signed in to change notification settings - Fork 847
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
camera fitBounds adds padding every time it is called on android #956
Labels
bug 🪲
Something isn't working
Comments
Please clean up the ticket. |
I've added a fix with #973. It can be tested with
|
@mfazekas we are still receiving this error constantly on |
@luskin can you try master?! |
@mfazekas - yes, adding master worked. Any timeline for creating an official release with this? |
@naftalibeder: |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When calling this.map.fitBounds(ne, sw, padding, duration) the map adds padding everytime it is called ultimately leading to an error "Unable to calculate appropriate zoom level for bounds. Vertical or Horizontal padding is greater than map's height or width"
To Reproduce
Steps to reproduce the behavior.
Run page on android
Press button to set bounds multiple times
camera will add padding until error occurs
Example:
The text was updated successfully, but these errors were encountered: