Try using setTimeout instead of setInterval. setTimeout triggers once, 
but setInterval triggers every 200 milliseconds until you call 
cancelInterval on its handle.

If any of those repeat calls fail with the same error, then they spawn 
additional setIntervals. Once you've got a few such interval chains 
running, between them they make directions requests so fast that they 
all fail with 620, and things spiral out of control.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to