I am terminating a system in PHP, where the client asked if he has how to generate a route between companies, and generate the shortest one, for example, he has 50 companies registered in the database, with address and everything else, he I wanted to select 10 of these companies to make deliveries, which he asked me was: I can select the 10 companies, and the system redeems the addresses, and it (with the help of the google API) calculate the shortest route among those 10 points? I answered "good question" haha.
I'm not kidding, I've never worked with the Google Maps API, does anyone have any tips, or help? And the question you do not want to shut up, do you have to pass these 10 addresses in the XML client (or other type) example to Google Maps calculate the shortest route and show me this route?
Thanks to everyone, as the saying goes, do not offend!