render

fun render(style: Style, visibilityChange: ArrowVisibilityChangeValue)

Renders an ArrowVisibilityChangeValue applying view side effects based on the data it contains.

Parameters

style

a valid map style object

visibilityChange

a state containing data for applying the view side effects.

fun render(style: Style, arrowAdded: ArrowAddedValue)

Renders an ArrowAddedValue

Parameters

style

a valid map style object

arrowAdded

a state containing data for applying the view side effects.

fun render(style: Style, expectedValue: Expected<InvalidPointError, ArrowAddedValue>)

Renders the maneuver arrow data

Parameters

style

a valid map style object

expectedValue

a state containing data for applying the view side effects.

fun render(style: Style, state: RemoveArrowValue)

Renders a RemoveArrowValue

Parameters

style

a valid map style object

state

a state containing data for applying the view side effects.

fun render(style: Style, state: ClearArrowsValue)

Renders a ClearArrowsValue

Parameters

style

a valid map style object

state

a state containing data for applying the view side effects.