I have an array of lat/lng. Example:
[
"14.60592,103.12081",
"38.21146,114.86461",
"13.73028,100.65138",
"34.08863,108.39783",
"57.186,14.04"
]
How can I calculate the overall distance from A to B and from B to C.
I trying with the Google Distance Matrix API.