NavigationMap class abstract
- Implementers
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
-
addRouteSelectedListener(
LatLng clickedPoint, OnRouteSelectedCallback onRouteSelectedCallback) → void - Adds a listener to the map to listen for route selection.
-
clearRoute(
) → Future< void> - Clears the routes from the map.
-
drawIndependentRoutes(
List< DirectionsRoute> routes) → Future<void> -
Draws the route on the map based on the provided
routes
. it clears the previous route before drawing the new one. and then draws the route line, waypoints, and route duration symbol. This method is used when there are multiple origin and destination routes. -
drawRoute(
List< DirectionsRoute> routes) → Future<void> -
Draws the route on the map based on the provided
routes
. it clears the previous route before drawing the new one. and then draws the route line, waypoints, and route duration symbol. -
initGeoJsonSource(
) → Future< void> -
initRouteLayers(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggleAlternativeVisibilityWith(
bool alternativeVisible) → Future< void> - Toggles the visibility of the alternative routes.
-
toggleDurationSymbolVisibilityWith(
bool durationSymbolVisible) → void - Toggles the visibility of the route duration symbol.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited