CarSpeedLimitRenderer

constructor(mapboxCarContext: MapboxCarContext)

Public constructor and the internal constructor is for unit testing.


constructor(speedLimitOptions: StateFlow<SpeedLimitOptions> = MutableStateFlow(SpeedLimitOptions.Builder().build()))

Creates a speed limit renderer for an app that does not use MapboxCarContext.

Parameters

speedLimitOptions

options of the speed limit sign, changes are applied immediately.