diff --git a/src/theme/Themes.js b/src/theme/Themes.js index 2e0ad476689a..0912d7ad9cd9 100644 --- a/src/theme/Themes.js +++ b/src/theme/Themes.js @@ -256,7 +256,7 @@ export class ThemesService extends olEventsEventTarget { gmfLayerWMTS.url, gmfLayerWMTS.layer || '', gmfLayerWMTS.matrixSet, - gmfLayerWMTS.layer.dimensions, + gmfLayerWMTS.dimensions, gmfLayerWMTS.metadata.customOpenLayersOptions, minResolution, maxResolution,