google.maps.TransitMode constants
The valid transit mode e.g. bus that can be specified in a TransitOptions. Specify these by value, or by using the constant's name. For example, 'BUS' or google.maps.TransitMode.BUS.
Constants
Specifies bus as a preferred mode of transit.
Specifies rail as a preferred mode of transit.
Specifies subway as a preferred mode of transit.
Specifies train as a preferred mode of transit.
Specifies tram as a preferred mode of transit.