VietMapNavigationPlugin class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
animateCamera(
{required LatLng latLng, double? bearing, double? zoom, double? tilt}) → Future< void> -
Animate the camera to a specific location
latLng
the location to animate the camera tobearing
the bearing of the camera -
enableOfflineRouting(
) → Future< bool?> - Will download the navigation engine and the user's region to allow offline routing
- Ends Navigation and Closes the Navigation View
-
getDefaultOptions(
) → MapOptions - Getter to retriev default options
-
getDistanceRemaining(
) → Future< double?> - Total distance remaining in meters along route.
-
getDurationRemaining(
) → Future< double?> - Total seconds remaining on all legs.
-
getPlatformVersion(
) → Future< String?> - Current Device OS Version
-
moveCamera(
{required LatLng latLng, double? bearing, double? zoom, double? tilt}) → Future< void> -
Move the camera to a specific location
latLng
the location to move the camera tobearing
the bearing of the camera -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerRouteEventListener(
ValueSetter< RouteEvent> listener) → Future - Event listener for RouteEvents
-
setDefaultOptions(
MapOptions options) → void - setter to set default options
-
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. Begins to generate Route Progress
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → VietMapNavigationPlugin
-
get current instance of this class
no setter