Gestures State
A state holder for gesture configuration and gesture event observation.
Obtain an instance through MapState.gesturesState.
Use gesturesSettings to configure which gestures are enabled, and GestureInput to observe individual gesture events in a coroutine-based, lifecycle-aware fashion.
Constructors
Types
Link copied to clipboard
object Companion
Public companion object of GesturesState.
Functions
Link copied to clipboard
Suspends until the coroutine is canceled, collecting each map attachment and running block with a GestureScope receiver. When the map is replaced or detaches, the current block invocation is canceled and restarted on the new map.
Link copied to clipboard
Returns true if a gesture is currently in progress.
Link copied to clipboard
Returns true if a user-initiated animation is currently in progress.