3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

Wrong zoom to feature extent if project has a layer with an extent larger than the advertized/initial map extent #3711

Open gioman opened 1 year ago

gioman commented 1 year ago

What is the bug?

If the project has at least one layer that has an extent that is larger than the advertized in project properties/initial map extent in LM plugin, then zooming to a feature from the table of attributes or the "location" tool returns the wrong location.

Interestingly this do not affect the same functionality from the popup panel.

Steps to reproduce the issue

See above for the scenario that triggers the issue.

Also note that filtering the offending layer, so to show on features within the advertised extent do not work as workaround.

Versions

LMWC 3.6.4 Ubuntu Server and Desktop 22.04 Latest version for LM plugin and LM server plugin

Check Lizmap plugin

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

3.28

Operating system

Ubuntu 22.04, desktop and server

Browsers

Firefox, Chrome

Browsers version

Latest

Relevant log output

No response

gioman commented 1 year ago

Can anyone confirm?

gioman commented 1 year ago

Bumping my tickets before they go "quite",