MapboxRouteCalloutApi

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

The two principal classes for the route callouts are the MapboxRouteCalloutApi and the MapboxRouteCalloutView.

Like the route line components the MapboxRouteCalloutApi consumes data from the Navigation SDK, specifically the NavigationRoute, and produces data for rendering on the map by the MapboxRouteCalloutView.

Functions

Link copied to clipboard

Sets the routes that will be operated on.