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


Link copied to clipboard
class MapboxRouteArrowApi

Responsible for displaying a maneuver arrow representing the next maneuver. The maneuver arrow is calculated based on the route progress and the data returned should be rendered on the map using the MapboxRouteArrowView class. Generally this class should be called on each route progress update in order to ensure the arrow displayed is kept consistent with the state of navigation.

Link copied to clipboard
class MapboxRouteArrowView(options: RouteArrowOptions)

Responsible for rendering state data generated by the MapboxRouteArrowApi class. The state data will alter the appearance of the maneuver arrow(s) on the map.