Skip to content
Permalink
Browse files
ArcGIS MapServer: Allow disabling tiled rendering
  • Loading branch information
manisandro authored and nyalldawson committed Jun 15, 2021
1 parent c7edffe commit dd9a56f7199bb503887843ee879bcc5526cb8a7d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/providers/arcgisrest/qgsamsprovider.cpp
@@ -251,6 +251,10 @@ QgsAmsProvider::QgsAmsProvider( const QString &uri, const ProviderOptions &optio
mLayerMetadata.setCrs( mCrs );

mTiled = mServiceInfo.value( QStringLiteral( "singleFusedMapCache" ) ).toBool() && mCrs.mapUnits() == QgsUnitTypes::DistanceMeters;
if ( dataSource.param( QStringLiteral( "tiled" ) ).toLower() == "false" || dataSource.param( QStringLiteral( "tiled" ) ) == "0" )
{
mTiled = false;
}

if ( mServiceInfo.contains( QStringLiteral( "maxImageWidth" ) ) )
mMaxImageWidth = mServiceInfo.value( QStringLiteral( "maxImageWidth" ) ).toInt();

0 comments on commit dd9a56f

Please sign in to comment.