I have been using the new version of QGIS 3.34.0 for a few days and have found
that in running models created by the Graphics Modeler, there is very different
performance between version 3.32.3 and 3.34.0.
I have several models created with the modeler including a very complex one
with about 100
Hi Patrick,
what about
iface.mapCanvas().setExtent(layer.extent())
iface.mapCanvas().refresh()
or
iface.setActiveLayer(layer)
iface.zoomToActiveLayer()
hth
Ludwig
Am 18.11.23 um 09:32 schrieb Patrick Dunford via QGIS-User:
Good day to all
I want to call zoomToLayers in a pyqgis script to
Good day to all
I want to call zoomToLayers in a pyqgis script to zoom the map canvas to
a layer which I have just applied a filter to. I am not sure how to do
it as all the documented uses of this method seem to apply to different
things than to a layer.
If the layer is not the currently ac