3liz / lizmap-plugin

Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
https://www.lizmap.com/
GNU General Public License v2.0
62 stars 31 forks source link

[Bug]: OSM layer comes with zoom min/max defined #586

Closed nboisteault closed 3 months ago

nboisteault commented 3 months ago

What is the bug?

Users might want to zoom above the zoom max defined to 19 via upscalling. So we should let them define those values. https://github.com/3liz/lizmap-plugin/blob/eb6048086b50cc54f76498ecace3a428b211f4b7/lizmap/plugin.py#L2665

Versions, safeguards, checks summary etc

Versions :

List of safeguards :
* Mode : normal * Allow parent folder : yes * Number of parent : 2 folder(s) * Prevent other drive : yes * Prevent PG service : no * Prevent PG Auth DB : yes * Force PG user&pass : yes * Prevent ECW : yes

Check Lizmap plugin

Gustry commented 3 months ago

Is that OK @nboisteault ? CF commit https://github.com/3liz/lizmap-plugin/commit/f6e2a94cf06985944e537b528264b72799f2ad92

Gustry commented 3 months ago

Mainly linked to https://github.com/3liz/lizmap-web-client/issues/4332

So we should let them define those values.

This is possible in QGIS desktop raster layer properties UI. I'm not going to rewrite QGIS desktop settings :)

nboisteault commented 3 months ago

@Gustry It is ok for me. We might go back later but it needs some discussion with @rldhont