Skip to content
Permalink
Browse files
[server][wmts][refactor] converted tileSize variable to const
  • Loading branch information
andreassteffens committed May 27, 2021
1 parent 63f47db commit 4b4748c7fae108a29b7e6faa21319eb76a08f378
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wmts/qgswmtsutils.cpp
@@ -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();

0 comments on commit 4b4748c

Please sign in to comment.