I like to keep track of any and all infowindows that are open on my Google Maps interface (I store their names in an array), but I can't figure out how to remove them from my array when they are closed via the x in the upper right hand corner of each one.
Is there some sort of callback I can listen for? Or maybe I can do something like
addListener(close, infowindow1, etc
?