Magidoc

step
Object

Fields

#

absoluteDirection

The cardinal (compass) direction (e.g. north, northeast) taken when engaging this step.

alerts

[ Alert ]

A list of alerts (e.g. construction, detours) applicable to the step.

area

This step is on an open area, such as a plaza or train platform, and thus the directions should say something like "cross".

bogusName

The name of this street was generated by the system, so we should only display it once, and generally just display right/left directions

distance

The distance in meters that this step takes.

elevationProfile

The elevation profile as a list of { distance, elevation } values.

exit

When exiting a highway or traffic circle, the exit name/number.

feature

Information about an feature associated with a step e.g. an station entrance or exit

lat

The latitude of the start of the step.

lon

The longitude of the start of the step.

relativeDirection

The relative direction (e.g. left or right turn) to take when engaging this step.

stayOn

Indicates whether or not a street changes direction at an intersection.

streetName

The name of the street, road, or path taken for this step.

walkingBike

Is this step walking with a bike?

Usages

#

References

#

  • Field steps from Leg