MethodChannelVietmapNavigationPlugin class

An implementation of VietmapNavigationPluginPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
routeEventsListener Stream<RouteEvent>?
Events Handling
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addWayPoints({required List<LatLng> wayPoints}) Future
Adds waypoints or stops to an on-going navigation
override
enableOfflineRouting() Future<bool?>
Will download the navigation engine and the user's region to allow offline routing
override
finishNavigation() Future<bool?>
Ends Navigation and Closes the Navigation View
override
getDistanceRemaining() Future<double?>
Total distance remaining in meters along route.
override
getDurationRemaining() Future<double?>
Total seconds remaining on all legs.
override
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerRouteEventListener(ValueSetter<RouteEvent> listener) Future
Event listener
override
startFreeDrive(MapOptions options) Future<bool?>
Free-drive mode is a unique Mapbox Navigation SDK feature that allows drivers to navigate without a set destination. This mode is sometimes referred to as passive navigation. options options used to generate the route and used while navigating Begins to generate Route Progress
override
startNavigation({MapOptions? options}) Future<bool?>
Show the Navigation View and Begins Direction Routing
override
toString() String
A string representation of this object.
inherited

Operators

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