Fri, 03/08/2019 - 04:39
#1
Getting time and distance for each leg
Hello everyone , new to mapquest!
Using https://developer.mapquest.com/documentation/mapquest-js/v1.3/examples/directions-with-optimized-waypoints/ , is there a way I can display the duration and distance for each leg ?
Thank you in advance!
Thank you for your reply !
How can I add this info to the map ? is there an easy way to do this?
What I want is labels on each leg , with distance time like in this example ( for alternate routes) https://developer.mapquest.com/documentation/mapquest-js/v1.3/examples/d... , but without the directionsControl.
Thank you
Just wanted to clarify since you mentioned narrative control . I need label per route leg like this : https://i.imgur.com/JHaVRl2.png .
Thanks again! I really appeciate your effort