Sorry, that isn't totally right. That layer definition doesn't work in any browser of mine. The key factor is having it as an overlay layer. As a base layer it works. So it seems that the only solution to have an overlay layer with regions' opacity set, is to use png and 'alpha:true'-setting. I can provide you a live example of this problem, if you like. If this is true, I'll be better off by just announcing: "Dont try this with IE6.". Yet so many people are still using Windows 2000 and IE.
- mika - Lehtonen, Mika kirjoitti: > Hi Christopher and others, > > I have this in my code and can't get the opacity work in IE6. > > var ronko2 = new OpenLayers.Layer.WMS( > "Kaava-alueet", > "http://karsamaki.digikartta.net/asemakaavat/wms", > {layers: 'dikanet:karsa_region,dikanet:karsa_text', > format:'image/gif',transparent:true}, {maxExtent: bounds, > isBaseLayer:false, resolutions: [5.66154, 2.8308, 1.132308, 0.56615, > 0.28308, 0.1132308]}); > > What's wrong with the code? OL is 2.6. Wms-server is Geoserver and in > there, the SLD says that the opacity of the polygons should be 0.2. > Works in IE7 and FF2-3. > > - mika - > > Christopher Schmidt kirjoitti: > >> On Fri, Sep 05, 2008 at 05:43:00PM +0300, Lehtonen, Mika wrote: >> >> >>> And that would work in IE6 with layer format to set image/gif? >>> - mika - >>> >>> >> Should. >> >> Regards, >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
