CoordinateAlongLine
public struct CoordinateAlongLine : Equatable
Coordinate along line.
-
Creates an instance of
CoordinateAlongLine
Declaration
Swift
public init(coordinate: CLLocationCoordinate2D, distanceAlongLineMeters: Double)
Parameters
coordinate
The polyline coordinate to add to the line to be created.
distanceAlongLineMeters
The distance of the coordinate along the line, expressed in meters.
-
The polyline coordinate to add to the line to be created.
Declaration
Swift
@EquatableWrapper public private(set) var coordinate: CLLocationCoordinate2D { get set }
-
The distance of the coordinate along the line, expressed in meters.
Declaration
Swift
public let distanceAlongLineMeters: Double