-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
NavigationControl - Compass icon is not rotating anymore #8579
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: