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: v1.2.0
browser: Chrome/Firefox
Map with map navigation controls map.addControl(new mapboxgl.NavigationControl());
map.addControl(new mapboxgl.NavigationControl());
Rotate the map
https://docs.mapbox.com/mapbox-gl-js/example/navigation/
The compass is rotating.
There is only a very tiny shaking of the compass icon when the map is rotated.
Note: If the visualizePitch option introduced in #8296 is used, the compass is rotating as expected: https://jsbin.com/xuwiguniti/1/edit?html,output
visualizePitch
The text was updated successfully, but these errors were encountered:
might be related to #8296
Sorry, something went wrong.
culprit lies in this line, not being properly degree-ified from radians:
mapbox-gl-js/src/ui/control/navigation_control.js
Line 82 in 19e3022
Separately, compass at max pitch looks tiny and not easily readable. Gonna try to size it up subtly based on pitch
🚢 #8605
peterqliu
No branches or pull requests
mapbox-gl-js version: v1.2.0
browser: Chrome/Firefox
Steps to Trigger Behavior
Map with map navigation controls
map.addControl(new mapboxgl.NavigationControl());
Rotate the map
Link to Demonstration
https://docs.mapbox.com/mapbox-gl-js/example/navigation/
Expected Behavior
The compass is rotating.
Actual Behavior
There is only a very tiny shaking of the compass icon when the map is rotated.
Note:
If the
visualizePitch
option introduced in #8296 is used, the compass is rotating as expected: https://jsbin.com/xuwiguniti/1/edit?html,outputThe text was updated successfully, but these errors were encountered: