How to disable rotation but keep zoom? #2039
Unanswered
berryhijwegen
asked this question in
Q&A
Replies: 1 comment
-
<Map
initialViewState={...}
touchZoomRotate={true}
bearing={0}
/> |
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
-
I have been trying to disable the rotation, but enable the zoom feature. It seems those two are linked together in the Map component by the
touchZoomRotate
attribute. Is it possible to disable/enable them separately?Beta Was this translation helpful? Give feedback.
All reactions