updateRouteLine

open override fun updateRouteLine(progress: Double)

Updates the progress of a displayed route line.

This visually distinguishes the "traveled" and "remaining" parts of the route based on the progress value.

Prerequisites:

  • The corresponding route line must already be on the map.

  • progress must be a value between 0.0 and 1.0, inclusive.

Parameters

progress

The progress ratio (from 0.0 to 1.0).

See also