setGesturesManager

open fun setGesturesManager(@NonNull androidGesturesManager: AndroidGesturesManager, attachDefaultListeners: Boolean, setDefaultMutuallyExclusives: Boolean)

Sets a custom AndroidGesturesManager to handle android.view.MotionEvents registered by the MapView.

Parameters

androidGesturesManager

Gestures manager that interprets gestures based on the motion events.

attachDefaultListeners

If true, pre-defined listeners will be attach to change map based on AndroidGesturesManager callbacks.

setDefaultMutuallyExclusives

If true, pre-defined mutually exclusive gesture sets will be added to the passed gestures manager.

See also

<a href="https://github.com/mapbox/mapbox-gestures-android">mapbox-gestures-android library</a>