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

2

Economical, as fuel consumption, route between the given waypoints

fastest

0

Fastest route between the given waypoints

scenic

3

Fastest route, with best scenic view, between the given waypoints

shortest

1

Shortest route between the given waypoints