MBMCameraBoundsOptions


@interface MBMCameraBoundsOptions : NSObject

Holds options to be used for setting camera bounds.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithBounds:(nullable MBMCoordinateBounds *)bounds
                                   maxZoom:(nullable NSNumber *)maxZoom
                                   minZoom:(nullable NSNumber *)minZoom
                                  maxPitch:(nullable NSNumber *)maxPitch
                                  minPitch:(nullable NSNumber *)minPitch NS_REFINED_FOR_SWIFT;
  • The latitude and longitude bounds to which the camera center are constrained.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) MBMCoordinateBounds *bounds;

    Swift

    var bounds: MBMCoordinateBounds? { get }
  • The maximum zoom level, in Mapbox zoom levels 0-25.5. At low zoom levels, a small set of map tiles covers a large geographical area. At higher zoom levels, a larger number of tiles cover a smaller geographical area.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *maxZoom;
  • The minimum zoom level, in Mapbox zoom levels 0-25.5.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *minZoom;
  • The maximum allowed pitch value in degrees.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *maxPitch;
  • The minimum allowed pitch value in degrees.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *minPitch;