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
RouteTrackingStatewhen the currently active route is followed.Declaration
Swift
case followed(route: Route)Parameters
routeThe current route
-
Represent the
RouteTrackingStatewhen the deviation has been detected.Declaration
Swift
case deviated(route: Route, backToRoutePoint: CLLocationCoordinate2D)Parameters
routeThe current route
backToRoutePointthe closest
CLLocationCoordinate2Don the route to the current location.
RouteTrackingState Enumeration Reference