Thanks in advance.
How can I get the details in ghresponse?
I can’t get some key information, such as the latitude and longitude set in the path information
The data obtained by my front end is as follows
"all": [{
"ascend": 0.0,
"debugInfo": ", algoInit:0.007088s, dijkstrabi|ch-routing:0.0051646s, extract time:4.199E-4;visited nodes sum: 10;, algoInit:0.007088s, dijkstrabi|ch-routing:0.0051646s, extract time:4.199E-4;visited nodes sum: 10, simplify (5->5)",
"descend": 0.0,
"description": [],
"distance": 11.167965813996974,
"errors": [],
"impossible": false,
"instructions": [{
"annotation": {
"empty": true,
"importance": 0,
"message": ""
},
"distance": 1.5499658139969745,
"extraInfoJSON": {
"heading": 0.0
},
"length": 1,
"name": "",
"points": {
"dimension": 2,
"empty": false,
"immutable": false,
"size": 1
},
"sign": 0,
"time": 309
}, {
"annotation": {
"empty": true,
"importance": 0,
"message": ""
},
"distance": 4.047,
"extraInfoJSON": {},
"length": 1,
"name": "",
"points": {
"dimension": 2,
"empty": false,
"immutable": false,
"size": 1
},
"sign": 2,
"time": 809
}, {
"annotation": {
"empty": true,
"importance": 0,
"message": ""
},
"distance": 5.571,
"extraInfoJSON": {},
"length": 1,
"name": "",
"points": {
"dimension": 2,
"empty": false,
"immutable": true,
"size": 1
},
"sign": -2,
"time": 1114
}, {
"annotation": {
"empty": true,
"importance": 0,
"message": ""
},
"distance": 0.0,
"extraInfoJSON": {
"last_heading": 0.0
},
"length": 0,
"name": "",
"points": {
"dimension": 2,
"empty": false,
"immutable": false,
"size": 1
},
"sign": 4,
"time": 0
}],
"legs": [],
"numChanges": 0,
"pathDetails": {},
"points": {
"dimension": 2,
"empty": false,
"immutable": true,
"size": 4
},
"pointsOrder": [],
"routeWeight": 2.842754934471957,
"time": 2232,
"waypoints": {
"dimension": 3,
"empty": false,
"immutable": false,
"size": 2
}
}],
"best": {
"$ref": "$.all[0]"
},
"debugInfo": "idLookup:0.015722s; tmode:NODE_BASED; , algoInit:0.007088s, dijkstrabi|ch-routing:0.0051646s, extract time:4.199E-4;visited nodes sum: 10;, algoInit:0.007088s, dijkstrabi|ch-routing:0.0051646s, extract time:4.199E-4;visited nodes sum: 10, simplify (5->5)",
"errors": [],
"hints": {
"empty": false
}
}