PanChangeEvent

data class PanChangeEvent

Represents part of a pan gesture.

This event is triggered when the user drags a pointer or pointers across the MapView.

Obtain this event from the MapView.onPan flow.

Since

200.0.0

See also

Types

Link copied to clipboard
sealed class PanStatus

Represents the status of a pan gesture.

Properties

Link copied to clipboard

the x,y movement of the midpoint of all pointers since the previous PanChangeEvent, or from the initial midpoint if there have been no PanChangeEvents yet for this gesture

Link copied to clipboard

the point on the screen where the pan was performed, that is, the pointer position in a single-pointer pan or the midpoint of all pointers in a multi-pointer pan

Link copied to clipboard

the pan status, indicating whether panning has just started, is in progress or just ended.

Inherited properties

Link copied to clipboard

Returns the MotionEvent associated with the PanChangeEvent.