HI All,

adding a listener for map - infowindowclose does not work:

      GEvent.addListener(map,"infowindowclose", function() {
        document.getElementById
(lastlinkid).style.background="#ffffff";
      });


It returns GEvent is not defined

If I add it directly to a marker, when creating markers, i.e

      GEvent.addListener(marker,"infowindowclose", function() {
        document.getElementById
(lastlinkid).style.background="#ffffff";
      });
.

It works just fine. What is wrong with a listener for GMap2?

Thanks

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