Marcelo, Thank you very much for your help so far. I think you are right, calling the XML sheet every 3 seconds is causing the errors. However, I am confused at another part. You mentioned that I shouldn't use the addOverlay() function until I pass the array through a recursive loop, But, I am not using the addOverlay at all. I am also having some trouble figuring out how to call a recursive function every three seconds.
I am still a pretty big JS noob, but I am more than willing to learn. If you could please provide some example code, I think I could figure this out. Thank you for any help you can provide. Joe Hall On Sep 30, 1:22 pm, Marcelo <[email protected]> wrote: > It's not working on Firefox 2 either. > Try following your code mentally, step by step and see whar you're > doing. > > Every 3 seconds you are reloading the same XML file! (Can only hope it > is cached) > > You need to load the XML only once. Then read your markers into a > global array, (don't addOverlay() them). > When all markers are in the array, pass the array to a recursive > function that will shift one marker from the array, addOverlay() it, > and if there are more markers in the array then setTimeout calling the > same function again, until the array is empty. > > -- > Marcelo -http://maps.forum.nu > -- > > On Sep 30, 6:38 pm, Joe <[email protected]> wrote: > > > Hey folks, here is a map that I am currently working on for a client. > > They have requested that the markers load on a phased deployment. > > Therefore you will see that I have used the setTimeout() function to > > load each marker. > > >http://www.jozsoft.com/maps/maps.html > > > This works fine in firefox and IE, but not Chrome Opera or Safari. Can > > anyone see the issue here? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
