RouteService class
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
Constructors
- RouteService.new(String accessToken)
-
////////////
////////////
const
Properties
- accessToken → String
-
////////////
////////////
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearRoute(
MapboxMap map) → Future< void> - //////////// //////////// Clears all route layers from the map
-
displayRoute(
MapboxMap map, RouteDetails routeData, {bool showAlternatives = false, RouteEmphasis emphasis = RouteEmphasis.balanced}) → Future< void> - //////////// //////////// Displays the route on the provided MapboxMap
-
getRoute(
RaliPosition start, RaliPosition destination, {RouteEmphasis emphasis = RouteEmphasis.balanced, RALINavigationMode mode = RALINavigationMode.default_}) → Future< RouteDetails> - //////////// //////////// Retrieves a route between two points with comprehensive options
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited