Mapbox Route Arrow View
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
options
the options used for determining the rendering appearance and/or behavior.
Constructors
MapboxRouteArrowView
Link copied to clipboard
the options used for determining the rendering appearance and/or behavior.
Functions
getVisibility
Link copied to clipboard
render
Link copied to clipboard
fun render(style: Style, expectedValue: Expected<InvalidPointError, ArrowAddedValue>)
Content copied to clipboard
renderManeuverUpdate
Link copied to clipboard
fun renderManeuverUpdate(style: Style, expectedValue: Expected<InvalidPointError, UpdateManeuverArrowValue>)
Content copied to clipboard