From: Mårten K. <mar...@di...> - 2010-10-06 10:07:36
|
I solved this. All Popup-classes are implemented in a strange way, not following the JavaScript-constructors of OpenLayers. What is the reason for doing it like this? Anyway, I added constructors that take the CloseListener and binds it to the closeBox at creation of the popups. That's the way OpenLayers does it and that's the way I think openlayers-gwt should do it too. I didn't remove the original openlayers-gwt constructors or the addCloseListener-function in Popup for back compatibility issues. Are you interested in this code? Regards Mårten Karlberg, Digpro Solutions AB |