[OpenLayers-Users] Closebutton Callback on popup?

Guillaume Lom progmls at googlemail.com
Thu Apr 3 12:12:18 EDT 2008


Hello,

I am creating popups through the Feature object:

this.popupClass = OpenLayers.Popup.FramedCloud;
this.popup = this.createPopup(true);

The 'true' parameter sets a close button on the popup.
I need however to do other cleaning stuff when a popup is closed. Is
there an official way to set up a callback function during the
creation of the popup? I would like to avoid using
this.popup.addCloseBox if I can hepl it.

Thanks,
Guillaume



More information about the Users mailing list