Hello again, I'm still struggling with this subject.

I'm now debugging the LegendPanel code, trying to understand why the
overlay layers are not being included in the legend. The problem is
that I can't find the object/method that re-renders the legend when a
layer is switched on. Could someone point me where? That would already
be helpful.

Thank you,

Luís

On 18 January 2013 16:41, Luís de Sousa <luis.a.de.so...@gmail.com> wrote:
> Hello everyone,
>
> I'm trying to use a legend panel, initialising it the way you see
> below. The panel is shown where it should in the page, but it only
> shows the legend for base layers, in spite of the layerStore object
> containing all the layers in the map. Am I missing some property? Or
> is it something else?
>
> Thank you,
>
> Luís
>
> {
>    region: "east",
>    title: "Legend",
>    xtype: "gx_legendpanel",
>    layerStore: layerStore,
>    width: 150,
>    collapsible: true,
>    autoScroll: true,
>    enableDD: true,
>    padding: 5,
>    rootVisible: false,
>    lines: false,
> }
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to