Google Maps API is not a good tool for optimizing delivery routes, particularly ones with multiple stops to be visited in an optimal order. If you've got more than five or six stops to consider, it's likely to be rather slow. I suggest looking elsewhere for a more appropriate tool.
If you must use Google Maps API, then consider doing the bulk of the calculations with straight line distances, producing a small number of candidate routes, and then checking the durations of those candidate routes with GDirections, using .loadFromWaypoints(). -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
