updateInstruction

open override fun updateInstruction(instructions: List<MapRouteOptions.Instruction>)

Updates the guidance instructions (e.g., arrows) for a specific route.

Prerequisite:

  • A route line must already be added to the map.

Parameters

instructions

The list of guidance instructions.