RoadComponent

class RoadComponent

Object that holds road components

Functions

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

Indicates whether some other object is "equal to" this one.

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

Returns a hash code value for the object.

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

Returns a string representation of the object.

Properties

Link copied to clipboard
val imageBaseUrl: String? = null

url for the route shield if available otherwise null

Link copied to clipboard
val language: String

2 letters language code or "Unspecified" or empty string

Link copied to clipboard
val shield: MapboxShield? = null

mapbox designed shield if available otherwise null

Link copied to clipboard
val text: String

contains the current road name user is on, based on the language available.