MapboxRouteArrowView
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.
Each Layer added to the map by this class is a persistent layer - it will survive style changes. This means that if the data has not changed, it does not have to be manually redrawn after a style change. See Style.addPersistentStyleLayer.
Parameters
the options used for determining the rendering appearance and/or behavior.
If you're recreating the the MapboxRouteArrowView instance, for example to change the RouteArrowOptions, make sure that your first interaction restores the state and re-applies the options by calling MapboxRouteArrowApi.redraw and passing the result to MapboxRouteArrowView.render.
Constructors
Functions
Returns the maneuver arrow visibility.
Renders the maneuver arrow data
Renders an ArrowAddedValue
Renders an ArrowVisibilityChangeValue applying view side effects based on the data it contains.
Renders a ClearArrowsValue
Renders a RemoveArrowValue
Renders an Expected applying view side effects based on the data it contains.