clearRouteLine

suspend fun MapboxRouteLineApi.clearRouteLine(): Expected<RouteLineError, RouteLineClearValue>

Clears the route line data.

Return

a state representing the side effects to be rendered on the map. In this case the map should appear without any route lines.