Feature request #4003
qgis_mapserver getPrint legend options
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||13991|
Please, add some parameters for configuring legend in getPrint request.
For example, would be very useful to pass layers to legend item, as it's possible for map:
#5 Updated by René-Luc ReLuc about 5 years ago
- Assignee set to René-Luc ReLuc
- Pull Request or Patch supplied set to Yes
- % Done changed from 0 to 100
- Target version changed from Future Release - Nice to have to Version 2.6
[FEATURE][QGIS-Server] Legend filtering based on map in GetPrint Request
Feature funded by Tecnostudi Ambiente, Faunalia and Andromede-oceanologie.
The legend in composition was fixed and did not represent the layers in the map.
With the work made by @wonder-sk on layer-tree and QgsComposerLegend users will be able
to configure composer legend as based on all the project layer tree with auto-update
model or filtered by map.
This commit reused these two QgsComposerLegend's properties to filter it based on map in