MapBoxNavigationViewController class

Controller for a single MapBox Navigation instance running on the host platform.

Constructors

MapBoxNavigationViewController(int id, ValueSetter<RouteEvent> eventNotifier)

Properties

distanceRemaining Future<double>
Total distance remaining in meters along route.
read-only
durationRemaining Future<double>
Total seconds remaining on all legs.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
platformVersion Future<String>
Current Device OS Version
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

buildRoute({List<WayPoint> wayPoints, MapBoxOptions options}) Future<bool>
Build the Route Used for the Navigation
clearRoute() Future<bool>
Clear the built route and resets the map
finishNavigation() Future<bool>
Ends Navigation and Closes the Navigation View
initialize() Future<void>
starts listening for events
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
startNavigation({MapBoxOptions options}) Future<bool>
Starts the Navigation
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited