GesturesController
Controls gestures related to the user interactions on the TomTomMap. It allows to enable and disable certain gestures as well as listen for certain gesture events.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Registers OnMapClickListener which is notified when the map has been clicked (tapped).
Registers OnMapDoubleClickListener which is notified when the map double click (double tap) gesture has been recognized.
Registers OnMapLongClickListener which is notified when the map long click (long press) gesture has been recognized.
Registers OnMapPanningListener which is notified when user performs the panning gesture on the map.
Allows to change the default gesture detection behaviour. For example invocation of this method with the following parameters: setExclusiveGestures(GestureType.ROTATION, setOf(GestureType.SCALE)) results in GestureType.ROTATION being ignored if its not already ongoing before GestureType.SCALE.
Removes the OnMapClickListener.
Removes the OnMapDoubleClickListener.
Removes the OnMapLongClickListener.
Removes the OnMapPanningListener.