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 Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com)


On 4 April 2014 07:44, Tim Sutton <li...@linfiniti.com> wrote:

> 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] http://changelog.linfiniti.com/qgis/version/21/#108
> [2] http://global.afis.co.za/geoserver/wms
>
> --
> Tim Sutton - QGIS Project Steering Committee Member
> ==============================================
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
>
> Irc: timlinux on #qgis at freenode.net
> ==============================================
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to