From 8901c9b40f7bd1f0281407ac8ba334ad67a13b8b Mon Sep 17 00:00:00 2001 From: Eliav Maimon Date: Wed, 8 Jan 2025 14:51:24 +0200 Subject: [PATCH] fix: add maximum zoom level in Cesium --- src/discrete-layer/components/helpers/layersUtils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/discrete-layer/components/helpers/layersUtils.ts b/src/discrete-layer/components/helpers/layersUtils.ts index 25de7c7b..b3d5fd35 100644 --- a/src/discrete-layer/components/helpers/layersUtils.ts +++ b/src/discrete-layer/components/helpers/layersUtils.ts @@ -157,7 +157,8 @@ export const getWMTSOptions = (layer: LayerRasterRecordModelType, url: string, c style, format, tileMatrixSetID, - tileMatrixLabels, + // tileMatrixLabels + maximumLevel: Number(tileMatrixLabels.at(-1)), tilingScheme: new CesiumGeographicTilingScheme() }; }; \ No newline at end of file