updateTraveledRouteLine

fun updateTraveledRouteLine(point: Point): Expected<RouteLineError, RouteLineUpdateValue>

Indicates the point the route line should change from its default color to the vanishing color behind the puck. Calling this method has no effect if the vanishing route line feature was not enabled in the MapboxRouteLineOptions.

Return

a value representing the updates to the route line's appearance or an error.

Parameters

point

representing the current position of the puck