all my markers are shown from the loop and every marker gets a
listener, but only the last marker in the loop shows the infowindow. --
>click on the first or second marker only shows the infowindow from
last marker on the position of the last marker.

for.........{
......................
         var marker = new GMarker(latlng);
         map.addOverlay(marker);
         GEvent.addListener(marker, "click", function(overlay, latlng2)
{
            marker.openInfoWindow (nodex.node.name);
         });

}

all values (latlng or nodex.node.name) are different.

i wanted to have a infowindow on every marker?!?

thank you

andi



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