mapbox-maps-android
mapbox-maps-android copied to clipboard
Configuration to disable all gestures
While we expose granular control over enabled/disabling gestures. We don't expose a main kill switch to disable them all. Above matches the following sequence:
val gesturesPlugin = mapView.getGesturesPlugin()
gesturesPlugin.pitchEnabled = false
gesturesPlugin.rotateEnabled = false
gesturesPlugin.zoomEnabled = false
gesturesPlugin.scrollEnabled = false
// since this issue was created we have a couple more enabled properties
// and renamed a couple properties as well
- tests
- add API
- add integration example in gestures activity
- ~~serialisation spec?~~ -> needs discussion, maybe just as extension function
- validate naming from OP with current state
Is this still planned? I'd like to disable all user interaction with the Map, right now it's quite difficult to do. Thanks a lot!