MapboxNavigationService
A NavigationService
is the entry-point interface into MapboxCoreNavigation. This service manages a locationManager
(which feeds it location updates), a Directions
service (for rerouting), a Router
(for route-following), a NavigationEventsManager
(for telemetry), and a simulation engine for use during poor GPS conditions.
-
The Amount of time the service will wait until it begins simulation in a poor GPS scenerio. Defaults to 2.5 seconds.
-
The active location manager. Returns the location simulator if we’re actively simulating, otherwise it returns the native location manager.
-
A reference to a MapboxDirections service. Used for rerouting.
-
The active router. By default, a
PortableRouteController
. -
The events manager. Sends telemetry back to the Mapbox platform.
-
The
NavigationService
delegate. WrapsRouterDelegate
messages. -
The simulation mode of the service.
-
The simulation speed multiplier. If you desire the simulation to go faster than real-time, increase this value.
-
Intializes a new
NavigationService
. -
Determines if a location is within a tunnel.
-
-
-
-