getTrafficVisibility

fun getTrafficVisibility(style: Style): Visibility?

Returns the visibility of the primary route map traffic layer.

Return

the visibility value returned by the map.

Parameters

style

an instance of the Style