Can I get legend with multiple layers using GetLegendGraphic on GeoServer?
It works fine for 1 layer and suppose to work for layer group according to this documentation https://www.geosolutionsgroup.com/blog/developers-corner-geoserver-getlegendgraphic-enhancements/ but I am getting an error that layer does not exist if I add name of layer group.
http://geoservername/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=testgroup
Are there some specific settings for the layer group that I need to add?