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