Skip to content

Commit

Permalink
Update src/core/proj/qgscoordinatetransform_p.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
2 people authored and github-actions[bot] committed Jan 24, 2022
1 parent 9585748 commit ccfc394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/proj/qgscoordinatetransform_p.cpp
Expand Up @@ -160,7 +160,7 @@ bool QgsCoordinateTransformPrivate::initialize()
}

mGeographicToWebMercator =
mSourceCRS.authid() == QLatin1String( "EPSG:4326" ) &&
mSourceCRS.isGeographic() &&
mDestCRS.authid() == QLatin1String( "EPSG:3857" );

mSourceIsDynamic = mSourceCRS.isDynamic();
Expand Down

0 comments on commit ccfc394

Please sign in to comment.