Home > @magiclane/maps-sdk > RoutingService
RoutingService class
Routing service class
Routes & Navigation
Signature:
export declare abstract class RoutingService Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| any | Get network transfer statistics for online route calculations. |
Methods
Method | Modifiers | Description |
|---|---|---|
calculateRoute(waypoints, routePreferences, onCompleteCallback) |
| Calculate a route between the specified waypoints. |
| Cancel the route calculation associated with the specified listener. | |
| Get the available EV car models list. | |
| Get the status for the route monitored by the given task handler. | |
| Check if there is route calculation in progress associated with the specified task handler. | |
| Reset the user road blocks. This will remove all the user road blocks set by the user. | |
| Set a user road block from the provided route instruction. |