Skip to content

Commit

Permalink
fix: add maximum zoom level in Cesium
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliav-Maimon committed Jan 8, 2025
1 parent 0890e34 commit 8901c9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/discrete-layer/components/helpers/layersUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
};
};

0 comments on commit 8901c9b

Please sign in to comment.