The primary mode of transportation for route calculation.
It determines the road type preferences, speed calculations and routing rules of the calculated route. Currently, only 'car' is supported.
'car'
Future versions may support additional modes such as truck, taxi, bus, bicycle and pedestrian.
const travelMode: TravelMode = 'car'; Copy
const travelMode: TravelMode = 'car';
The primary mode of transportation for route calculation.
It determines the road type preferences, speed calculations and routing rules of the calculated route. Currently, only
'car'is supported.