MapRouteColor

An enum class that defines the colors for the driving route line.

Each constant determines the color of the route line displayed on the map.

Entries

Link copied to clipboard

A dynamic color based on real-time traffic conditions. (Currently displayed as sky blue).

Link copied to clipboard

Represents a red route line.

Link copied to clipboard

Represents an orange route line.

Link copied to clipboard

Represents an yellow route line.

Link copied to clipboard

Represents an green route line.

Link copied to clipboard

Represents an blue route line.

Link copied to clipboard

Represents an indigo route line.

Link copied to clipboard

Represents an grey route line.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val entries: EnumEntries<MapRouteColor>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val hexColor: String

The hex color code to be applied to the route line.

Link copied to clipboard
val idx: Int

An internal index value used for configuration.

Functions

Link copied to clipboard
fun valueOf(value: String): MapRouteColor

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<MapRouteColor>

Returns an array containing the constants of this enum type, in the order they're declared.