Package-level declarations
Types
Link copied to clipboard
class DefaultRouteCalloutAdapter( context: Context, options: DefaultRouteCalloutAdapterOptions = DefaultRouteCalloutAdapterOptions.Builder()
.build(), routeCalloutClickListener: (DefaultRouteCalloutAdapter.CalloutClickData) -> Unit? = null) : MapboxRouteCalloutAdapter
Default implementation of MapboxRouteCalloutAdapter that introduce two types of callout representation:
Link copied to clipboard
Adapters provide a binding from an app-specific data set to callout views that are attached to each route line.
Link copied to clipboard
Responsible for generating route line annotation data which can be rendered on the map to visualize a callout. 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