mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
attached to QgsProject And deprecate old getters/setters The goal here is to create a place for project view related settings (e.g. map scales, default extent, possibly future things like a fixed project maximum area of interest, etc). Currently these are all handled in an ad-hoc way, e.g. sometimes in project custom keys, sometimes inside xml saved and restored by map canvases. But both these approaches break important use case for plugins, e.g. creating a project from scratch which will zoom to a desired extent on load. That's totally impossible in the current API, unless you resort to extremely fragile manual xml crafting...