RouteController
A RouteController
tracks the user’s progress along a route, posting notifications as the user reaches significant points along the route. On every location update, the route controller evaluates the user’s location, determining whether the user remains on the route. If not, the route controller calculates a new route.
RouteController
is responsible for the core navigation logic whereas
NavigationViewController
is responsible for displaying a default drop-in navigation UI.
-
-
-
Details about the user’s progress along the current route, leg, and step.
-
The most recently received user location.
Note
This is a raw location received fromlocationManager
. To obtain an idealized location, use thelocation
property. -
-
The route controller’s delegate.
-
The route controller’s associated location manager.
-
The Directions object used to create the route.
-
The idealized user location. Snapped to the route line, if applicable, otherwise raw.
See also
snappedLocation, rawLocation -
-
-
Returns an estimated location at a given timestamp. The timestamp must be a future timestamp compared to the last location received by the location manager.
-
-
-
-
-
Keys in the user info dictionaries of various notifications posted by instances of
See moreRouteController
. -
-
-