Disable Map Rotation #5460
Unanswered
Stelios-Ervis-Priftis
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Did you try disabling dragRotate in the map initialization object? |
Beta Was this translation helpful? Give feedback.
3 replies
-
See https://maplibre.org/maplibre-gl-js/docs/API/classes/DragRotateHandler/#disable |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using
ngx-maplibre-gl
to display a map and would like to know if there is a way to disable map rotation via right click?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions