Android Google map will get shortest distance between 5 locations from current location?
I want to find the shortest path / route between several available locations. those. suppose I have five locations A,B,C,D and E
, I want to find the nearest location (using route distance not normal distance) .
I am currently making 5 urls and calling Google Direction API
to get the result and compare. But this is a long and laborious process. Is there any alternative?
I also thought about using the distanceTo()
and methods distanceBetween()
, but I think it doesn't show the distance to the route.
Any suggestions please ....
Thanks
source to share
No one has answered this question yet
See similar questions:
or similar: