showRoadRestrictions
fun showRoadRestrictions(roadRestrictions: Boolean = true, roadRestrictionsPOI: Boolean = true, profile: Profile? = null)
Show or hide display of the road restrictions.
Since
v2.8.0 Renamed parameter show to roadRestrictions, added roadRestrictionsPOI and profile parameters.
Parameters
roadRestrictions
display road restrictions.
roadRestrictionsPOI
display POI of restrictions (needs roadRestrictions parameter to be enabled).
profile
vehicle profile to show road restriction on map or null to hide them.