Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added wms getLegendGraphic management in case of rasterLayerSymbology…
… - Developed with funding from Regione Toscana-SITA This commit add the getLegendGraphic pixmap as legend in the QgsLegend. Due to architectural QgsLegend limitation pixmap is shown of the same dimension of every single legend element (too little) managing of getLegendGraphic popup and refresh - Developed with funding from Regione Toscana-SITA Due the fact that WMS pixmap is too little, has been added a popup to show WMS legend in the original size Has been added feature to refresh getLegendGraphics to every scale change due to extend modification. In this way getLagendGraphic can be updated basing on scale and in the future also basing on viewport. Modified QPixmap to QImage to be device independent set absolute position due to popup is not referred to legendInterface (avoid hiding of the legend)
- Loading branch information
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters