Wasn't it molistok who wrote: >Therfore, if I create the GDirections object in the loop is possible >that the listener work in the loop?
Yes, as long as you don't have more than about 5 loop iterations. After that you start getting 620 errors because you'd be breaking the gdirections speed limit. If you have more than that you have to stop using a tight loop and use timeout events to control the processing. You might need possibly to have your loop call a function that does all the hard work and holds Function Closure on any variables that you use to keep track of which reply goes with which request. Also, do check whether your proposed use conforms to 10.12 of the Terms. -- 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.
