RoutingInterface class abstract
Provides the abstract class for the online and offline routing engines.
- Implementers
Constructors
-
RoutingInterface(TaskHandle calculateRouteWithRoutingOptionsLambda(List<
Waypoint> , RoutingOptions, CalculateRouteCallback ), TaskHandle calculateCarRouteLambda(List<Waypoint> , CarOptions, CalculateRouteCallback ), TaskHandle calculatePedestrianRouteLambda(List<Waypoint> , PedestrianOptions, CalculateRouteCallback ), TaskHandle calculateTruckRouteLambda(List<Waypoint> , TruckOptions, CalculateRouteCallback ), TaskHandle calculateScooterRouteLambda(List<Waypoint> , ScooterOptions, CalculateRouteCallback ), TaskHandle calculateBicycleRouteLambda(List<Waypoint> , BicycleOptions, CalculateRouteCallback ), TaskHandle calculateTaxiRouteLambda(List<Waypoint> , TaxiOptions, CalculateRouteCallback ), TaskHandle calculateEVCarRouteLambda(List<Waypoint> , EVCarOptions, CalculateRouteCallback ), TaskHandle calculateEVTruckRouteLambda(List<Waypoint> , EVTruckOptions, CalculateRouteCallback ), TaskHandle calculateBusRouteLambda(List<Waypoint> , BusOptions, CalculateRouteCallback ), TaskHandle calculatePrivateBusRouteLambda(List<Waypoint> , PrivateBusOptions, CalculateRouteCallback ), TaskHandle returnToRouteWithTraveledDistanceLambda(Route, Waypoint, int, int, CalculateRouteCallback )) -
Provides the abstract class for the online and offline
routing engines.
factory
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
-
calculateBicycleRoute(
List< Waypoint> waypoints, BicycleOptions bicycleOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a bicycle route from one point to another, passing through the given waypoints in the given order.
-
calculateBusRoute(
List< Waypoint> waypoints, BusOptions busOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a bus route from one point to another, passing through the given waypoints in the given order.
-
calculateCarRoute(
List< Waypoint> waypoints, CarOptions carOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a car route from one point to another, passing through the given waypoints in the given order.
-
calculateEVCarRoute(
List< Waypoint> waypoints, EVCarOptions evCarOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates an electric car route from one point to another, passing through the given waypoints in the given order.
-
calculateEVTruckRoute(
List< Waypoint> waypoints, EVTruckOptions evTruckOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates an electic truck route from one point to another, passing through the given waypoints in the given order.
-
calculatePedestrianRoute(
List< Waypoint> waypoints, PedestrianOptions pedestrianOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a pedestrian route from one point to another, passing through the given waypoints in the given order.
-
calculatePrivateBusRoute(
List< Waypoint> waypoints, PrivateBusOptions privateBusOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a private bus route from one point to another, passing through the given waypoints in the given order.
-
calculateRouteWithRoutingOptions(
List< Waypoint> waypoints, RoutingOptions options, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a route from one point to another, passing through the given waypoints in the given order.
-
calculateScooterRoute(
List< Waypoint> waypoints, ScooterOptions scooterOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a scooter route from one point to another, passing through the given waypoints in the given order.
-
calculateTaxiRoute(
List< Waypoint> waypoints, TaxiOptions taxiOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a taxi route from one point to another, passing through the given waypoints in the given order.
-
calculateTruckRoute(
List< Waypoint> waypoints, TruckOptions truckOptions, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a truck route from one point to another, passing through the given waypoints in the given order.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
returnToRouteWithTraveledDistance(
Route route, Waypoint startingPoint, int lastTraveledSectionIndex, int traveledDistanceOnLastSectionInMeters, CalculateRouteCallback callback) → TaskHandle - Asynchronously calculates a new route that leads back to the original route.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited