planetfederal / qgis-webappbuilder-plugin

GNU General Public License v3.0
18 stars 20 forks source link

Add legend for rasters layers #236

Open gioman opened 7 years ago

gioman commented 7 years ago

It would be nice to have also legend for raster layers (or if it supposed to show then it does not).

bartvde commented 7 years ago

You mean for instance for WMS layers?

gioman commented 7 years ago

Well I understand that for WMS would be via getlegend, but I was thinking more to file based rasters.

volaya commented 7 years ago

for wms layers it should already add the getlegend image.

Legends are generated by QGIS in WAB, not in the webapp, so it should be easy to add it, i think

gioman commented 7 years ago

for wms layers it should already add the getlegend image.

now wms support is fixed I will have a look at it later then. Thanks!

gioman commented 7 years ago

for wms layers it should already add the getlegend image.

confirm it works. Can you confirm that WMS (WFS too?) layers behind authentication are not yet supported (or at least are not working now)?

bartvde commented 7 years ago

assigning to you @volaya since this is WAB and not SDK

volaya commented 7 years ago

@gioman yes, we do not handle auth at all

gioman commented 7 years ago

@gioman yes, we do not handle auth at all

@SrNetoChan not sure if this documented, if not it must be (WAB does not supported at the moment OWS layer behind authentication).

SrNetoChan commented 7 years ago

@gioman In the legend control documentation is mentioned that raster layers will not show up in the app legend. Will have to see were to put the authentication limitation. Can you open a ticket for that? Github will do.

gioman commented 7 years ago

Can you open a ticket for that? Github will do.

done here

https://github.com/boundlessgeo/qgis-webappbuilder-plugin/issues/271