roadName

fun ComponentInstaller.roadName(    mapView: MapView,     roadNameView: MapboxRoadNameView,     config: RoadNameConfig.() -> Unit = {}): Installation

Install component that updates MapboxRoadNameView with a road name that matches current device location.

The installed component registers itself as a LocationObserver and updates the label only if road name information is available.