@eeacms/volto-arcgis-block 0.1.441 → 0.1.443
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,10 @@ 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.443](https://github.com/eea/volto-arcgis-block/compare/0.1.442...0.1.443) - 10 April 2026
|
|
8
|
+
|
|
9
|
+
### [0.1.442](https://github.com/eea/volto-arcgis-block/compare/0.1.441...0.1.442) - 9 April 2026
|
|
10
|
+
|
|
7
11
|
### [0.1.441](https://github.com/eea/volto-arcgis-block/compare/0.1.440...0.1.441) - 7 April 2026
|
|
8
12
|
|
|
9
13
|
### [0.1.440](https://github.com/eea/volto-arcgis-block/compare/0.1.439...0.1.440) - 31 March 2026
|
package/package.json
CHANGED
|
@@ -4428,6 +4428,57 @@ class MenuWidget extends React.Component {
|
|
|
4428
4428
|
// }, 2000);
|
|
4429
4429
|
}
|
|
4430
4430
|
}
|
|
4431
|
+
try {
|
|
4432
|
+
const isCDSE =
|
|
4433
|
+
!!this.url &&
|
|
4434
|
+
['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
|
|
4435
|
+
if (isCDSE) {
|
|
4436
|
+
const d =
|
|
4437
|
+
this.layers[elem.id]?.DatasetDownloadInformation ||
|
|
4438
|
+
this.layers[elem.id]?.datasetDownloadInformation ||
|
|
4439
|
+
{};
|
|
4440
|
+
const byoc =
|
|
4441
|
+
d && d.items && d.items[0] ? d.items[0].byoc_collection : null;
|
|
4442
|
+
if (byoc && this.props.fetchCatalogApiDates) {
|
|
4443
|
+
let payload =
|
|
4444
|
+
this.props.catalogapi &&
|
|
4445
|
+
this.props.catalogapi.byoc &&
|
|
4446
|
+
this.props.catalogapi.byoc[byoc]
|
|
4447
|
+
? this.props.catalogapi.byoc[byoc].data
|
|
4448
|
+
: null;
|
|
4449
|
+
if (!payload) {
|
|
4450
|
+
payload = await this.props.fetchCatalogApiDates(byoc, false);
|
|
4451
|
+
}
|
|
4452
|
+
if (payload) {
|
|
4453
|
+
if (
|
|
4454
|
+
this.layers[elem.id].ViewService.toLowerCase().includes('wmts')
|
|
4455
|
+
) {
|
|
4456
|
+
this.layers[elem.id] = new WMTSLayer({
|
|
4457
|
+
url: this.layers[elem.id].url,
|
|
4458
|
+
spatialReference: this.layers[elem.id].spatialReference,
|
|
4459
|
+
title: this.layers[elem.id].title,
|
|
4460
|
+
_wmtsTitle: this.layers[elem.id]._wmtsTitle,
|
|
4461
|
+
activeLayer: this.layers[elem.id].activeLayer,
|
|
4462
|
+
isTimeSeries: this.layers[elem.id].isTimeSeries,
|
|
4463
|
+
fields: this.layers[elem.id].fields,
|
|
4464
|
+
DatasetId: this.layers[elem.id].DatasetId,
|
|
4465
|
+
DatasetTitle: this.layers[elem.id].DatasetTitle,
|
|
4466
|
+
ProductId: this.layers[elem.id].ProductId,
|
|
4467
|
+
ViewService: this.layers[elem.id].ViewService,
|
|
4468
|
+
StaticImageLegend: this.layers[elem.id].StaticImageLegend,
|
|
4469
|
+
LayerTitle: this.layers[elem.id].LayerTitle,
|
|
4470
|
+
DatasetDownloadInformation: this.layers[elem.id]
|
|
4471
|
+
.DatasetDownloadInformation,
|
|
4472
|
+
customLayerParameters: {
|
|
4473
|
+
SHOWLOGO: false,
|
|
4474
|
+
TIME: payload.dates[payload.dates.length - 1] || '',
|
|
4475
|
+
},
|
|
4476
|
+
});
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
} catch (e) {}
|
|
4431
4482
|
if (
|
|
4432
4483
|
this.layers[elem.id].DatasetId === '65f8eded11d94a1ba5540ceecaddd4e6' ||
|
|
4433
4484
|
this.layers[elem.id].DatasetId === '40e056d02eed4c1fb2040cf0f06823df'
|
|
@@ -8514,4 +8565,5 @@ class MenuWidget extends React.Component {
|
|
|
8514
8565
|
);
|
|
8515
8566
|
}
|
|
8516
8567
|
}
|
|
8568
|
+
/*comment*/
|
|
8517
8569
|
export default MenuWidget;
|