Feature request #13597

Control contents of grouplayer legends

Added by Henrik Uggla over 8 years ago. Updated almost 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:QGIS Server
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21639

Description

I would like to be able to control which layers that is shown in the grouplayer WMS GetLegendGraphic response.

Example:

grouplayer1 contains layer1, layer2 and layer3.
REQUEST=GetMap&LAYER=grouplayer1 should return a response containing layer1, layer2 and layer3.
But I want REQUEST=GetLegendGraphic&LAYER=grouplayer1 to return a response containing only layer1 and layer3, not layer2 (which only contains labels).

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF