registerOnShove method

void registerOnShove(
  1. ShoveCallback? shoveCallback
)

Called by the map view when a two pointer shove event is triggered

Two pointers move with distance between pointers and pointers angle remaining inside predefined thresholds.

Parameters

  • IN pointersAngleDeg the angle in degrees determined by the two pointers involved in gesture
  • IN initial the mid point of the segment determined by the two pointers initial touch down positions
  • IN start the mid point of the segment determined by the two pointers previous positions
  • IN end the mid point of the segment determined by the two pointers current positions

Implementation

void registerOnShove(final ShoveCallback? shoveCallback) {
  _shoveCallback = shoveCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onShove',
    shoveCallback == null,
  );
}