@eeacms/volto-arcgis-block 0.1.339 → 0.1.340

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.340](https://github.com/eea/volto-arcgis-block/compare/0.1.339...0.1.340) - 5 March 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-285047 (bug): Refactored metodProcessLayer method to modify view service correctly [Unai Bolivar - [`05d7f66`](https://github.com/eea/volto-arcgis-block/commit/05d7f66b486933baef255113a59deefdeca59f1f)]
7
12
  ### [0.1.339](https://github.com/eea/volto-arcgis-block/compare/0.1.338...0.1.339) - 3 March 2025
8
13
 
9
14
  ### [0.1.338](https://github.com/eea/volto-arcgis-block/compare/0.1.337...0.1.338) - 18 February 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.339",
3
+ "version": "0.1.340",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -1737,8 +1737,8 @@ class MenuWidget extends React.Component {
1737
1737
  });
1738
1738
  //iterate sublayers fetching all sublayer data
1739
1739
  } else if (viewService?.toLowerCase().includes('wms')) {
1740
- viewService = viewService?.endsWith('?')
1741
- ? viewService
1740
+ viewService = viewService?.includes('?')
1741
+ ? viewService + '&'
1742
1742
  : viewService + '?';
1743
1743
  this.layers[layer.LayerId + '_' + inheritedIndexLayer] = new WMSLayer({
1744
1744
  url: viewService,
@@ -1769,7 +1769,9 @@ class MenuWidget extends React.Component {
1769
1769
  });
1770
1770
  } else if (viewService?.toLowerCase().includes('wmts')) {
1771
1771
  this.layers[layer.LayerId + '_' + inheritedIndexLayer] = new WMTSLayer({
1772
- url: viewService?.endsWith('?') ? viewService : viewService + '?',
1772
+ url: viewService?.includes('?')
1773
+ ? viewService + '&'
1774
+ : viewService + '?',
1773
1775
  //id: layer.LayerId,
1774
1776
  title: '',
1775
1777
  _wmtsTitle: layer.Title, // CLMS-1105