[Users] legend labels not displayed

Andreas Hocevar ahocevar at opengeo.org
Fri Feb 24 13:59:44 CET 2012


Hi,

is the layer that you want the legend with labels for a WMS layer from
GeoServer? FORCE_LABELS is a vendor option specific to GeoServer.

Andreas.

2012/2/24 Francesc Cañas <kikocanas at gmail.com>:
> Hi,
>
> I've insert a legend in my map:
>
> var Llegenda = new GeoExt.LegendPanel({
>     map: map,
>     title: 'Llegenda',
>     defaults: {
>         style: 'padding:5px',
>         baseParams: {
>             FORMAT: 'image/png',
>             LEGEND_OPTIONS: 'forceLabels:on'
>         }
>     }
> });
>
> And it shows the layers and the symbols of categories but doesn't label
> them. What I have to do?
> Thanks!
>
>
>
> --
> http://kikocanas.blogspot.com
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list