LongPressEvent

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

Represents a long press gesture.

Obtain this event from the MapView.onLongPress 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 user long-pressed, or null if the point could not be determined

Link copied to clipboard

the point in screen coordinates where the user long-pressed

Inherited properties

Link copied to clipboard

Returns the MotionEvent associated with the LongPressEvent.