renderLegOverview
Draws legTime
, legDistanceand
estimatedTimeToArrival` based on the RouteLeg passed to the API.
Parameters
legIndex
index of the RouteLeg for which to display the trip overview
result
a TripOverviewValue containing the data that should be rendered.