On Wed, Oct 13, 2010 at 5:01 PM, Eoin Mac Aoidh <[email protected]> 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.
if the layer record's "hideInLegend" data field is set to true there will be no associated item in the legend, though it should be in the layer tree -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
