[Users] LegendPanel fires GetLegendGraphic requests for invisible Layers
Just van den Broecke
just at justobjects.nl
Tue May 22 19:48:58 CEST 2012
Hi,
Another Legend issue, on GeoExt 1.1/OpenLayers 2.11:
When I add a LegendPanel to a Container, GetLegendGraphic requests are
issued for every WMS Layer, even if these Layers are initially
invisible. Basically the same issue as described here:
http://lists.osgeo.org/pipermail/geoprisma-dev/2010-October/000487.html
For maps with many layers this gives quite some init delay.
I would like to show/hide legends dynamically, only for Layers that
become visible/invisible, possibly as a configurable option
("showVisibleLayersOnly") on LegendPanel. I could not find an open issue
or maybe there is a workaround. Thanks for any suggestions. Best,
--Just
Just van den Broecke
The Netherlands
www.justobjects.nl
More information about the Users
mailing list