InstructionPoint
public struct InstructionPoint
Represents a instruction point together with its coordinate and distance offset along the route.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init(coordinate: CLLocationCoordinate2D, routeOffset: Measurement<UnitLength>)
Parameters
coordinate
CLLocationCoordinate2D
from theRoute
polyline.routeOffset
The distance offset along the route.
-
CLLocationCoordinate2D
from theRoute
polyline.Declaration
Swift
public let coordinate: CLLocationCoordinate2D
-
The distance offset along the route.
Declaration
Swift
public let routeOffset: Measurement<UnitLength>