Expose dragPan config option from Mapbox #1347
Unanswered
franciscohanna92
asked this question in
Q&A
Replies: 1 comment
-
hey there, If you can find this feature exposed on the Android and iOS SDKs for mapbox let us know and we can work something out. |
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 an app with two tabs for navigation where swiping to change tabs is enabled. In of the tabs I have a Mapbox instace.
I want to disabled the drag pan gesture (https://docs.mapbox.com/mapbox-gl-js/api/handlers/#dragpanhandler), and allow the user to use two fingers to pan the map. I don't think it's possible on this library at the moment. Or is it? I couldn't find it.
Any ideas for a workaround? Trying to swipe tabs and that instead the map moves kind of breaks the UX.
Beta Was this translation helpful? Give feedback.
All reactions