Skip to main content

RouteStep

type RouteStep = object;

A maneuver and the road up to the next one, in steps of RouteLeg.

Properties​

PropertyTypeDescription
distancenumberMeters.
expectedTravelTimenumberSeconds.
instructionstringE.g. "Turn right onto Market Street".
maneuverModifierstringMapbox Directions maneuver modifier, e.g. "right". Empty if none.
maneuverTypestringMapbox Directions maneuver type, e.g. "turn", "arrive".
namestringName of the road the step is on. Empty if unnamed.