Banner View
@Serializable
Includes both plain text information that can be visualized inside your navigation application along with the text string broken down into BannerComponents which may or may not include a image url. To receive this information, your request must have MapboxDirections.Builder#bannerInstructions() set to true.
Since
5.0.0
Constructors
Link copied to clipboard
constructor(text: String, components: List<BannerComponents>? = null, type: StepManeuver.Type? = null, modifier: ManeuverModifier.Type? = null)
Types
Properties
Link copied to clipboard
A part or element of the BannerInstructions.
Link copied to clipboard
This indicates the mode of the maneuver. If type is of turn, the modifier indicates the change in direction accomplished through the turn. If the type is of depart/arrive, the modifier indicates the position of waypoint from the current direction of travel.
Link copied to clipboard
Plain text with all the BannerComponents text combined.
Link copied to clipboard
This indicates the type of maneuver.