RouteFeature

data class RouteFeature(val type: FeatureType, val quantity: Int? = null)

Represents a feature or attribute of a route (e.g., traffic, tolls, accidents, road conditions)

Parameters

type

The type of feature, determining its icon, color, and priority

quantity

Optional count for countable features (e.g., number of accidents)

Constructors

Link copied to clipboard
constructor(type: FeatureType, quantity: Int? = null)

Properties

Link copied to clipboard
val quantity: Int? = null
Link copied to clipboard