Class: QgsMapLayerUtils

class qgis.core.QgsMapLayerUtils

Bases: sip.wrapper

Contains utility functions for working with map layers.

Methods

combinedExtent

Returns the combined extent of a list of layers.

combinedExtent(layers: Iterable[QgsMapLayer], crs: QgsCoordinateReferenceSystem, transformContext: QgsCoordinateTransformContext)QgsRectangle

Returns the combined extent of a list of layers.

The crs argument specifies the desired coordinate reference system for the combined extent.

Parameters
Return type

QgsRectangle