MapboxRouteCalloutView

class MapboxRouteCalloutView(mapView: MapView, options: MapboxRouteCalloutViewOptions = MapboxRouteCalloutViewOptions.Builder().build())

Responsible for rendering data generated by the MapboxRouteCalloutApi class. The data will change the appearance/behaviour of the route callout(s) on the map.

Parameters

mapView

the instance of MapView

options

used for determining the appearance of the route callouts

Constructors

Link copied to clipboard
constructor(mapView: MapView, options: MapboxRouteCalloutViewOptions = MapboxRouteCalloutViewOptions.Builder().build())

Functions

Link copied to clipboard
fun renderCallouts(routeCalloutResult: RouteCalloutData)

Renders an RouteCalloutData

Link copied to clipboard
Link copied to clipboard

Updates options determining the appearance of the route callouts