OfflineRegionGeometryDefinition
extension OfflineRegionGeometryDefinition
-
Initialize a
OfflineRegionGeometryDefinition.Declaration
Swift
public convenience init(styleURL: String, geometry: Geometry, minZoom: Double, maxZoom: Double, pixelRatio: Float, glyphsRasterizationMode: GlyphsRasterizationMode)Parameters
styleURLThe style URL associated with the offline region.
geometryThe geometry that defines the boundary of the offline region.
minZoomThe minimum zoom level for the offline region. Must be greater than or equal to
0.maxZoomThe maximum zoom level for the offline region. Must be greater than or equal to the
minZoom.pixelRatioThe pixel ratio to be accounted for when downloading assets. Must be greater than or equal to
0. Typically1.0or2.0.glyphsRasterizationModeSpecifies glyphs rasterization mode. It defines which glyphs will be loaded from the server.
-
The geometry that defines the boundary of the offline region.
Declaration
Swift
public var geometry: Geometry? { get }
OfflineRegionGeometryDefinition Extension Reference