Hi Frederic, If the legend is the same for all layers, call the getLegendGraphic on one of them.
Or try to find out if you could, according to your data, create single layer and a style with rules to avoid the group layer. Good luck Envoyé à partir d’Outlook<http://aka.ms/weboutlook> ________________________________ De : Frederic Leclercq <frederic.lecle...@vliz.be> Envoyé : 29 juin 2022 04:51 À : 'GeoServer Users' <geoserver-users@lists.sourceforge.net> Objet : [Geoserver-users] GetLegendGraphic on grouped layer Hi all, I'm trying to find a way to show the legend (and only one!) from a groupedlayer. All the individual layers share basically the same legend - so I would like to show the layer only once, instead of all the legends for each individual layer. Is that even possible? Thanks! Fred.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users