Hey , I have been using this page for a long time and have never really had any problems with it.
http://www.chennaiemergency.co.in/search_page.php It basically takes the users current location (user needs to click on map) and then it searches for emergency service providers in the users locality . It takes out a bunch of points from a database and then calculates the distance to all of them before finding out which is the shortest . So at times there are from 51 to 500 requests that are sent from GDirections one after the other . I figured out the asynchronous bit so thats not a problem . Well the problem is that all this was working dandy till yesterday when suddenly GDirections is not firing the Event listener all the time. So I added a 2 second retry function to retry is nothing has been returned after 2 seconds and it sometimes works and sometimes there is just nothing . Is there some problem with the latest version ? any workarounds ? http://www.chennaiemergency.co.in/search_page.php page with retry http://www.chennaiemergency.co.in/index.php?option=com_content&view=category&layout=blog&id=4&Itemid=4 Page without retry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
