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 is for low traffic score, yellow is for middle traffic score, red is for high traffic score. The appearance of the control changes, depending on its state (see details in TrafficControlStatus).
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 is for low traffic score, yellow is for middle traffic score, red is for high traffic score. The appearance of the control changes, depending on its state (see details in TrafficControlStatus).