DownEvent

data class DownEvent(val screenCoordinate: ScreenCoordinate, val mapPoint: Point?, motionEvent: MotionEvent)

Represents the beginning of a gesture.

This event is triggered when the user presses the screen at the beginning of some gesture.

Obtain this event from the MapView.onDown flow.

Since

200.0.0

See also

Constructors

Link copied to clipboard
constructor(screenCoordinate: ScreenCoordinate, mapPoint: Point?, motionEvent: MotionEvent)

Properties

Link copied to clipboard

the point in map coordinates where the first press happened, or null if the point could not be determined

Link copied to clipboard

the point in screen coordinates where the first press happened

Inherited properties

Link copied to clipboard

Returns the MotionEvent associated with the DownEvent.