> I have prepared a little patch to the GeoServer WMS GetLegendGraphic > service to add layergroups support. > > LayerGroups are supported in the following manner: > - just use a layergroup name, instead of a layer name, in the LAYER > parameter to get a legend for the group > - if STYLE is not specified, the default style is used for all the > layers of the group > - if STYLE is specified it could be: > * a single value, used for all the group layers > * a comma separated list to specify styles for any single layer of > the group (if less styles than layers are specified the last style > will be used for the remaining layers) > * a comma separated list with empty values to use specific styles > for some layers and default for the ones left empty (for example you > can specify style1,,style3 to use the default style for the second layer) > - the RULE parameter is used similarly to STYLE to specify rules for > some or all the styles
Interesting. Can I assume that is to make it possible to create multi-tieds legends for layer groups? Got an example image? Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
