We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mapbox-gl-js version: v0.51.0
Initial bounds added in #5518 resets the map's pitch (jsbin), is this expected behavior?
bounds
Asking because map.fitBounds preserves the pitch (jsbin) and it isn't documented that bounds resets it.
map.fitBounds
https://www.mapbox.com/mapbox-gl-js/api/#map
https://www.mapbox.com/mapbox-gl-js/api/#map#fitbounds
The text was updated successfully, but these errors were encountered:
This looks like an oversight in #5518. @stepankuzmin would you mind submitting a fix? Should a small change.
Sorry, something went wrong.
fix: initial bounds resets map's pitch to 0 mapbox#7597
61156f8
Sorry for the late response, fixed in #7617
fix: initial bounds resets map's pitch to 0 #7597 (#7617)
8f13dc3
No branches or pull requests
mapbox-gl-js version: v0.51.0
Question
Initial
bounds
added in #5518 resets the map's pitch (jsbin), is this expected behavior?Asking because
map.fitBounds
preserves the pitch (jsbin) and it isn't documented thatbounds
resets it.Links to related documentation
https://www.mapbox.com/mapbox-gl-js/api/#map
https://www.mapbox.com/mapbox-gl-js/api/#map#fitbounds
The text was updated successfully, but these errors were encountered: