Yes, I've got it working with setTimeout but I am concerned about the load of all markers when I've got hundreds of them.
On Aug 10, 1:16 pm, "[email protected]" <[email protected]> wrote: > On Aug 10, 2:44 am, Layla <[email protected]> wrote: > > > Hi, > > I need to display my markers one by one with a short delay (1 second) > > between one marker and the previous marker. > > My markers are in an array. I want the map to be loaded first and by > > clicking a button markers get displayed on the map one after another. > > I've got the button click and markers displaying on the map working > > perfectly. Just want to make this delay between displaying each. > > The reason for progressive display is > > that some of my markers are exactly on the same position (one on top > > of the other) so I want to be able to see them put on the map. Oh, > > and > > I'm using v2 javascript api. > > Thanks for your help > > Sounds like a javascript issue having nothing really to do with the > api. > > Have you investigated the setTimeout and setInterval functions? > > -- Larry -- 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.
