MapBoxNavigationViewController class
Controller for a single MapBox Navigation instance running on the host platform.
Constructors
Properties
-
centerCoordinates
→ Future<
List< Object?> > -
Get currect coordinates of center view
no setter
-
distanceRemaining
→ Future<
double> -
Total distance remaining in meters along route.
no setter
-
durationRemaining
→ Future<
double> -
Total seconds remaining on all legs.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
platformVersion
→ Future<
String> -
Current Device OS Version
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedAnnotation
→ Future<
String> -
Get last selected annotation
no setter
-
setPOIImage
→ Future<
bool> -
Total distance remaining in meters along route.
no setter
-
zoomLevel
→ Future<
double> -
Camera zoom level.
no setter
Methods
-
buildRoute(
{required 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
- Ends Navigation and Closes the Navigation View
-
initialize(
) → Future< void> - starts listening for events
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reCenterCamera(
) → Future< void> - Recenter map from user action during navigation
-
removePOI(
{required String groupName}) → Future< bool> - Build the Route Used for the Navigation
-
setPOI(
{required String groupName, required String image, required double iconSize, required List< WayPoint> wayPoints}) → Future<bool> - Build the Route Used for the Navigation
- Starts the Navigation in full screen mode
- Starts the Navigation
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCameraPosition(
{required double latitude, required double longitude}) → Future< bool> - Set camera to desired lat / lng coordinates
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited