class MapboxRoadNameLabelApi

The API allows you to generate data to be rendered as a part of road name labels.


Link copied to clipboard
fun MapboxRoadNameLabelApi()


Link copied to clipboard
fun getRoadNameLabel(road: Road): RoadLabel

The method takes in Road and uses the model to extract the road name, shield name and request the route shield based on the Road.shieldUrl.