Hi guys. I've figured out how to insert some custom functionality when
an info window's "close"/"X" button is clicked:
GEvent.addListener(marker, 'click', function() {
toggle_display_property(marker, property_id);
marker.openInfoWindowHtml('stuff here');
GEvent.addListener(RentalMap, "infowindowclose", function()
{debug_msg('User closed the info window!');});
});
However, the code above doesn't execute when an info window is closed
by clicking elsewhere on the map. How can I include that event too?
Thanks!
Nick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---