Skip to content
Permalink
Browse files

Use options from provider ctor

  • Loading branch information
elpaso authored and nyalldawson committed Mar 27, 2019
1 parent bad0fe4 commit f5bc1c7196914cf1fa07bcb4dd7b6dd2955b9c64
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/arcgisrest/qgsafsprovider.cpp
@@ -117,7 +117,7 @@ QgsAfsProvider::QgsAfsProvider( const QString &uri, const ProviderOptions &optio
if ( mSharedData->mExtent.isEmpty() )
{
mSharedData->mExtent = originalExtent;
mSharedData->mExtent = QgsCoordinateTransform( extentCrs, mSharedData->mSourceCRS, transformContext() ).transformBoundingBox( mSharedData->mExtent );
mSharedData->mExtent = QgsCoordinateTransform( extentCrs, mSharedData->mSourceCRS, options.transformContext ).transformBoundingBox( mSharedData->mExtent );
}

QString objectIdFieldName;

0 comments on commit f5bc1c7

Please sign in to comment.
You can’t perform that action at this time.