RangeStyle
public struct RangeStyle
Style of the single reachable zone.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes the reachable zone style.
Declaration
Swift
public init( fillColors: [Double: UIColor], lineStyles: [LineStyle] )
Parameters
fillColors
A map of colors for the zone polygon on different zoom levels. In this dictionary, the key is the zoom level and the value is the color for that zoom level. Colors between neighboring zoom levels are linearly interpolated. This parameter must be a non-empty dictionary containing non-negative keys. To set a single value for all zoom levels, include a single entry with a key value in the range [0;22].
lineStyles
Range boundary line styles.
-
The color of the reachable zone polygon. In this dictionary, the key is the zoom level and the value is the color for that zoom level. Colors between neighboring zoom levels are linearly interpolated. This parameter must be a non-empty dictionary containing non-negative keys. To set a single value for all zoom levels, include a single entry with a key value in the range [0;22].
Declaration
Swift
public let fillColors: [Double : UIColor]
-
Range boundary line styles.
Declaration
Swift
public let lineStyles: [LineStyle]