RouteInstruction
public struct RouteInstruction
Route instruction.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Init method to create route instruction object.
Declaration
Swift
public init(distanceAlongRouteMeters: Double, lengthInMeters: Double, combineWithNext: Bool, pointIndex: Int = 0)Parameters
distanceAlongRouteMetersdistance along route in meters unit.
lengthInMeterslength in meters unit.
combineWithNextshould be combine with next instruction.
pointIndexlargest index in the polyline of the route.
RouteInstruction Structure Reference