Skip to content
Permalink
Browse files
support for WMSC-T layers
  • Loading branch information
Samweli authored and nyalldawson committed Sep 6, 2021
1 parent e8bbd5e commit d89730735a51f40bc8b46c3ed3443de30610f643
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/providers/wms/qgswmsprovider.cpp
@@ -1245,6 +1245,14 @@ void QgsWmsProvider::createTileRequestsWMSC( const QgsWmtsTileMatrix *tm, const
{
setQueryItem( query, QStringLiteral( "TRANSPARENT" ), QStringLiteral( "TRUE" ) ); // some servers giving error for 'true' (lowercase)
}

// For WMSC-T layers
if ( temporalCapabilities() &&
temporalCapabilities()->hasTemporalCapabilities() )
{
addWmstParameters( query );
}

url.setQuery( query );

int i = 0;

0 comments on commit d897307

Please sign in to comment.