MBMConstrainMode

enum MBMConstrainMode : NSInteger {}

Describes whether to constrain the map in both axes or only vertically e.g. while panning.

  • No constrains.

    Declaration

    Objective-C

    MBMConstrainModeNone

    Swift

    case none = 0
  • Constrain to height only

    Declaration

    Objective-C

    MBMConstrainModeHeightOnly

    Swift

    case heightOnly = 1
  • Constrain both width and height axes.

    Declaration

    Objective-C

    MBMConstrainModeWidthAndHeight

    Swift

    case widthAndHeight = 2