QGIS API Documentation  3.20.0-Odense (decaadbb31)
Static Public Member Functions | List of all members
QgsMapLayerUtils Class Reference

Contains utility functions for working with map layers. More...

#include <qgsmaplayerutils.h>

Static Public Member Functions

static QgsRectangle combinedExtent (const QList< QgsMapLayer * > &layers, const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext)
 Returns the combined extent of a list of layers. More...
 

Detailed Description

Contains utility functions for working with map layers.

Since
QGIS 3.20

Definition at line 34 of file qgsmaplayerutils.h.

Member Function Documentation

◆ combinedExtent()

QgsRectangle QgsMapLayerUtils::combinedExtent ( const QList< QgsMapLayer * > &  layers,
const QgsCoordinateReferenceSystem crs,
const QgsCoordinateTransformContext transformContext 
)
static

Returns the combined extent of a list of layers.

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

Definition at line 26 of file qgsmaplayerutils.cpp.


The documentation for this class was generated from the following files: