Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[server][wmts][refactor] converted tileSize variable to const
  • Loading branch information
andreassteffens committed May 27, 2021
1 parent 63f47db commit 4b4748c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wmts/qgswmtsutils.cpp
Expand Up @@ -35,7 +35,7 @@ namespace QgsWmts
QgsCoordinateReferenceSystem wgs84 = QgsCoordinateReferenceSystem::fromOgcWmsCrs( geoEpsgCrsAuthId() );

// Constant
int tileSize = 256;
const int tileSize = 256;
const double POINTS_TO_M = 2.800005600011068 / 10000.0;

QMap< QString, tileMatrixInfo> fixedTileMatrixInfoMap = populateFixedTileMatrixInfoMap();
Expand Down

0 comments on commit 4b4748c

Please sign in to comment.