[Users] WMSLegend

Julien-Samuel Lacroix jlacroix at mapgears.com
Tue Aug 6 15:35:17 CEST 2013


Hi,

You may try to add autoShow:true in your LegendPanel definition:

{
     xtype: "gx_legendpanel",
     autoShow: true, // <<----- this
     //... your config here...

}

Julien

On 13-08-06 07:45 AM, Raffaele Morelli wrote:
> 2013/8/6 Luís de Sousa <luis.a.de.sousa at gmail.com
> <mailto:luis.a.de.sousa at gmail.com>>
>
>     Hi Raffaele,
>
>     MapServer 6.2 has several issues with legends on raster files. If
>     you are using a colour ramp, for instance, MapServer will never be
>     able to generate a proper legend.
>
>     Use Firebug to capture the exact legend request sent to the WMS and
>     make sure that MapServer is able to deal with it.
>
>     Regards,
>
>     Luís
>
>
> I am using mapserver 6.0.1 on debian stable (wheezy).
>
> Chrome inspector doesn't show legend requests when I check non overlay
> layers, on the opposite I can clearly see a GraphicLegendRequest when I
> chek an overlay one.
>
> Regards
> /r
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Users mailing list