GestureOptions

Configuration options for the built-in gestures

  • Whether the single-touch pan gesture is enabled. Defaults to true.

  • Whether the pinch gesture is enabled. Allows panning, rotating, and zooming. Defaults to true.

  • Whether rotation gesture is enabled. Defaults to true.

  • Whether rotation is enabled for the pinch to zoom gesture. Defaults to true.

  • Whether zoom is enabled for the pinch gesture. Defaults to true.

  • Whether pan is enabled for the pinch gesture. Defaults to true.

  • Whether the pitch gesture is enabled. Defaults to true.

  • Whether double tapping the map with one touch results in a zoom-in animation. Defaults to true.

  • Whether single tapping the map with two touches results in a zoom-out animation. Defaults to true.

  • Whether the quick zoom gesture is enabled. Defaults to true.

  • Configures the directions in which the map is allowed to move during a pan gesture. Defaults to PanMode.horizontalAndVertical. Called scrollMode in the Android SDK for consistency with platform conventions.

  • A constant factor that determines how quickly pan deceleration animations happen. Multiplied with the velocity vector once per millisecond during deceleration animations. Defaults to UIScrollView.DecelerationRate.normal.rawValue

  • By default, gestures rotate and zoom around the center of the gesture. Set this property to rotate and zoom around a fixed point instead.

    This property will be ignored by the pinch gesture if pinchPanEnabled is set to true.