@eeacms/volto-arcgis-block 0.1.338 → 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,13 @@ 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)]
|
|
12
|
+
### [0.1.339](https://github.com/eea/volto-arcgis-block/compare/0.1.338...0.1.339) - 3 March 2025
|
|
13
|
+
|
|
7
14
|
### [0.1.338](https://github.com/eea/volto-arcgis-block/compare/0.1.337...0.1.338) - 18 February 2025
|
|
8
15
|
|
|
9
16
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -428,6 +428,7 @@ class MenuWidget extends React.Component {
|
|
|
428
428
|
this.activeLayersToHotspotData = this.activeLayersToHotspotData.bind(this);
|
|
429
429
|
this.getLimitScale = this.getLimitScale.bind(this);
|
|
430
430
|
this.handleOpenPopup = this.handleOpenPopup.bind(this);
|
|
431
|
+
this.filtersApplied = false;
|
|
431
432
|
// add zoomend listener to map to show/hide zoom in message
|
|
432
433
|
this.view.watch('stationary', (isStationary) => {
|
|
433
434
|
let snowAndIceInSessionStorage = sessionStorage.getItem('snowAndIce');
|
|
@@ -1234,7 +1235,11 @@ class MenuWidget extends React.Component {
|
|
|
1234
1235
|
|
|
1235
1236
|
if (product.Datasets && Array.isArray(product.Datasets)) {
|
|
1236
1237
|
for (var i in product.Datasets) {
|
|
1237
|
-
if (
|
|
1238
|
+
if (this.filtersApplied) {
|
|
1239
|
+
dataset_def = document
|
|
1240
|
+
.querySelector('#' + checkProduct)
|
|
1241
|
+
?.getAttribute('defcheck');
|
|
1242
|
+
} else if (
|
|
1238
1243
|
product.Datasets[i] &&
|
|
1239
1244
|
product.Datasets[i].Default_active === true
|
|
1240
1245
|
) {
|
|
@@ -1732,8 +1737,8 @@ class MenuWidget extends React.Component {
|
|
|
1732
1737
|
});
|
|
1733
1738
|
//iterate sublayers fetching all sublayer data
|
|
1734
1739
|
} else if (viewService?.toLowerCase().includes('wms')) {
|
|
1735
|
-
viewService = viewService?.
|
|
1736
|
-
? viewService
|
|
1740
|
+
viewService = viewService?.includes('?')
|
|
1741
|
+
? viewService + '&'
|
|
1737
1742
|
: viewService + '?';
|
|
1738
1743
|
this.layers[layer.LayerId + '_' + inheritedIndexLayer] = new WMSLayer({
|
|
1739
1744
|
url: viewService,
|
|
@@ -1764,7 +1769,9 @@ class MenuWidget extends React.Component {
|
|
|
1764
1769
|
});
|
|
1765
1770
|
} else if (viewService?.toLowerCase().includes('wmts')) {
|
|
1766
1771
|
this.layers[layer.LayerId + '_' + inheritedIndexLayer] = new WMTSLayer({
|
|
1767
|
-
url: viewService?.
|
|
1772
|
+
url: viewService?.includes('?')
|
|
1773
|
+
? viewService + '&'
|
|
1774
|
+
: viewService + '?',
|
|
1768
1775
|
//id: layer.LayerId,
|
|
1769
1776
|
title: '',
|
|
1770
1777
|
_wmtsTitle: layer.Title, // CLMS-1105
|
|
@@ -4312,6 +4319,7 @@ class MenuWidget extends React.Component {
|
|
|
4312
4319
|
componentFilter === 'default' &&
|
|
4313
4320
|
productFilter === 'default'
|
|
4314
4321
|
) {
|
|
4322
|
+
this.filtersApplied = false;
|
|
4315
4323
|
componentFound = true;
|
|
4316
4324
|
productFound = true;
|
|
4317
4325
|
result = true;
|
|
@@ -4339,6 +4347,7 @@ class MenuWidget extends React.Component {
|
|
|
4339
4347
|
componentFilter ||
|
|
4340
4348
|
componentFilter === 'default'))
|
|
4341
4349
|
) {
|
|
4350
|
+
this.filtersApplied = true;
|
|
4342
4351
|
componentFound = true;
|
|
4343
4352
|
productFound = true;
|
|
4344
4353
|
result = true;
|