[Users] Possible to exclude a layer from the legendpanel?
Bart van den Eijnden
bartvde at osgis.nl
Wed Oct 13 17:08:06 CEST 2010
You can set hideInLegend on the corresponding layerRecord.
Best regards,
Bart
--
Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html
Bart van den Eijnden
OSGIS
bartvde at osgis.nl
On Oct 13, 2010, at 5:01 PM, Eoin Mac Aoidh wrote:
> Hi list,
> I was wondering, is it possible to exclude a layer from the legendPanel?
> I would still like it added to my Ext.tree.TreePanel though.
> This may seem odd, but I have good reason:
> I am adding filtered layers to the map which have the same symbology as existing layers in the map. Everytime I add a filtered layer to the map, redundant symbology automatically is added to the legendPanel (it is already there).
> The legend would be much less cluttered and would avoid repetition if I could exclude a layer form being added to the LegendPanel.
> Any help appreciated.
> Thanks,
> Eoin.
>
> _______________________________________________
> 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/20101013/0051fb70/attachment.htm
More information about the Users
mailing list