maybeInitInfoWindowBeforeCloseHandlers();
infoWindowBeforeCloseHandlers.addHandler(handler, new VoidCallback() {
@Override
public void callback() {
MapInfoWindowBeforeCloseEvent e = new MapInfoWindowBeforeCloseEvent(
MapWidget.this);
handler.onInfoWindowBeforeClose(e);
}
});
}