Companion
object Companion
Functions
Link copied to clipboard
fun create(routeLineApi: MapboxRouteLineApi, routeLineView: MapboxRouteLineView): RouteCalloutUiStateProvider
Create RouteCalloutUiStateData for the specified route line components. Note: it is important that you pass MapboxRouteLineApi and MapboxRouteLineView which will be used to draw routes you want to attach your DVAs to. In case you have multiple map instances, multiple instances of RouteCalloutUiStateProvider must be created (one per each Map (and per each MapboxRouteLineView)).