enableCallouts

fun enableCallouts(viewAnnotationManager: ViewAnnotationManager, adapter: MapboxRouteCalloutAdapter)

Set a new adapter and associated viewAnnotationManager to provide route callout views on demand. DefaultRouteCalloutAdapter can be used as a default implementation.

Note that corresponding MapboxRouteLineApiOptions.isRouteCalloutsEnabled should be set to true