On Nov 23, 6:46 am, rugus <[email protected]> wrote: > Hy everyone, > > I do not include a map url because I really don't know how I could do > that (yet), considering my question. I hope I'll be clear enough. > > Does Google provide any API/code/whatever to let you calculate the > driving distance between 1...999 locations to a single destination?
The Google Map API provides a GDirections class which allows you to calculate driving distances. > I've got 100 locations stored in a database (name, longitude, > latitude) and I'd like to cycle them to get the driving distance from > a specific destination (longitude, latitude). Geographical distance > (no google maps) wont work, because it does not consider mountains, > rivers, lakes, etc on my A-to-B route. Is this a one time thing, or is the "specific destination" entered by or dependent on the user? > > Is there a way to ask google maps to cycle them, reading a csv/xml/txt > file with starting locations? No. But you could write code to do that, if you are going to be displaying the results on a Google Map API based map. Be sure to review the Terms of Use to ensure your use is legal. -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=.
