qgis / qwc2-demo-app

QWC2 demo application
Other
241 stars 154 forks source link

Scale dependent legend in MapLegend plugin does not work #506

Closed danceb closed 10 months ago

danceb commented 10 months ago

While filtering the legend entries by layer visibility and bbox works correctly, clicking the button for filtering by scale does not have any effect. I have tested it with a fresh cloned qwc2-demo-app and the qwc2 1a92439.

For testing this could be used, the layer "Solarpotential ..." is scale dependent. Viewer: https://kartenportal.jena.de/?l=Solarpotential%3A%20Eignung%20der%20Teilfl%C3%A4che&bl=stadtplan&t=kartenportal_kartenportal&c=680999%2C5644001&s=62500

WMS for themeConfig: https://map.jena.de/ows/kartenportal_kartenportal

danceb commented 10 months ago

@manisandro May you have the change to look at this? Thanks!

manisandro commented 10 months ago

Thanks fixed in https://github.com/qgis/qwc2/commit/67fd8430f440da70532dc9c866201ecc925f66ad