onTwoFingerPan abstract method

void onTwoFingerPan(
  1. GestureState state,
  2. Point2D origin,
  3. Point2D translation,
  4. double velocity,
)

Called when the two finger pan gesture occurs.

  • state Determines in which state the gesture is.

  • origin Position halfway between two touch points relative to the MapView in pixels.

  • translation Translation offset since the last position in pixels.

  • velocity Velocity of panning in pixels per millisecond.

Implementation

void onTwoFingerPan(GestureState state, Point2D origin, Point2D translation, double velocity);