Banner Components
A part of the BannerText which includes a snippet of the full banner text instruction. In cases where data is available, an image url will be provided to visually include a road shield. To receive this information, your request must have MapboxDirections.Builder#bannerInstructions() set to true.
Since
3.0.0
Constructors
Types
Properties
The abbreviated form of text.
An integer indicating the order in which the abbreviation abbr should be used in place of text. The highest priority is 0 and a higher integer value indicates a lower priority. There are no gaps in integer values.
A List of directions indicating which way you can go from a lane (left, right, or straight). If the value is 'left', 'straight', the driver can go straight or left from that lane. Present if this is a lane component.
In some cases when the LegStep is a highway or major roadway, there might be a shield icon that's included to better identify to your user to roadway. Note that this doesn't return the image itself but rather the url which can be used to download the file.
In some cases when the StepManeuver will be difficult to navigate, an image can describe how to proceed. The domain name for this image is a Junction View. Unlike the imageBaseUrl, this image url does not include image density encodings.
String giving you more context about Type which may help in visual markup/display choices.
A snippet of the full BannerText.text which can be used for visually altering parts of the full string.
String giving you more context about the component which may help in visual markup/display choices. If the type of the components is unknown it should be treated as text.