getTrafficVisibility

fun getTrafficVisibility(style: Style): Visibility?

Returns the visibility of the primary route map traffic layer.

Return

the visibility value returned by the map for the primary route line.

Parameters

style

an instance of the Style