MapboxRouteArrowView

constructor(options: RouteArrowOptions)

Parameters

options

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.