From 498bf542ad7423daa0cba9cd0d23deb34e247533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 13 Oct 2023 11:05:24 +0200 Subject: [PATCH] Fix dimensions on WMTS layer --- src/theme/Themes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme/Themes.js b/src/theme/Themes.js index a745cfeca25a..7b0d6935d76c 100644 --- a/src/theme/Themes.js +++ b/src/theme/Themes.js @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2022 Camptocamp SA +// Copyright (c) 2015-2023 Camptocamp SA // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in @@ -249,7 +249,7 @@ export class ThemesService extends olEventsEventTarget { gmfLayerWMTS.url, gmfLayerWMTS.layer || '', gmfLayerWMTS.matrixSet, - gmfLayerWMTS.layer.dimensions, + gmfLayerWMTS.dimensions, gmfLayerWMTS.metadata.customOpenLayersOptions, minResolution, maxResolution,