Enum VehicleType
- Namespace
- GoogleMapsApi.Entities.Directions.Response
- Assembly
- GoogleMapsApi.dll
public enum VehicleType
Fields
BUS = 9Bus.
CABLE_CAR = 14A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the type GONDOLA_LIFT.
COMMUTER_TRAIN = 7Commuter rail.
FERRY = 13Ferry.
FUNICULAR = 16A vehicle that is pulled up a steep incline by a cable. A Funicular typically consists of two cars, with each car acting as a counterweight for the other.
GONDOLA_LIFT = 15An aerial cable car.
HEAVY_RAIL = 6Heavy rail.
HIGH_SPEED_TRAIN = 8High speed train.
INTERCITY_BUS = 10Intercity bus.
LONG_DISTANCE_TRAIN = 17Not by google documented vehicle type. But returned by e.g. following directions API call: https://maps.googleapis.com/maps/api/directions/json?&mode=transit&origin=zurich+airport&destination=brig&departure_time=1534606200
METRO_RAIL = 2Light rail transit.
MONORAIL = 5Monorail.
OTHER = 0All other vehicles will return this type.
RAIL = 1Rail.
SHARE_TAXI = 12Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route.
SUBWAY = 3Underground light rail.
TRAM = 4Above ground light rail.
TROLLEYBUS = 11Trolleybus.