Leg Step
Includes one StepManeuver object and travel to the following LegStep.
Since
1.0.0
Constructors
Properties
If in your request you set MapboxDirections.Builder#bannerInstructions() to true, you'll receive a list of BannerInstructions which encompasses all information necessary for creating a visual cue about a given LegStep.
String with the destinations of the way along which the travel proceeds.
The legal driving side at the location for this step. Result will either be left or right.
The typical travel time for traversing this LegStep in seconds. There's a delay along the LegStep if you subtract this durationTypical() value from the LegStep duration() value and the resulting difference is greater than 0. The delay is because of any number of real-world situations (road repair, traffic jam, etc).
Provides a list of all the intersections connected to the current way the user is traveling along.
A StepManeuver object that typically represents the first coordinate making up the LegStep.geometry.
The pronunciation hint of the way name. Will be undefined if no pronunciation is hit.
Any road designations associated with the road or path leading from this step's maneuver to the next step's maneuver. Optionally included, if data is available. If multiple road designations are associated with the road, they are separated by semicolons. A road designation typically consists of an alphabetic network code (identifying the road type or numbering system), a space or hyphen, and a route number. You should not assume that the network code is globally unique: for example, a network code of "NH" may appear on a "National Highway" or "New Hampshire". Moreover, a route number may not even uniquely identify a road within a given network.
An optional string indicating the name of the rotary. This will only be a nonnull when the maneuver type equals rotary.
An optional string indicating the pronunciation of the name of the rotary. This will only be a nonnull when the maneuver type equals rotary.
Speed limit sign type.
Speed limit unit as per the locale.
The voice instructions object is useful for navigation sessions providing well spoken text instructions along with the distance from the maneuver the instructions should be said.