InstructionPoint
public struct InstructionPoint
Represents the route instruction coordinate and its distance offset along the route.
CLLocationCoordinate2D
from the Route
polyline.
Declaration
Swift
public let coordinate: CLLocationCoordinate2D
Creates an instance with the specified coordinate and route offset.
Declaration
Swift
public init(coordinate: CLLocationCoordinate2D, routeOffset: Measurement<UnitLength>)
Parameters
coordinate
|
|
routeOffset
|
The distance offset along the route. |
The distance offset along the route.
Declaration
Swift
public let routeOffset: Measurement<UnitLength>