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

Allow pitch override in camera apis #12367

Merged
merged 4 commits into from Nov 11, 2022
Merged

Conversation

karimnaaji
Copy link
Contributor

@karimnaaji karimnaaji commented Nov 8, 2022

https://mapbox.atlassian.net/browse/GLJS-98

  • Add pitch override in cameraForBounds, fitBounds and fitScreenCoordiantes camera APIs
  • Update relevant documentation associated with these APIs

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs
  • manually test the debug page
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog>Allow for pitch override in cameraForBounds, fitBounds and fitScreenCoordiantes camera APIs</changelog>

@karimnaaji karimnaaji requested a review from a team as a code owner November 8, 2022 23:50
src/ui/camera.js Outdated Show resolved Hide resolved
@avpeery
Copy link
Contributor

avpeery commented Nov 11, 2022

LGTM - thanks for updating the debug (tested it out!) and fixing the documentation!

@karimnaaji karimnaaji merged commit ced4597 into main Nov 11, 2022
@karimnaaji karimnaaji deleted the karim/expose-pitch-camera-apis branch November 11, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants