CoordinateAlongLine
public struct CoordinateAlongLine : Equatable
Coordinate along line.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
CoordinateAlongLineDeclaration
Swift
public init(coordinate: CLLocationCoordinate2D, distanceAlongLineMeters: Double)Parameters
coordinateThe polyline coordinate to add to the line to be created.
distanceAlongLineMetersThe 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
CoordinateAlongLine Structure Reference