Skip to content

Commit

Permalink
wmsprovider: store tileWidth and tileHeight values in properties of w…
Browse files Browse the repository at this point in the history
…ms provider
  • Loading branch information
Marcel Dancak committed Aug 18, 2014
1 parent f9ba32a commit ff172b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ bool QgsWmsProvider::setImageCrs( QString const & crs )
{
resolutions << key;
}
if ( !mTileMatrixSet->tileMatrices.empty() )
{
setProperty( "tileWidth", mTileMatrixSet->tileMatrices.values().first().tileWidth );
setProperty( "tileHeight", mTileMatrixSet->tileMatrices.values().first().tileHeight );
}
}
else
{
Expand Down

0 comments on commit ff172b2

Please sign in to comment.