Skip to content

Commit

Permalink
empty XYZ usage when unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Jan 19, 2022
1 parent 9a34f80 commit 66545c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/vectortile/qgsvectortilelayerrenderer.cpp
Expand Up @@ -118,7 +118,7 @@ bool QgsVectorTileLayerRenderer::render()
mSourcePath.replace( QLatin1String( "{usage}" ), QLatin1String( "export" ) );
break;
case Qgis::RendererUsage::Unknown:
mSourcePath.replace( QLatin1String( "{usage}" ), QLatin1String( "unknown" ) );
mSourcePath.replace( QLatin1String( "{usage}" ), QString() );
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1444,7 +1444,7 @@ void QgsWmsProvider::createTileRequestsXYZ( const QgsWmtsTileMatrix *tm, const Q
turl.replace( QLatin1String( "{usage}" ), QLatin1String( "export" ) );
break;
case Qgis::RendererUsage::Unknown:
turl.replace( QLatin1String( "{usage}" ), QLatin1String( "unknown" ) );
turl.replace( QLatin1String( "{usage}" ), QString() );
break;
}
}
Expand Down

0 comments on commit 66545c6

Please sign in to comment.