I thought it would be easy after this but things just don't work as I expect them to. I figured that if I would remove the counting part of maximum one marker that I could make it work for more markers (no limit) and that they would be removable just as the single marker would be. However this doesn't work. It might be the marker variable that I'm overwriting when creating a second, third, etc. marker.
Does anybody know how to fix this. PS: Is google planning on fixxing these "bugs"? On Mar 8, 11:22 am, marcelo <[email protected]> wrote: > On Mar 8, 10:59 am, Yorian <[email protected]> wrote: > > > It does help, now it deletes the marker. However after removing the > > marker I can not create a new one. > > You didn't implement what Mike suggested. Your var markers is still > not global, but local to the function initialize(). > > -- > Marcelo -http://maps.forum.nu > -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
