Enum TravelMode
When you calculate directions, you need to specify which transportation mode to use.
Namespace:GoogleMaps.Directions
Assembly:GoogleMaps.dll
Syntax
public enum TravelMode
Fields
Name | Description |
---|---|
BICYCLING | requests bicycling directions via bicycle paths and preferred streets |
DRIVING | (Default) indicates standard driving directions using the road network. |
TRANSIT | requests directions via public transit routes |
WALKING | requests walking directions via pedestrian paths and sidewalks |