Re: [Qgis-developer] WMS Legend in QGIS 2.2

2014-04-04 Thread Gino Pirelli
should retrieve legend if WMS server has getLegendGraphic capability and layer has getCapability url specified... so you HAVE to select a styling. Otherwise, silently do nothing as before when getLegendGraphic integration wasn't available. just tested on your server and it works ciao Luigi

Re: [Qgis-developer] WMS Legend in QGIS 2.2

2014-04-04 Thread Gino Pirelli
I forgot to say that if a legendGraphic is available is shown under the layer in LegendLayer... it's really little and you have to click on it to open in real dimension (this is due to QgsLegendInterface architectural limitation) Legend will be integrated in composer at it's original (dowloaded)

[Qgis-developer] WMS Legend in QGIS 2.2

2014-04-03 Thread Tim Sutton
Hi In the 2.2 release notes, we list the ability to show WMS legend in TOC and composer[1]. Can someone provide instructions on how to actually do this - I don't see any obvious way to get it working. I tested using the fires from the last 48 hours layer at [2]. Regards Tim [1]