Closed MariaSolovyeva closed 7 years ago
put legend with transparency slider from #101. Use GeoNode API (?) or WMS GetLegendGraphic request to obtain the legend, just like the GeoNode layer page does (except without GeoExt)
I'm working towards integrating Tim's WMS Legend into the code. find the library from here
here is the mockup for the legend (the legend is on the top right corner):
two issues need to be sorted out:
what do you think of the mockup @gubuntu ?
Every layers should have a legend, even if it's black and white. Are you using the getLegendGraphic ? The legend provided by the QGIS Server app in geonode works ?
Yes, I am. I use the API from qgis server. the legend comes from png obtained from the legend function on the backend.
Legen graphics working nicely.
After the layer is selected, the user needs to see the legend about the colors used in this layer.
Proposed solution: to add the legend in the bottom right corner with the possibility to minimize it and expand back up.