I am using HERE Developer API key. I want to calculate the road distance between 2 lats & longs. Can anybody help me on this with PHP code.
Asked
Active
Viewed 78 times
0
-
add the codes you have tried so it can help to know exact error – Aryan Sep 28 '20 at 09:55
1 Answers
0
When using the Routing API, if you ask for summary or travelSummary in the result, you get a length
result which is in meter. For example:
"travelSummary": {
"duration": 20973,
"length": 619962,
"baseDuration": 20316
},

Raymond Camden
- 10,661
- 3
- 34
- 68