On Apr 27, 7:33 am, jpindi <[email protected]> wrote: > Hi Gang - I've got a pretty swell map that's on it's way, except for > one thing that's not working. I've got a series of markers which have > an image that swaps out when you mouse over them (basically it looks > like it changes colour). However, the image swap doesn't work for all > of these xml and php generated images. If you mouse over any of them, > only the last marker to appear swaps out.
Sounds like pitfall #3 on this page of Mike Williams' tutorial: Part 1 Markers with info windows http://econym.org.uk/gmap/basic1.htm and it is... For further study, see this page on function closure: Part 3 Function Closure http://econym.org.uk/gmap/closure.htm -- Larry > > I think there is some value that I am not passing along to each > marker. Each marker has an ID number which is random, and is unique > enough that can be used but I am not sure how to link it up with the > listener event. It is at about line 100: > > var idmarker = (markers[i].getAttribute("id")); > > Anyway, you'll see what I mean if you go to this page, and start > mousing over all the markers. > > http://www.studio401.ca/index2.php > > Thanks in advance for any help. > > -- > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
