When you calculate directions, you need to specify which transportation mode to use. The following travel modes are currently supported:
TravelMode.DRIVING indicates standard
driving directions using the road network.TravelMode.WALKING requests walking
directions via pedestrian paths & sidewalks
(where available).TravelMode.BICYCLING requests bicycling
directions via bicycle paths & preferred streets
(currently only available in the US).