LaneIndicator

"sub": { "components": [ { "active_direction": "left", "active": true, "directions": "left" , "type": "lane", "text": "" }, { "active": false, "directions": "left" , "type": "lane", "text": "" } ], "text": "" }

A simplified data structure containing BannerComponents.active and list of BannerComponents.directions.

Types

Link copied to clipboard
class Builder

Build a new LaneIndicator

Properties

Link copied to clipboard
val activeDirection: String? = null

String shows which of the lane's directions is applicable to the current route, when there is more than one. Only available for mapbox/driving profile. For other profiles the activeDirection falls back to BannerText.modifier

Link copied to clipboard

List informs about all the possible directions a particular lane can take.

Link copied to clipboard

String indicates the driving side. The value is obtained from BannerText.drivingSide. However, if null the value determination falls back to LegStep.drivingSide

Link copied to clipboard

Boolean indicates if that lane can be used to complete the upcoming maneuver.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.