LegType enum

Defines values for LegType. Possible values include: 'Walk', 'Bicycle', 'Tram', 'Subway', 'Rail', 'Bus', 'Ferry', 'Cable', 'Gondola', 'Funicular', 'PathWayWalk', 'Wait', 'WaitOnVehicle'

Fields

Bicycle

Bicycle

Bus

Bus

Cable

Cable Car

Ferry

Ferry

Funicular

Funicular

Gondola

Gondola

PathWayWalk

A Leg describing a walk within a compound, e.g. Central Station

Rail

Rail

Subway

Subway

Tram

Tram

Wait

A Leg describing a wait for the next public transit leg

WaitOnVehicle

It’s necessary to wait for the next leg on the same vehicle (i.e. the bus will only change its line number)

Walk

Pedestrian walk