addArrow

fun addArrow(arrow: ManeuverArrow): Expected<InvalidPointError, ArrowAddedValue>

Adds an arrow to the map. An arrow is made up of at least two points. The direction of the arrow head is determined by calculating the bearing between the last two points submitted. Each call will add a new arrow.

Return

an Expected

Parameters

arrow

contains the points for the maneuver arrow that should be added