trafficBackfillRoadClasses

fun trafficBackfillRoadClasses(roadClasses: List<String>): MapboxRouteLineApiOptions.Builder

For map styles that have been configured to substitute the low traffic congestion color for unknown traffic conditions for specified road classes, the same road classes can be specified here to make the same substitution on the route line.

Return

the builder

Parameters

roadClasses

a list of roadClasses