Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent 9146f01 commit 3799f60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/core/auto_generated/qgsmaplayer.sip.in
Expand Up @@ -1813,6 +1813,13 @@ Sets error message
%End

void invalidateWgs84Extent();
%Docstring
Invalidates the WGS84 extent. If FlagTrustLayerMetadata is enabled,
the extent is not invalidated because we want to trust metadata whatever
happens.

.. versionadded:: 3.18
%End



Expand Down
6 changes: 6 additions & 0 deletions src/core/qgsmaplayer.h
Expand Up @@ -1612,6 +1612,12 @@ class CORE_EXPORT QgsMapLayer : public QObject
//! Sets error message
void setError( const QgsError &error ) { mError = error;}

/**
* Invalidates the WGS84 extent. If FlagTrustLayerMetadata is enabled,
* the extent is not invalidated because we want to trust metadata whatever
* happens.
* \since QGIS 3.18
*/
void invalidateWgs84Extent();

//! Indicates if the layer is valid and can be drawn
Expand Down

0 comments on commit 3799f60

Please sign in to comment.