Skip to content
Permalink
Browse files

WGS84 extent is null if the extent is null

  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent fd965af commit 6667472203d135a782fc7071edaf17e2589c6b3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaplayer.cpp
@@ -2020,7 +2020,7 @@ QgsRectangle QgsMapLayer::wgs84Extent( bool forceRecalculate ) const
{
wgs84Extent = mWgs84Extent;
}
else
else if ( ! mExtent.isNull() )
{
const QgsCoordinateTransform transformer { crs(), QgsCoordinateReferenceSystem::fromOgcWmsCrs( geoEpsgCrsAuthId() ), transformContext() };
try

0 comments on commit 6667472

Please sign in to comment.