MBMOfflineRegionTilePyramidDefinition

Deprecated


@interface MBMOfflineRegionTilePyramidDefinition : NSObject

An offline region definition is a geographic region defined by a style URL, geographic bounding box, zoom range, and device pixel ratio. Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom. The maxZoom may be ∞, in which case for each tile source, the region will include tiles from minZoom up to the maximum zoom level provided by that source. The pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.

  • 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)initWithStyleURL:(nonnull NSString *)styleURL
                                      bounds:(nonnull MBMCoordinateBounds *)bounds
                                     minZoom:(double)minZoom
                                     maxZoom:(double)maxZoom
                                  pixelRatio:(float)pixelRatio
                     glyphsRasterizationMode:(MBMGlyphsRasterizationMode)glyphsRasterizationMode;

    Swift

    init(styleURL: String, bounds: MBMCoordinateBounds, minZoom: Double, maxZoom: Double, pixelRatio: Float, glyphsRasterizationMode: GlyphsRasterizationMode)
  • The style associated with the offline region.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *styleURL;

    Swift

    var styleURL: String { get }
  • The bounds covering the region.

    Declaration

    Objective-C

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

    Swift

    var bounds: MBMCoordinateBounds { get }
  • Minimum zoom level for the offline region.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double minZoom;

    Swift

    var minZoom: Double { get }
  • Maximum zoom level for the offline region.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double maxZoom;

    Swift

    var maxZoom: Double { get }
  • Pixel ratio to be accounted for when downloading assets.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float pixelRatio;

    Swift

    var pixelRatio: Float { get }
  • Specifies glyphs download mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MBMGlyphsRasterizationMode glyphsRasterizationMode;

    Swift

    var glyphsRasterizationMode: GlyphsRasterizationMode { get }