RouteDeviation
public struct RouteDeviation : Hashable
Contains all the relevant information on a deviation from the route.
-
The last known location on the route.
Declaration
Swift
public var lastLocationOnRoute: NavigableLocation? -
Indicates the index of the last traveled route section.
Declaration
Swift
public var lastTraveledSectionIndex: Int32 -
Offset in meter to the last visited position on the route section defined by the last traveled section index.
Declaration
Swift
public var traveledDistanceOnLastSectionInMeters: Int32 -
The current location.
Declaration
Swift
public var currentLocation: NavigableLocation -
init(lastLocationOnRoute:lastTraveledSectionIndex: traveledDistanceOnLastSectionInMeters: currentLocation: ) Creates a new instance.
Declaration
Swift
public init(lastLocationOnRoute: NavigableLocation? = nil, lastTraveledSectionIndex: Int32 = 0, traveledDistanceOnLastSectionInMeters: Int32 = 0, currentLocation: NavigableLocation)