IndexedCoordinate
public struct IndexedCoordinate : Sendable
IndexedCoordinate
is a coordinate with additional information such as the index from its position in the polyline and distance from the start of the polyline.
-
The coordinate
Declaration
Swift
public let coordinate: Array<LocationCoordinate2D>.Element
-
The index of the coordinate
Declaration
Swift
public let index: Array<LocationCoordinate2D>.Index
-
The coordinate’s distance from the start of the polyline
Declaration
Swift
public let distance: LocationDistance