InstructionPoint
public struct InstructionPoint
Represents the route instruction coordinate and its distance offset along the route.
-
Creates an instance with the specified coordinate and route offset.
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>
TomTom SDK for iOS (0.53.1)
InstructionPoint