onPan abstract method
- GestureState state,
- Point2D origin,
- Point2D translation,
- double velocity,
Called when the pan gesture occurs.
-
stateDetermines in which state the gesture is. -
originPosition of the touch point relative to the MapView in pixels. -
translationTranslation offset since the last position in pixels. -
velocityVelocity of panning in pixels per millisecond.
Implementation
void onPan(GestureState state, Point2D origin, Point2D translation, double velocity);