Package com.mapbox.navigation.ui.maps.route.callout.api

Types

Link copied to clipboard
class MapboxRouteCalloutApi(apiOptions: MapboxRouteCalloutApiOptions = MapboxRouteCalloutApiOptions.Builder().build())

Responsible for generating route line annotation data which can be rendered on the map to visualize a callout representing the duration of the route (total ETA or relative diff with the primary route). The callout is calculated based on the routes and the data returned should be rendered on the map using the MapboxRouteCalloutView class. Generally this class should be called once new route (or set of routes) is available

Link copied to clipboard
class MapboxRouteCalloutView(mapView: MapView)

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