MapViewLine
public struct MapViewLine
extension MapViewLine: Equatable
MapViewLine record the information of a line on the map.
Version
1.5.0Date
05/09/2019-
Initialize the object.
Declaration
Swift
public init(points: [MapViewPoint], color: UIColor = defaultLineColor, width: Int = defaultLineWidth, pointIcon: UIImage? = nil)Parameters
pointsA list of point list.
colorThe color of the line.
widthThe width of the line.
pointIconThe icon for the points on the line. Nil if the point should be shown.
-
Declaration
Swift
public static func == (lhs: MapViewLine, rhs: MapViewLine) -> Bool -
The width of the line.
Declaration
Swift
static let defaultLineColor: UIColor -
The width of the line.
Declaration
Swift
static let defaultLineWidth: Int
MapViewLine Structure Reference