TrafficOnRouteColors constructor

TrafficOnRouteColors(
  1. Color slow,
  2. Color stationary,
  3. Color blocking
)

Creates a new instance.

  • slow Color used for visualization of the traffic with jam factor in range [4, 8).
  • stationary Color used for visualization of the traffic with jam factor in range [8, 10).
  • blocking Color used for visualization of the traffic with jam factor 10.

Implementation

TrafficOnRouteColors(this.slow, this.stationary, this.blocking);