@eeacms/volto-arcgis-block 0.1.456 → 0.1.457

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,11 +4,14 @@ 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.457](https://github.com/eea/volto-arcgis-block/compare/0.1.456...0.1.457) - 17 June 2026
8
+
7
9
  ### [0.1.456](https://github.com/eea/volto-arcgis-block/compare/0.1.455...0.1.456) - 11 June 2026
8
10
 
9
11
  #### :hammer_and_wrench: Others
10
12
 
11
13
  - CLMS-295764 (feat): loadable comented [Urkorue - [`fa3acd8`](https://github.com/eea/volto-arcgis-block/commit/fa3acd8c5827630e3e36e1d01f1339ddcfd5594c)]
14
+ - Merge pull request #1161 from eea/develop [Unai Bolivar - [`fbfa2c8`](https://github.com/eea/volto-arcgis-block/commit/fbfa2c8003581136660651ae560ed2b8a11402d2)]
12
15
  - CLMS-295764 (feat): highchart comented [Urkorue - [`fde0d0d`](https://github.com/eea/volto-arcgis-block/commit/fde0d0d7aa446974f4cfc78868dc6c3dbd1cf109)]
13
16
  ### [0.1.455](https://github.com/eea/volto-arcgis-block/compare/0.1.454...0.1.455) - 9 June 2026
14
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.456",
3
+ "version": "0.1.457",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -2040,7 +2040,7 @@ class MenuWidget extends React.Component {
2040
2040
  viewService.toLowerCase().includes(segment),
2041
2041
  );
2042
2042
  const cdseLegendUrl = isCdseService
2043
- ? this.buildCdseLegendUrl(viewService, layer.Title || layer.LayerId)
2043
+ ? this.buildCdseLegendUrl(viewService, layer.LayerId || layer.Title)
2044
2044
  : null;
2045
2045
  //For each layer
2046
2046
  let inheritedIndexLayer = inheritedIndex + '_' + layerIndex;
@@ -2078,10 +2078,10 @@ class MenuWidget extends React.Component {
2078
2078
  queryable: true,
2079
2079
  visible: true,
2080
2080
  legendEnabled: true,
2081
- legendUrl: layer.StaticImageLegend
2082
- ? layer.StaticImageLegend
2083
- : cdseLegendUrl
2081
+ legendUrl: cdseLegendUrl
2084
2082
  ? cdseLegendUrl
2083
+ : layer.StaticImageLegend
2084
+ ? layer.StaticImageLegend
2085
2085
  : viewService + legendRequest + layer.LayerId,
2086
2086
  featureInfoUrl: featureInfoUrl,
2087
2087
  },
@@ -2118,7 +2118,7 @@ class MenuWidget extends React.Component {
2118
2118
  DatasetTitle: DatasetTitle,
2119
2119
  ProductId: ProductId,
2120
2120
  ViewService: viewService,
2121
- StaticImageLegend: layer.StaticImageLegend || cdseLegendUrl,
2121
+ StaticImageLegend: cdseLegendUrl || layer.StaticImageLegend,
2122
2122
  LayerTitle: layer.Title,
2123
2123
  DatasetDownloadInformation: dataset_download_information || {},
2124
2124
  customLayerParameters: {
@@ -2352,10 +2352,9 @@ class MenuWidget extends React.Component {
2352
2352
  layer: layerTitle,
2353
2353
  style: 'default',
2354
2354
  });
2355
- return (
2356
- this.getProxyBase() +
2357
- `land.copernicus.eu/cdse/${collectionMatch[1]}?${legendParams.toString()}`
2358
- );
2355
+ return `https://land.copernicus.eu/cdse/wms/${
2356
+ collectionMatch[1]
2357
+ }?${legendParams.toString()}`;
2359
2358
  }
2360
2359
 
2361
2360
  parseWMSLayers(xml) {