renderTripOverview

fun renderTripOverview(result: Expected<TripOverviewError, TripOverviewValue>)

Draws totalTime, totalDistanceand totalEstimatedTimeToArrival` based on the total time of the route (including all upcoming legs).

Parameters

result

a TripOverviewValue containing the data that should be rendered.