clearRouteLine

Clears the route line data.

This method will execute tasks on a background thread. There is a cancel method which will cancel the background tasks.

Return

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

Parameters

consumer

a callback to consume the result