google.maps.TransitRoutePreference constants
The valid transit route type that can be specified in a TransitOptions. Specify these by value, or by using the constant's name. For example, 'LESS_WALKING' or google.maps.TransitRoutePreference.LESS_WALKING.
Constants
Specifies that the calculated route should prefer a limited number of transfers.
Specifies that the calculated route should prefer limited amounts of walking.