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 | |
|---|---|
FEWER_TRANSFERS |
Specifies that the calculated route should prefer a limited number of transfers. |
LESS_WALKING |
Specifies that the calculated route should prefer limited amounts of walking. |