I\'ve got a page that retrieves a bunch of locations and some data about their associated markers and puts them on a Google Maps map. Each one is supposed to pop up its own litt
I had this once, too. It is a scoping issue. I had to change my structure a little bit but maybe in your case changing the callback could already help:
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(pins[i].getElementsByTagName("message")[0].childNodes[0].nodeValue;);
});