Time, distance and geometry information per 'leg'

5 years ago we wrote about this topic. Now 2 weeks ago @easbar has implemented a much easier method for this. Specify leg_distance and/or leg_time as path_details and you’ll get the indices for the points array of the via points.

For more details about this read about it here.