[Users] LegendPanel strange behaviour (bug?)

stela anders stelaanders at gmail.com
Thu Jan 21 15:53:02 CET 2010


Worked fine!
Thanks Bart

Stella

2010/1/21 <bartvde at osgis.nl>

> Nope, as you can read in the bug report, OpenLayers 2.8 is too old.
>
> Best regards,
> Bart
>
> > Openlayers version 2.8
> > Geoext I got trunk version 10 days ago...
> >
> > Is it supposed to work?
> >
> > Thanks
> >
> > Stella
> >
> > 2010/1/21 <bartvde at osgis.nl>
> >
> >> 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
> >> >
> >>
> >>
> >>
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100121/ad6fa888/attachment.htm 


More information about the Users mailing list