2013/8/6 Julien-Samuel Lacroix <jlacr...@mapgears.com>

> Hi,
>
> You may try to add autoShow:true in your LegendPanel definition:
>
> {
>      xtype: "gx_legendpanel",
>      autoShow: true, // <<----- this
>      //... your config here...
>
> }
>
> Julien


Hi Julien,

according to http://www.geoext.org/lib/GeoExt/widgets/LegendPanel.html, the
solution is to set 'displayInLayerSwitcher' to true.

Regards
/r
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to