@eeacms/volto-arcgis-block 0.1.151 → 0.1.152
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,8 @@ 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.152](https://github.com/eea/volto-arcgis-block/compare/0.1.151...0.1.152) - 26 May 2023
|
|
8
|
+
|
|
7
9
|
### [0.1.151](https://github.com/eea/volto-arcgis-block/compare/0.1.150...0.1.151) - 26 May 2023
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -348,7 +348,7 @@ class MenuWidget extends React.Component {
|
|
|
348
348
|
this.layerGroups = {};
|
|
349
349
|
this.xml = null;
|
|
350
350
|
this.dataBBox = null;
|
|
351
|
-
this.
|
|
351
|
+
this.fullExtentForDataAndProdPages = false;
|
|
352
352
|
|
|
353
353
|
// add zoomend listener to map to show/hide zoom in message
|
|
354
354
|
this.view.watch('stationary', (isStationary) => {
|
|
@@ -1604,8 +1604,7 @@ class MenuWidget extends React.Component {
|
|
|
1604
1604
|
this.state.url === 'https://clms-prod.eea.europa.eu/en/map-viewer'
|
|
1605
1605
|
)
|
|
1606
1606
|
) {
|
|
1607
|
-
if (this.
|
|
1608
|
-
this.extentInitiated = true;
|
|
1607
|
+
if (this.fullExtentForDataAndProdPages === false) {
|
|
1609
1608
|
setTimeout(() => {
|
|
1610
1609
|
this.fullExtent(elem);
|
|
1611
1610
|
}, 2000);
|
|
@@ -2198,10 +2197,15 @@ class MenuWidget extends React.Component {
|
|
|
2198
2197
|
BBoxes[Object.keys(BBoxes)[0]] !== null
|
|
2199
2198
|
) {
|
|
2200
2199
|
if (
|
|
2201
|
-
this.
|
|
2202
|
-
!
|
|
2200
|
+
this.fullExtentForDataAndProdPages === false &&
|
|
2201
|
+
!(
|
|
2202
|
+
this.productId.includes('333e4100b79045daa0ff16466ac83b7f') ||
|
|
2203
|
+
this.productId.includes('fe8209dffe13454891cea05998c8e456') ||
|
|
2204
|
+
this.productId.includes('8914fde2241a4035818af8f0264fd55e')
|
|
2205
|
+
)
|
|
2203
2206
|
) {
|
|
2204
2207
|
firstLayer = BBoxes.dataset;
|
|
2208
|
+
this.fullExtentForDataAndProdPages = true;
|
|
2205
2209
|
} else if (this.productId.includes('130299ac96e54c30a12edd575eff80f7')) {
|
|
2206
2210
|
if (elem.title.includes('Guadeloupe')) {
|
|
2207
2211
|
firstLayer = BBoxes[Object.keys(BBoxes)[0]];
|