RouteInstruction
public struct RouteInstruction
Route instruction.
-
Creates a route instruction object.
Declaration
Swift
public init( distanceAlongRoute: Measurement<UnitLength>, length: Measurement<UnitLength>, combineWithNext: Bool, pointIndex: Int = 0 )
Parameters
distanceAlongRouteMeters
distance along the route.
length
length in Measurement unit length.
combineWithNext
should be combine with next instruction.
pointIndex
largest index in the polyline of the route.