Enum TransitOption
Specifies a preferred mode of transit.
Namespace:GoogleMaps.Directions
Assembly:GoogleMaps.dll
Syntax
public enum TransitOption
Fields
Name | Description |
---|---|
BUS | Indicates that the calculated route should prefer travel by bus. |
RAIL | Indicates that the calculated route should prefer travel by train, tram, light rail, and subway. |
SUBWAY | Indicates that the calculated route should prefer travel by subway. |
TRAIN | Indicates that the calculated route should prefer travel by train. |
TRAM | Indicates that the calculated route should prefer travel by tram and light rail. |