TrafficLine

open override fun TrafficLine(viewModel: TrafficLineViewModel, height: Dp, objectsPosition: TrafficLineObjectsPosition)

Renders the traffic line component showing traffic conditions and route objects along the route.

Parameters

viewModel

ViewModel managing traffic line state

height

Height of the traffic line visualization

objectsPosition

Position of traffic objects (left or right of the line)