Public Transport Maneuvers
Public Transport Routing extends maneuvers available in
pedestrian mode with following actions:
enter: maneuver to enter a transit station
leave: maneuver to either depart the transit station or change public transport lines
change: maneuver to change public transport lines, only provided if the
combineChangeparameter value is set to
true, if not then
leavepairs are used instead
Maneuver Logic and Ordering
Public transport routes include both pedestrian and public transit segments, using maneuvers for each as follows:
departmaneuver starts the route in pedestrian mode.
- Pedestrian maneuvers follow until the first Public Transport section.
entermaneuver starts the public transport section of the route.
- Optionally, either
leavemaneuver pairs follow to indicate transit line changes.
leavemaneuver ends the public transport section of the route.
continuemaneuver begins a segment in pedestrian mode.
- Optionally, additional public transport and pedestrian segments follow.
arrivemaneuver ends the route.