[Users] how can i modify legend style
Lars Lingner
gislars+list at googlemail.com
Fri Mar 30 14:03:59 CEST 2012
Hello list,
I want to modify the legend in a way that the legend icon is rendered
first followed by the legend text. And it should be in one line.
I was looking at the code of LegendPanel, LayerLegend and WMSLegend (I
only use WMS-Layer). But I'm stuck. Its not just a simple switch of two
lines of code.
It would also help if the legend icon is placed behind the legend text,
so only one line is used per legend definition. The goal is to make the
legend more compact.
Maybe be there is a way to configure the legend rendering in GeoExt, but
I don't know about it.
If someone could point me to the right code or have any other ideas how
I can do this, that would be great.
Thanks in advance!
Lars
More information about the Users
mailing list