From: Edwin C. <com...@gm...> - 2010-10-06 13:45:36
|
Hi Marten, Good to hear you solved the popup problem. I would definitely be interested in that code :). I have never really used the popups that come with OpenLayers (used Ext GWT windows instead), so I never looked at closely how GWT-OL wraps them. Greetings, Edwin On 6 October 2010 12:07, Mårten Karlberg <mar...@di...> wrote: > 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 > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |