UnfollowedRoute
public struct UnfollowedRoute
Represents the routes that are not currently followed (unfollowed) within the TomTomSDKNavigation/NavigationSession
.
An unfollowed route comprises a TomTomSDKRoute/Route
within the TomTomSDKNavigation/NavigationSession
that is not currently followed
and a back-to-route point. This is the closest point on the route to the current location.
-
Creates an instance of an unfollowed route.
Declaration
Swift
public init(route: Route, backToRoutePoint: CLLocationCoordinate2D)
-
Represents an unfollowed
TomTomSDKRoute/Route
.Declaration
Swift
public let route: Route
-
Represents the back to route point for the unfollowed route.
Declaration
Swift
public let backToRoutePoint: CLLocationCoordinate2D