travelMode
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. You can choose Car
, Truck
, Walking
, Bicycle
or Motorcycle
as options for the TravelMode
.
Bicycle
and Motorcycle
are only valid when using Grab as a data provider, and only within Southeast Asia.
Truck
is not available for Grab.
For more details on the using Grab for routing, including areas of coverage, see GrabMaps in the Amazon Location Service Developer Guide.
The TravelMode
you specify also determines how you specify route preferences:
If traveling by
Car
use theCarModeOptions
parameter.If traveling by
Truck
use theTruckModeOptions
parameter.
Default Value: Car