Many many thanks for the code. I´ll get down to analysing it next week.
Have a great weekend.
yours,
Rob
Von: Stephen V. Mather <[email protected]>
An: Robert Buckley <[email protected]>
Gesendet: Freitag, den 2. September 2011, 15:08:32 Uhr
Betreff: RE: [Geoserver-users] Legend for layer groups.
Hi Robert,
This will have a lot more code than you’re looking for, but this is the code that GeoSolutions wrote for us for handling similar problems. Look especially to line 258 “var groupLayer” which begins a section that groups the layers within GeoExt instead of a group layer on GS. It will append the legends into a single grouped layername in the legend panel.
Best,
Steve
Stephen
Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com
From: Robert Buckley
[mailto:[email protected]]
Sent: Friday, September 02, 2011 3:59 AM
To: [email protected]
Subject: Re: [Geoserver-users] Legend for layer groups.
yes...
Von: Stephen V. Mather
<[email protected]>
An: Robert Buckley <[email protected]>
Gesendet: Donnerstag, den 1. September 2011, 20:03:35 Uhr
Betreff: RE: [Geoserver-users] Legend for layer groups.
The legend panel is GeoExt?
Stephen
Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com
From: Robert Buckley
[mailto:[email protected]]
Sent: Wednesday, August 31, 2011 8:26 AM
To: [email protected]
Subject: [Geoserver-users] Legend for layer groups.
Hi,
I have a simple requirement. I have a grouped layer for 2 Layers displaying borders. One Layer is generalised for scales less than 1:50,000 and the other is not generalised and used for scales greater than 1:50,000. Both layers have the same symbology - a black outline with width 1px
I need to display this in the legend panel but grouped layers do not have a legend item.
Is there an accepted way to hack a Legend item into the legend panel?
cheers,
Rob
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
