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 [email protected] 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 > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
