[OpenLayers-Users] IE6 requests FORMAT=image/GIF - solved

Lehtonen, Mika mika at digikartta.net
Mon Sep 8 02:04:03 EDT 2008


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,
>   




More information about the Users mailing list