Answer the question
In order to leave comments, you need to log in
Google Maps - How to calculate the distance of more than 10 points?
Good morning!
Faced a problem.
It is required to calculate the distance between 10+ points on the google map.
Google only allows you to use a route with ten points.
For the route, I calculate from the starting point (specified separately), the farthest one by the traveling salesman algorithm.
Between the starting and ending points, there are eight more.
We send an array of coordinates to the map, in response we get detailed information, including distances from point to point.
After several manipulations, we have a ready route with a description of the distance, time spent, turns, addresses, etc.
Everything seems to be simple.
But I need to get distances between points, which can be up to 50 pieces.
What to do in this situation?
Display the map N-th number of times and calculate 10 points, or is there some other way?
PS
With APIkey 23 dots can be used.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question