lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

Refresh Layer with javascript and refresh legend

Open jayeffe opened this issue 9 months ago • 1 comments

What is the question?

I inserted the plugin into lizmap to refresh a layer. I modified this field to redraw the geometry during the refresh (I had read about setting the field to true, I don't know if it's correct)

tlayers[l].redraw(true);

I see the layer updating, but I don't see any geometry appearing. I wanted to know if it is also possible to update the classification in the legend which remains static.

Versions

3.28

Check Lizmap plugin

  • [ ] I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.28

Operating system

Ubuntu 22.04

Browsers

Chrome

Browsers version

Crome

Relevant log output

No response

jayeffe avatar Sep 28 '23 13:09 jayeffe