maptiler / qgis-maptiler-plugin

QGIS MapTiler Plugin: vector tiles, basemaps, geocoding, OSM, QuickMapServices
GNU General Public License v2.0
84 stars 10 forks source link

GE-1042 fix copyrights #179

Closed lazaa32 closed 2 years ago

lazaa32 commented 2 years ago

Fixes attribution when closing/opening various projects with different copyright labels. Purges plugin's _default_copyright when a project is closed. Estimates whether a layer is added via the plugin and re-render copyright only when such a layer is added or removed. If a layer which was added via the plugin is selected/unselected (visible/invisible) copyrights are not re-rendered. It is not ideal, a user has to remove the layer completely to remove the layer's copyright as well. But it should solve the problem with the slow GUI mentioned in #132

Fix #129 Fix #132 Fix #149