[Users] Hide feature labels in legend panel symbols

Andreas Hocevar ahocevar at opengeo.org
Tue Feb 21 16:31:54 CET 2012


Hi,

there is no option for this, but you can configure the VectorLegend
with a custom set of rules. From these rules, you could remove the
labels.

Andreas.

On Tue, Feb 21, 2012 at 4:04 PM, Pou Pou <pouniok at hotmail.com> wrote:
> Hi,
>
>
>
>
> I've overriden the drawFeature function in GeoExt.FeatureRenderer to hide
> the rule labels in VectorLegend Panel, but I was wondering if there was an
> option for that ?
>
>
>
>
> As the label is a long text, it just hides the symbol in the legend, and we
> cannot see the color anymore. I don't even know if some text could be read
> in the symbol, because it's very small.
>
>
> I don't want to keep my override up to date in next versions of GeoExt if I
> can avoid it !
>
>
>
>
> Thanks,
> Pouniok.
>
>
>
>
>
>
>
> _______________________________________________
> 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