MSFPanningMode

Objective-C

enum MSFPanningMode : NSInteger {}

Swift

enum MSFPanningMode : Int, @unchecked Sendable

Possible panning modes for dual touch user input.

  • Free panning means that the map panning is unrestricted, user is able to zoom, rotate and pan the map at the same time without any artificial limits.

    Declaration

    Objective-C

    MSF_PANNING_MODE_FREE

    Swift

    case PANNING_MODE_FREE = 0
  • Sticky panning means that the map panning is restricted, user is able to freely pan the map, but zooming and rotating gestures can’t be performed at the same time. User is still able to switch between zooming and rotating the map but it takes a bit more effort compared to FREE panning.

    Declaration

    Objective-C

    MSF_PANNING_MODE_STICKY

    Swift

    case PANNING_MODE_STICKY = 1
  • Final sticky panning: like sticky panning, but once the gesture type is determined the user is stuck with either zooming or rotating until at least one of the two fingers is lifted.

    Declaration

    Objective-C

    MSF_PANNING_MODE_STICKY_FINAL

    Swift

    case PANNING_MODE_STICKY_FINAL = 2