[Users] WMSLegend

Raffaele Morelli raffaele.morelli at gmail.com
Tue Aug 6 15:56:45 CEST 2013


2013/8/6 Julien-Samuel Lacroix <jlacroix at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130806/e6802a42/attachment.htm 


More information about the Users mailing list