TrafficControl
Traffic control. It is a button that, when pressed, switches the visibility of traffic jams on the map. On the control, a traffic score is displayed as text, which also affects the color: green - low traffic, yellow - medium, red - high. Depending on the state, the appearance of the control changes, see TrafficControlStatus for details.
Extends:
ru.dgis.sdk.map.MapControl
TrafficControl(
context: Context,
attrs: AttributeSet? = null,
defStyle: Int = 0
)
Traffic control. It is a button that, when pressed, switches the visibility of traffic jams on the map. On the control, a traffic score is displayed as text, which also affects the color: green - low traffic, yellow - medium, red - high. Depending on the state, the appearance of the control changes, see TrafficControlStatus for details.
Parameters
Methods