From: AbdElhadi <abd...@gm...> - 2009-08-06 21:13:16
|
Edwin, The hack is working although it's CPU hungry. The map is a lot less snappier with PNG than it is with GIFs (or maybe I just got biased by your warnings). As for adding major third party support like Google Maps', it doesn't seem like there is much work ahead, for some reason (most probably the new 2.8 ol bug fixes) I recompiled the code and Google maps layer is working with very few issues! Now that I really think about it, I think the issue I was having with Google Maps layer had more to do with ol 2.7 than with gwt-ol (In the source it was commented that the Google layer has to be a sub of EventLayer and some other class but it's not). so as an attempt to get around this, I inserted some native js function that takes the map object, builds the Google layer directly using the ol js constructor and then returns the new Map object which I reassign to the JSObject of the java one. This didn't work either. But now both java instantiation and the native one are working. Also, the issue I was having with firefox and that I mentioned in some earlier email is due to GXT and not gwt-openlayers. Cheers, On Tue, Jul 28, 2009 at 4:17 AM, Edwin Commandeur < com...@gm...> wrote: > Hi, > > I added a 'setApplyAlphaHack' property to layerOptions. By default the > alpha hack is off, because of performance reasons. This is the last thing I > put into GWT-OL 0.4. When you check out the code, you will notice that I > heightened the snapshot version number to 0.5. > > AbdElhadi, let me know if the alpha hack works and what the performance > impact is. I don't have IE6 installed on any machine I can think of, so I > cannot check it straightforwardly. > > GWT-OL 0.4 is up for download. I only have to change the website. Also I > will look into how I can change the wiki (any help on the documentation is > appreciated) and make it easier to get the showcase running (offer it as a > separate file?). > > For GWT-OL 0.5 I want to add support for the major third-party layers (such > as Google Maps) and improve OpenLayers functionality coverage overall > (especially now 2.8 is out). GWT-OL 0.4 should have been released after the > change of package name. Now a decent set of functionality is available in > binary form, and we can move on to the next. > > Greetings > Edwin > > > > 2009/7/21 AbdElhadi <abd...@gm...> > >> Hi, >> >> >> Anybody figured out yet how to use png format with wms layers without >> getting the gray color instead of alpha in IE6? Ultimately without having to >> go through native inline js? >> >> Also, is there a property somewhere that replaces the >> OpenLayers.IMAGE_RELOAD_ATTEMPS and OpenLayers.Util.onImageLoadErrorColor? >> >> Thanks, >> -- >> Abdelhadi >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > -- Abdelhadi |