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
I would like to be able to roll the camera (rotate it about the camera boresight). maplibre/maplibre-gl-js#4717 maplibre/maplibre-gl-js#4780
I would like to add a field roll to the root style spec object. roll sets the camera roll angle in degrees, and joins its friends pitch and bearing.
roll
pitch
bearing
Root style spec gets a new roll field. jumpTo(), easeTo(), and flyTo() get roll added to their options. Camera gets a setRoll() method.
jumpTo()
easeTo()
flyTo()
Camera
setRoll()
This is a pure extension. To achieve existing functionality, just leave roll undefined (default 0).
I considered adding roll to the API but not to the style spec. Rejected because:
The text was updated successfully, but these errors were encountered:
I think this can be a good addition. Feel free to push this forward. Don't forget the diff part of the implementation here.
Sorry, something went wrong.
No branches or pull requests
Design Proposal: Add Roll
Motivation
I would like to be able to roll the camera (rotate it about the camera boresight).
maplibre/maplibre-gl-js#4717
maplibre/maplibre-gl-js#4780
Proposed Change
I would like to add a field
roll
to the root style spec object.roll
sets the camera roll angle in degrees, and joins its friendspitch
andbearing
.API Modifications
Root style spec gets a new
roll
field.jumpTo()
,easeTo()
, andflyTo()
getroll
added to their options.Camera
gets asetRoll()
method.Migration Plan and Compatibility
This is a pure extension. To achieve existing functionality, just leave roll undefined (default 0).
Rejected Alternatives
I considered adding
roll
to the API but not to the style spec. Rejected because:roll
is needed in style spec for render tests.pitch
andbearing
already exist in style specThe text was updated successfully, but these errors were encountered: