I am able to find route between two points using cloud mode & leaflet using this. CloudMade Routing with Leaflet: route is not displayed But I also want to find distance & time taken to travel from first point to last point.
1 Answer
Looking at an example of route : http://routes.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9/api/0.3/47.25976,9.58423,47.26117,9.59882/car/shortest.js
You can adapt the function given on the post CloudMade Routing with Leaflet: route is not displayed to retrieve response.route_summary : there you will find total_distance and total_time.