getPrimaryRouteVisibility

fun getPrimaryRouteVisibility(style: Style): Visibility?

Returns the visibility of the primary route map layer.

Return

the visibility value returned by the map.

Parameters

style

an instance of the Style