@eeacms/volto-arcgis-block 0.1.471 → 0.1.472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.1.472](https://github.com/eea/volto-arcgis-block/compare/0.1.471...0.1.472) - 14 August 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - (bug): grouplayers do not look like wmts layers keeping path for these clean [Unai Bolivar - [`f146798`](https://github.com/eea/volto-arcgis-block/commit/f146798adb952ca741a28115e3244d8fc58ac1fb)]
7
12
  ### [0.1.471](https://github.com/eea/volto-arcgis-block/compare/0.1.470...0.1.471) - 14 August 2026
8
13
 
9
14
  #### :house: Internal changes
@@ -12,6 +17,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
17
 
13
18
  #### :hammer_and_wrench: Others
14
19
 
20
+ - Merge pull request #1197 from eea/develop [Unai Bolivar - [`d02c7a5`](https://github.com/eea/volto-arcgis-block/commit/d02c7a558aea93dd328a69ace2e90f5edec26b93)]
15
21
  - (bug): fix time slider integration for dual resolution layer datasets [Unai Bolivar - [`c12c740`](https://github.com/eea/volto-arcgis-block/commit/c12c740f7f5e04dcc14f7cdecb7488832c5b61ab)]
16
22
  ### [0.1.470](https://github.com/eea/volto-arcgis-block/compare/0.1.469...0.1.470) - 13 August 2026
17
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.471",
3
+ "version": "0.1.472",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -1267,7 +1267,6 @@ class MenuWidget extends React.Component {
1267
1267
  DatasetDownloadInformation: datasetDownloadInformation || {},
1268
1268
  datasetDownloadInformation: datasetDownloadInformation || {},
1269
1269
  ViewService: viewService,
1270
- url: viewService,
1271
1270
  DatasetId: datasetId,
1272
1271
  DatasetTitle: datasetTitle,
1273
1272
  ProductId: productId,
@@ -4824,12 +4823,8 @@ class MenuWidget extends React.Component {
4824
4823
  this.findCheckedDatasetNoServiceToVisualize(elem);
4825
4824
  }
4826
4825
  if (this.layers[elem.id] === undefined) return;
4827
- const layerViewService =
4828
- this.layers[elem.id]?.ViewService || this.layers[elem.id]?.url || '';
4829
4826
  const isSceneViewActive = this.view && this.view.type === '3d';
4830
- const evaluateWmtsLayer =
4831
- this.layers[elem.id]?.type === 'wmts' ||
4832
- layerViewService.toLowerCase().includes('wmts');
4827
+ const evaluateWmtsLayer = this.layers[elem.id]?.type === 'wmts';
4833
4828
  if (elem.checked && evaluateWmtsLayer) {
4834
4829
  this.refreshWmtsLayerData(elem.id);
4835
4830
  const canApplyWmtsSettings = await this.applyWmtsSettingsData(
@@ -4917,9 +4912,7 @@ class MenuWidget extends React.Component {
4917
4912
  payload = await this.props.fetchCatalogApiDates(byoc, false);
4918
4913
  }
4919
4914
  if (payload) {
4920
- if (
4921
- this.layers[elem.id].ViewService.toLowerCase().includes('wmts')
4922
- ) {
4915
+ if (this.layers[elem.id].type === 'wmts') {
4923
4916
  const resolveSentinelLayer =
4924
4917
  /(?:sh\.dataspace\.copernicus\.eu|services\.sentinel-hub\.com)\/ogc\/wmts/i.test(
4925
4918
  this.layers[elem.id].ViewService ||
@@ -7295,7 +7288,7 @@ class MenuWidget extends React.Component {
7295
7288
 
7296
7289
  getLayerTitle(layer) {
7297
7290
  let title;
7298
- if (layer.url?.toLowerCase().includes('wmts')) {
7291
+ if (layer.type === 'wmts') {
7299
7292
  // CLMS-1105
7300
7293
  title = layer._wmtsTitle;
7301
7294
  } else {