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,