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