Lint
This commit is contained in:
@@ -469,9 +469,10 @@ export function optionsFromCapabilities(wmtsCap, config) {
|
||||
matrixSetObj.TileMatrix,
|
||||
(tileMatrixValue) => tileMatrixValue.Identifier === selectedMatrixLimit.TileMatrix || matrixSetObj.Identifier + ":" + tileMatrixValue.Identifier === selectedMatrixLimit.TileMatrix
|
||||
);
|
||||
if (m)
|
||||
if (m) {
|
||||
matrix = m;
|
||||
}
|
||||
}
|
||||
|
||||
const resolution =
|
||||
(matrix.ScaleDenominator * 0.00028) / projection.getMetersPerUnit(); // WMTS 1.0.0: standardized rendering pixel size
|
||||
|
||||
Reference in New Issue
Block a user