|
Ok, I got it. Didn't use the opacity setting. 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, opacity: 0.5,
isBaseLayer:false, resolutions: [5.66154, 2.8308, 1.132308, 0.56615,
0.28308, 0.1132308]});
And that setting overrides the default SLD-setting, right? Now it works
in IE6 as well as in the other browsers.Sorry for thinking aloud on this list. :-[ - mika - Lehtonen, Mika kirjoitti: 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: |
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
