@eeacms/volto-arcgis-block 0.1.471 → 0.1.473

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,17 @@ 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.473](https://github.com/eea/volto-arcgis-block/compare/0.1.472...0.1.473) - 17 August 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Merge pull request #1201 from eea/CLMS-304632-RESTORE-GROUP-FUNCTION [Unai Bolivar - [`1e1e81d`](https://github.com/eea/volto-arcgis-block/commit/1e1e81d9fe93653cfa7902923fd8a94ee453b90e)]
12
+ - (bug): group layer toc menu fix for rechecking these datasets [Unai Bolivar - [`6c2a8e9`](https://github.com/eea/volto-arcgis-block/commit/6c2a8e9e9cc46187eb127108816329685bca83a7)]
13
+ ### [0.1.472](https://github.com/eea/volto-arcgis-block/compare/0.1.471...0.1.472) - 14 August 2026
14
+
15
+ #### :hammer_and_wrench: Others
16
+
17
+ - (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
18
  ### [0.1.471](https://github.com/eea/volto-arcgis-block/compare/0.1.470...0.1.471) - 14 August 2026
8
19
 
9
20
  #### :house: Internal changes
@@ -12,6 +23,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
23
 
13
24
  #### :hammer_and_wrench: Others
14
25
 
26
+ - Merge pull request #1197 from eea/develop [Unai Bolivar - [`d02c7a5`](https://github.com/eea/volto-arcgis-block/commit/d02c7a558aea93dd328a69ace2e90f5edec26b93)]
15
27
  - (bug): fix time slider integration for dual resolution layer datasets [Unai Bolivar - [`c12c740`](https://github.com/eea/volto-arcgis-block/commit/c12c740f7f5e04dcc14f7cdecb7488832c5b61ab)]
16
28
  ### [0.1.470](https://github.com/eea/volto-arcgis-block/compare/0.1.469...0.1.470) - 13 August 2026
17
29
 
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.473",
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 ||
@@ -5192,12 +5185,14 @@ class MenuWidget extends React.Component {
5192
5185
  if (
5193
5186
  layerToRemove.type &&
5194
5187
  layerToRemove.type !== 'base-tile' &&
5188
+ layerToRemove.type !== 'group' &&
5195
5189
  layerToRemove.type !== 'wmts' &&
5196
5190
  typeof layerToRemove.clear === 'function'
5197
5191
  ) {
5198
5192
  layerToRemove.clear();
5199
5193
  }
5200
5194
  if (
5195
+ layerToRemove.type !== 'group' &&
5201
5196
  layerToRemove.type !== 'wmts' &&
5202
5197
  typeof layerToRemove.destroy === 'function'
5203
5198
  ) {
@@ -7295,7 +7290,7 @@ class MenuWidget extends React.Component {
7295
7290
 
7296
7291
  getLayerTitle(layer) {
7297
7292
  let title;
7298
- if (layer.url?.toLowerCase().includes('wmts')) {
7293
+ if (layer.type === 'wmts') {
7299
7294
  // CLMS-1105
7300
7295
  title = layer._wmtsTitle;
7301
7296
  } else {