Skip to content
Permalink
Browse files

Update doc

  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent 9146f01 commit 3799f60949e4fee23e56ee145dfca900c29aaab2
Showing with 13 additions and 0 deletions.
  1. +7 −0 python/core/auto_generated/qgsmaplayer.sip.in
  2. +6 −0 src/core/qgsmaplayer.h
@@ -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



@@ -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

0 comments on commit 3799f60

Please sign in to comment.