MapboxNavigationService
A concrete implementation of the NavigationService protocol.
NavigationViewController comes with a MapboxNavigationService by default. You may override it to customize the Directions service or simulation mode. After creating the navigation service, pass it into NavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:), then pass that object into NavigationViewController(for:options:).
If you use a navigation service by itself, outside of NavigationViewController, call start() when the user is ready to begin navigating along the route.
-
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
RouteController. -
The events manager. Sends telemetry back to the Mapbox platform.
-
The
NavigationServicedelegate. WrapsRouterDelegatemessages. -
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.
-
-
-
-
-
-
Install in Dash
MapboxNavigationService Class Reference