@eeacms/volto-arcgis-block 0.1.392 → 0.1.393
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 +5 -0
- package/package.json +1 -1
- package/src/components/MapViewer/MenuWidget.jsx +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +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.393](https://github.com/eea/volto-arcgis-block/compare/0.1.392...0.1.393) - 1 October 2025
|
|
8
|
+
|
|
7
9
|
### [0.1.392](https://github.com/eea/volto-arcgis-block/compare/0.1.391...0.1.392) - 25 September 2025
|
|
8
10
|
|
|
11
|
+
#### :hammer_and_wrench: Others
|
|
12
|
+
|
|
13
|
+
- Merge pull request #1025 from eea/develop [Unai Bolivar - [`e8ad1fd`](https://github.com/eea/volto-arcgis-block/commit/e8ad1fdd177db59e8265e36609c41ce9a71de2f2)]
|
|
9
14
|
### [0.1.391](https://github.com/eea/volto-arcgis-block/compare/0.1.390...0.1.391) - 24 September 2025
|
|
10
15
|
|
|
11
16
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -3956,6 +3956,17 @@ class MenuWidget extends React.Component {
|
|
|
3956
3956
|
let firstLayer;
|
|
3957
3957
|
let landCoverAndLandUseMapping = document.querySelector('#component_0');
|
|
3958
3958
|
let productIds = [];
|
|
3959
|
+
if (landCoverAndLandUseMapping) {
|
|
3960
|
+
const productElements = landCoverAndLandUseMapping.querySelectorAll(
|
|
3961
|
+
'.map-menu-product-dropdown',
|
|
3962
|
+
);
|
|
3963
|
+
productElements.forEach((productElement) => {
|
|
3964
|
+
const productId = productElement.getAttribute('productid');
|
|
3965
|
+
if (productId) {
|
|
3966
|
+
productIds.push(productId);
|
|
3967
|
+
}
|
|
3968
|
+
});
|
|
3969
|
+
}
|
|
3959
3970
|
if (isCDSE) {
|
|
3960
3971
|
const cdseGeometry = await this.getCDSEWFSGeoCoordinates(
|
|
3961
3972
|
this.url,
|
|
@@ -3967,16 +3978,6 @@ class MenuWidget extends React.Component {
|
|
|
3967
3978
|
zoom: 4,
|
|
3968
3979
|
});
|
|
3969
3980
|
return;
|
|
3970
|
-
} else if (landCoverAndLandUseMapping) {
|
|
3971
|
-
const productElements = landCoverAndLandUseMapping.querySelectorAll(
|
|
3972
|
-
'.map-menu-product-dropdown',
|
|
3973
|
-
);
|
|
3974
|
-
productElements.forEach((productElement) => {
|
|
3975
|
-
const productId = productElement.getAttribute('productid');
|
|
3976
|
-
if (productId) {
|
|
3977
|
-
productIds.push(productId);
|
|
3978
|
-
}
|
|
3979
|
-
});
|
|
3980
3981
|
} else if (this.productId?.includes('333e4100b79045daa0ff16466ac83b7f')) {
|
|
3981
3982
|
//global dynamic landCover
|
|
3982
3983
|
this.findDatasetBoundingBox(elem);
|