RouteTrackingState
public enum RouteTrackingState
Represents the RouteTrackingState
of the currently active route.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Represent the
RouteTrackingState
when the currently active route is followed.Declaration
Swift
case followed(route: Route)
Parameters
route
The current route.
-
Represent the
RouteTrackingState
when the deviation has been detected.Declaration
Swift
case deviated(route: Route, backToRoutePoint: CLLocationCoordinate2D)
Parameters
route
The current route.
backToRoutePoint
the closest
CLLocationCoordinate2D
on the route to the current location.