Hi guy's, I'm incredibly new to Google Maps API, and Javascript for that matter so treat me gently!
I've been working on a prototype application, ultimately to be incorporated into something more meaningful. I am taking a MySQL database populated with employee names and their home locations. These locations are stored as both coords and normal addresses. I use the coords to plot their locations on the map and their addresses to calculate the driving distances between them. Now here is my problem. In any given scenario there will be up to 11 employee locations needing to have their driving distances to every other location calculated. Now if there are 11 locations (worst case scenario), then I calculate (hopefully correctly) that there will be 55 separate driving distances to be found. My problem occurs when I try and achieve this, I am assuming that there is a limit to how many requests you can make in a certain time, because I only receive around 10-15 results back? If this is the case then I ask how can I slow down the process? Here is a link to the page I am referring to: http://phillipshost.co.uk/test/mapwithdistances.php The page is generated dynamically from the database using php which is why some of the script may look slightly informal. I haven't had chance to format it correctly yet. So I'm either looking for help on what I've implemented incorrectly, or how to slow down the fetching process so I don't request too much from the servers at once. I would also like to know if it is possible to use php to retrieve these driving distances? And if not can I use javascript to write my results to a txt file? Thanks for any help you could provide, it would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
