QGIS: Using Python to update all layout map items
//QGIS, Pyqgis, Python, Layout
Qgis provides the Print Composer to export and save maps to image or pdf format. By using various map items and the Lock Layer ability it is possible to compose elaborate layouts which can be reused later. However, an option to update all map items to the current view at once seems to be missing. The Atlas object does this, but is feature-bound. This article provides a short Pyqgis code that will update all map items to the current view extend.