Enum Vehicle.Types.TravelMode
Travel modes which can be used by vehicles.
These should be a subset of the Google Maps Platform Routes API travel modes, see: https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteTravelMode
Note: WALKING routes are in beta and might sometimes be missing clear
sidewalks or pedestrian paths. You must display this warning to the user
for all walking routes that you display in your app.
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public enum Vehicle.Types.TravelMode
Fields
| Name | Description |
|---|---|
| Driving | Travel mode corresponding to driving directions (car, ...). |
| TwoWheeler | Two-wheeled, motorized vehicle. For example, motorcycle. Note that this differs from the BICYCLING travel mode which covers human-powered mode. This travel mode is supported only in the countries listed at Countries and regions supported for two-wheeled vehicles. |
| Unspecified | Unspecified travel mode, equivalent to |
| Walking | Travel mode corresponding to walking directions. |