[Users] LegendPanel strange behaviour (bug?)

bartvde at osgis.nl bartvde at osgis.nl
Thu Jan 21 14:05:08 CET 2010


Hi,

which version of OpenLayers and GeoExt are you using?

See:
http://trac.geoext.org/ticket/147

Best regards,
Bart

> Hello guys !!!
>
> I have a mapserver WMS layer with 3 sublayers...
>
> Case 1 : All 3 sublayers are checked OFF (checked: false, in config js)
> The legend is ok (showing nothing)
>
> Turning sublayer1 ON  : Legends ok
> Turning sublayer1 OFF : Legends ok (showing nothing)
> Turning sublayer1 ON : Legends ok
> Turning sublayer2 ON : Legends dont change, just sublayer1 is on legend
> Turning sublayer3 ON : Legends dont change, just sublayer1 is on legend
> Turning sublayer1 OFF : Legends dont change, just sublayer1 is on legend
> Turning sublayer2 OFF : Legends dont change, just sublayer1 is on legend
> Turning sublayer3 OFF : Legends ok (showing nothing)
>
> And thats it, It only shows 1 sublayer and legend...
>
> Case 2 : All 3 sublayers are checked ON (checked: true, in config js)
> The legend is ok (showing all 3 sublayers)
>
> Turning sublayer1 OFF : Legends dont change, showing all 3 sublayers
> Turning sublayer2 OFF : Legends dont change, showing all 3 sublayers
> Turning sublayer3 OFF : Legends ok (showing nothing)
>  (Now its the same CASE 1)
> ...
>
> My layer definition:
>
>   OpenLayers.Layer.WMS("Test",
>                 mapfile, {
>                     "LAYERS": ['Layer1','Layer2','Layer3'],
>                     transparent: true,
>                     format: "image/png"
>                 }, {
>                     isBaseLayer: false,
>                     buffer: 0,
>                     visibility: true
>                 })
>
>
> Any help?
>
> Thanks
>
> Stella
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list