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.
TransitOptions
'BUS'
google.maps.TransitMode.BUS
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.
Generated using TypeDoc
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'
orgoogle.maps.TransitMode.BUS
.