MBMTileCoverOptions


@interface MBMTileCoverOptions : NSObject

Various options needed for tile cover

  • 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)initWithTileSize:(nullable NSNumber *)tileSize
                                     minZoom:(nullable NSNumber *)minZoom
                                     maxZoom:(nullable NSNumber *)maxZoom
                                   roundZoom:(nullable NSNumber *)roundZoom NS_REFINED_FOR_SWIFT;
  • tile size of the source. Defaults to 512.

    Declaration

    Objective-C

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

    Swift

    var tileSize: NSNumber? { get }
  • min zoom defined in the source between range [0, 22]. if not provided or is out of range, defaults to 0.

    Declaration

    Objective-C

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

    Swift

    var minZoom: NSNumber? { get }
  • max zoom defined in the source between range [0, 22]. should be greater than or equal to minZoom. if not provided or is out of range, defaults to 22.0.

    Declaration

    Objective-C

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

    Swift

    var maxZoom: NSNumber? { get }
  • whether to round zoom values when calculating tilecover. Set this to true for raster and raster-dem sources. If not specified, defaults to false.

    Declaration

    Objective-C

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

    Swift

    var roundZoom: NSNumber? { get }