Something like this was in my mind when I stumbled upon this problem...but i have no idea how to solve it. I thought the "marker"-variable and its corresponding event are just declared in the scope of the while loop, so that each time the while loop is entered the old variable (value) is not valid anymore ?!? I've read the posting guidelines before I posted this, but my problem is that i'm currently developing on localhost and can't deploy my code elsewhere since i'm making AJAX calls to get the lat/lng-values and I haven't got a real webserver with e.g. cgi right now. I nevertheless can publish a demo version of the problem without ajax later (currently at work) but I thought perhaps this small code snippet which contains the "bug" would be enough...
On 8 Jun., 01:38, "[email protected]" <[email protected]> wrote: > On Jun 7, 3:01 pm, Rossko <[email protected]> wrote: > > > > The problem is that the window appears everytime on the last marker > > > that was set to the map..even when the user clicks on some other marker > > > See > > http://econym.org.uk/gmap/basic1.htm > > Pitfall number three. > > If that doesn't help, read and follow the posting guidelines and post > a link to your map that shows the problem. > > http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > > http://groups.google.com/group/Google-Maps-API/web/why-including-a-li... > > -- 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 -~----------~----~----~----~------~----~------~--~---
