PanMode

public enum PanMode : String, Equatable, CaseIterable

Options used to configure the direction in which the map is allowed to move during a pan gesture. Called ScrollMode in the Android SDK for consistency with platform conventions.

  • The map may only move horizontally.

    Declaration

    Swift

    case horizontal
  • The map may only move vertically.

    Declaration

    Swift

    case vertical
  • The map may move both horizontally and vertically.

    Declaration

    Swift

    case horizontalAndVertical