WidthByZoom
public struct WidthByZoom : StyleByZoom
Represents the width to use for each zoom level.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes width per zoom values.
Declaration
Swift
public init(valueByZoom: [Double : Double], defaultValue: Double = 0.0)Parameters
valueByZoomA mapping of zoom levels to widths in point units.
defaultValueDefault value for all of the zoom levels.
-
A mapping of zoom levels to widths in point units.
Declaration
Swift
public let valueByZoom: [Double : Double] -
Default value for all of the zoom levels.
Declaration
Swift
public let defaultValue: Double
TomTom SDK for iOS (0.53.1)
WidthByZoom