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

Walk

Pedestrian walk

Cable

Cable Car

Ferry

Ferry

Funicular

Funicular

Gondola

Gondola

Bus

Bus

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)

PathWayWalk

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