DashedLine
public struct DashedLine : Encodable
Undocumented
-
Sets the line width (mapbox.layer.paint.line-width).
Has an effect only when
typeis set to line.Declaration
Swift
public var width: Double? -
Sets the length of dashes and gaps (mapbox.layer.paint.line-dasharray).
Has an effect only when
typeis set to line.Declaration
Swift
public var dash: [Double]? -
Creates
DashedLineobject with specified properties.Declaration
Swift
public init(width: Double? = nil, dash: [Double]? = nil)Parameters
widthSets the line width (mapbox.layer.paint.line-width).
dashSets the length of dashes and gaps (mapbox.layer.paint.line-dasharray).
View on GitHub
Install in Dash
DashedLine Structure Reference