@eeacms/volto-arcgis-block 0.1.134 → 0.1.135
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,12 @@ 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.135](https://github.com/eea/volto-arcgis-block/compare/0.1.134...0.1.135) - 5 May 2023
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- CLMS-1733 (lint):Ran linting scripts before push [Urkorue - [`3fffb43`](https://github.com/eea/volto-arcgis-block/commit/3fffb438efb27a59f251ea89bd35b67301af9040)]
|
|
12
|
+
- CLMS-1733 (fix): Compares the product title instead of the url [Urkorue - [`41b88af`](https://github.com/eea/volto-arcgis-block/commit/41b88afdfc34dafccd9d587da880caf998bf7f41)]
|
|
7
13
|
### [0.1.134](https://github.com/eea/volto-arcgis-block/compare/0.1.133...0.1.134) - 4 May 2023
|
|
8
14
|
|
|
9
15
|
### [0.1.133](https://github.com/eea/volto-arcgis-block/compare/0.1.132...0.1.133) - 2 May 2023
|
package/package.json
CHANGED
|
@@ -1961,6 +1961,7 @@ class MenuWidget extends React.Component {
|
|
|
1961
1961
|
product.Datasets.forEach((dataset) => {
|
|
1962
1962
|
if (dataset.DatasetTitle.includes(selectedDataset.title)) {
|
|
1963
1963
|
this.url = dataset.ViewService;
|
|
1964
|
+
this.productTitle = product.ProductTitle;
|
|
1964
1965
|
}
|
|
1965
1966
|
});
|
|
1966
1967
|
});
|
|
@@ -2105,10 +2106,13 @@ class MenuWidget extends React.Component {
|
|
|
2105
2106
|
this.findCheckedDataset(elem);
|
|
2106
2107
|
let BBoxes = {};
|
|
2107
2108
|
let firstLayer;
|
|
2108
|
-
if (this.
|
|
2109
|
+
if (this.productTitle.includes('Global Dynamic Land Cover')) {
|
|
2109
2110
|
this.findDatasetBoundingBox(elem);
|
|
2110
2111
|
BBoxes = this.parseBBOXJSON(this.dataBBox);
|
|
2111
|
-
} else if (
|
|
2112
|
+
} else if (
|
|
2113
|
+
this.productTitle.includes('Low Resolution Vegetation Parameters') ||
|
|
2114
|
+
this.productTitle.includes('Water Parameters')
|
|
2115
|
+
) {
|
|
2112
2116
|
if (
|
|
2113
2117
|
this.layers[elem.id].fullExtents &&
|
|
2114
2118
|
this.layers[elem.id].fullExtents !== null
|