@PublicPreview("2021.08") abstract fun showTrafficOnRoute(routeId: Long, trafficStyle: MutableMap<RouteLayerStyle!, MutableList<TrafficData!>!>!): Unit
Draw the traffic on the route.
routeId
- Long: The id of the map's route.
trafficStyle
- MutableMap<RouteLayerStyle!, MutableList<TrafficData!>!>!: Map of RouteTrafficStyle as the key and array with TrafficData as values.