Ah I see now. Well, in the case of Karsten's tilecache layers, the
legendimage configuration misses the layerRecord configuration, so it
is not bound to a layers.

@Thomas: can you provide a minimal example that shows the issue?

Andreas.

On Tue, May 22, 2012 at 10:45 AM, Thomas Colley
<[email protected]> wrote:
> Hi
>
> I think what Karsten means is if a layer is added to the map with
> visibility set to false the legend graphic shows initially even though
> the layer is unchecked. When the layer is then checked on and off again
> the legend graphic syncs as it should.
>
> I have the same problem and was also wondering whether there was a way
> around it.
>
> Thanks
>
> Tom
>
> On Tue, May 22, 2012 at 8:55 AM, Andreas wrote:
>
>> the way the LayerLegend components work, you cannot have them visible
>> when a layer is unchecked. This would require a new option on the
>> LayerLegend to tell it not to sync its visibility with the layer's
>> visibility.
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to