Hello,

Im using Ajax.PeriodicalUpdater of prototype to load a script that
loads markers on my map. the markers information are loaded from
database so I have a php script to load them from database and a do/
while function to repeat the information. so I name each marker with
an unique id (marker$i++) In order to periodically refresh the markers
I use map.removeOverlay(marker$i++); and reset the function again. but
when I use map.removeOverlay(marker$i++); I get the error message that
marker+$i++ is undefined.

Any idea on how to fix this?

--~--~---------~--~----~------------~-------~--~----~
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