Home > @magiclane/maps-sdk > RouteType
RouteType enum
Route type
Used to specify the type of route to be calculated. Influences the optimization criteria for the route calculation.
Routing
Signature:
export declare enum RouteType Enumeration Members
Member | Value | Description |
|---|---|---|
economic |
| Economical, as fuel consumption, route between the given waypoints |
fastest |
| Fastest route between the given waypoints |
scenic |
| Fastest route, with best scenic view, between the given waypoints |
shortest |
| Shortest route between the given waypoints |