Skip to content
Permalink
Browse files
[server][wmts][refactor] converted variable to const
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
andreassteffens and elpaso committed May 27, 2021
1 parent 94c2194 commit 63f47db145c1a2c06ca4fd59f321ea5518783bf3
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/server/services/wmts/qgswmtsutils.cpp
@@ -36,7 +36,7 @@ namespace QgsWmts

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

QMap< QString, tileMatrixInfo> fixedTileMatrixInfoMap = populateFixedTileMatrixInfoMap();
QMap< QString, tileMatrixInfo> calculatedTileMatrixInfoMap; // for project without WMTSGrids configuration
@@ -841,4 +841,3 @@ namespace QgsWmts

} // namespace QgsWmts


0 comments on commit 63f47db

Please sign in to comment.