Table of Contents

Enum VehicleType

Namespace
GoogleMapsApi.Entities.Directions.Response
Assembly
GoogleMapsApi.dll
public enum VehicleType

Fields

BUS = 9

Bus.

CABLE_CAR = 14

A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the type GONDOLA_LIFT.

COMMUTER_TRAIN = 7

Commuter rail.

FERRY = 13

Ferry.

FUNICULAR = 16

A 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 = 15

An aerial cable car.

HEAVY_RAIL = 6

Heavy rail.

HIGH_SPEED_TRAIN = 8

High speed train.

INTERCITY_BUS = 10

Intercity bus.

LONG_DISTANCE_TRAIN = 17

Not 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 = 2

Light rail transit.

MONORAIL = 5

Monorail.

OTHER = 0

All other vehicles will return this type.

RAIL = 1

Rail.

SHARE_TAXI = 12

Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route.

SUBWAY = 3

Underground light rail.

TRAM = 4

Above ground light rail.

TROLLEYBUS = 11

Trolleybus.