// GraphHopper Directions API documentation
// https://github.com/graphhopper/directions-api/blob/master/docs-routing.md
return $.ajax({
// GraphHopper Directions API documentation
// https://github.com/graphhopper/directions-api/blob/master/docs-routing.md
return $.ajax({
var len = path.instructions.length;
for (var i = 0; i < len; i++) {
var instr = path.instructions[i];
var len = path.instructions.length;
for (var i = 0; i < len; i++) {
var instr = path.instructions[i];