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
coordinateCLLocationCoordinate2Dfrom theRoutepolyline.routeOffsetThe distance offset along the route.
-
CLLocationCoordinate2Dfrom theRoutepolyline.Declaration
Swift
public let coordinate: CLLocationCoordinate2D -
The distance offset along the route.
Declaration
Swift
public let routeOffset: Measurement<UnitLength>
InstructionPoint Structure Reference