renderTripOverview
fun renderTripOverview(result: Expected<TripOverviewError, TripOverviewValue>)
Content copied to clipboard
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.