displaySoftGradientForTraffic
fun displaySoftGradientForTraffic(enable: Boolean): MapboxRouteLineOptions.Builder
Content copied to clipboard
Influences the appearance of the gradient used for the traffic line. By default there is an abrupt transition between different colors representing traffic congestion. If this value is set to true there is a smoother transition between the colors. This value is false by default.
Return
the builder