> How to check whether a marker is allready placed and if it is, skip
> placing a new one?

Keep your own record of where you've put markers, and compare.  An
array perhaps.
An alternative is to destroy all existing markers regardless, before
placing new ones.

> Or is there a better way as  using setInterval ?

The usual way is not to use setinterval at all.  Only fetch new
markers when the map is panned or zoomed.  The GMap" object provides
useful events for that.  You could make your update event-driven.

cheers, Ross K.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to