GestureType

public enum GestureType : UInt32, CaseIterable, Codable

Enum that represents the type of a gesture.

  • Single-tap performed with two fingers. When performed on a map view, this instantly zooms the map out by a factor of 0.5 and the map becomes twice as small.

    Declaration

    Swift

    case twoFingerTap
  • Double-tap performed with one finger. When performed on a map view, this instantly zooms the map in by a factor of 2 and the map becomes twice as big.

    Declaration

    Swift

    case doubleTap
  • pan

    Panning gesture with a one or two fingers. When performed on a map view, this continuously moves the map.

    Declaration

    Swift

    case pan
  • Vertical panning gesture with two fingers. When performed on a map view, this continuously tilts the map.

    Declaration

    Swift

    case twoFingerPan
  • Pinching and rotating gesture using two fingers. When performed on a map view, this continuously scales, zooms or rotates the map.

    Declaration

    Swift

    case pinchRotate