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
63 stars 31 forks source link

Allow setting sourceProject on groups #613

Open u-cav opened 2 weeks ago

u-cav commented 2 weeks ago

Description

Related to #601.

It is now possible to correctly set sourceRepository, thanks! SourceProject is automatically shown for embedded layers, but does not seem to be saved in the cfg. It is not possible to manually specify the sourceProject:

image

This makes total sense for layers, but for groups where groupAsLayer is true setting the sourceProject enables Lizmap to use the shared cache.

Setting this manually in the cfg works correctly, and the shared cache is used.

Enabling the field SourceProject for groups would enable users to use a centralized cache for the tiled baselayers where multiple layers are grouped as one.

CC: @mind84

Context