MapboxRouteCalloutView
class MapboxRouteCalloutView(mapView: MapView, options: MapboxRouteCalloutViewOptions = MapboxRouteCalloutViewOptions.Builder().build())
Content copied to clipboard
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
fun MapboxRouteCalloutView(mapView: MapView, options: MapboxRouteCalloutViewOptions = MapboxRouteCalloutViewOptions.Builder().build())
Content copied to clipboard
Functions
Link copied to clipboard
Renders an RouteCalloutResult
Link copied to clipboard
Link copied to clipboard
fun updateRouteCalloutViewOptions(options: MapboxRouteCalloutViewOptions)
Content copied to clipboard
Updates options determining the appearance of the route callouts