@eeacms/volto-arcgis-block 0.1.78 → 0.1.80
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,11 +4,23 @@ 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.
|
|
7
|
+
### [0.1.80](https://github.com/eea/volto-arcgis-block/compare/0.1.79...0.1.80) - 1 December 2022
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: make auxiliary service URL check case-insensitive CLMS-1544 [joewdavies - [`aa077fb`](https://github.com/eea/volto-arcgis-block/commit/aa077fb160a1652198b43c848943cbe40eb5c3f2)]
|
|
12
|
+
- fix: make auxiliary service URL check case-insensitive CLMS-1544 [joewdavies - [`94c29e0`](https://github.com/eea/volto-arcgis-block/commit/94c29e01d42946865bc4543f4e6b99ca3d1a3e1e)]
|
|
8
13
|
|
|
9
14
|
#### :hammer_and_wrench: Others
|
|
10
15
|
|
|
11
|
-
-
|
|
16
|
+
- prettier fix [joewdavies - [`fbc0021`](https://github.com/eea/volto-arcgis-block/commit/fbc002191ce053f9eb27282e9d720d9e4f97a8db)]
|
|
17
|
+
### [0.1.79](https://github.com/eea/volto-arcgis-block/compare/0.1.78...0.1.79) - 30 November 2022
|
|
18
|
+
|
|
19
|
+
#### :hammer_and_wrench: Others
|
|
20
|
+
|
|
21
|
+
- ESlint fix [joewdavies - [`af66c7a`](https://github.com/eea/volto-arcgis-block/commit/af66c7aa602028e26ee36776f93d725a590a0481)]
|
|
22
|
+
### [0.1.78](https://github.com/eea/volto-arcgis-block/compare/0.1.77...0.1.78) - 30 November 2022
|
|
23
|
+
|
|
12
24
|
### [0.1.77](https://github.com/eea/volto-arcgis-block/compare/0.1.76...0.1.77) - 30 November 2022
|
|
13
25
|
|
|
14
26
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -475,7 +475,7 @@ class MenuWidget extends React.Component {
|
|
|
475
475
|
let promise = fetch(dataset.ViewService, { mode: 'no-cors' })
|
|
476
476
|
.then((response) => {
|
|
477
477
|
if (!response.ok) {
|
|
478
|
-
|
|
478
|
+
//console.error(`HTTP error, status = ${response.status}`);
|
|
479
479
|
}
|
|
480
480
|
return response.json();
|
|
481
481
|
})
|
|
@@ -484,7 +484,7 @@ class MenuWidget extends React.Component {
|
|
|
484
484
|
dataset.Layer = data.Layers;
|
|
485
485
|
})
|
|
486
486
|
.catch((error) => {
|
|
487
|
-
|
|
487
|
+
//console.error(error);
|
|
488
488
|
});
|
|
489
489
|
promises.push(promise);
|
|
490
490
|
}
|
|
@@ -809,10 +809,10 @@ class MenuWidget extends React.Component {
|
|
|
809
809
|
|
|
810
810
|
// CLMS-1545
|
|
811
811
|
if (
|
|
812
|
-
product.Datasets[i].ViewService !==
|
|
813
|
-
'https://trial.discomap.eea.europa.eu/arcgis/services/
|
|
814
|
-
product.Datasets[i].ViewService !==
|
|
815
|
-
'https://trial.discomap.eea.europa.eu/arcgis/services/
|
|
812
|
+
product.Datasets[i].ViewService.toLowerCase() !==
|
|
813
|
+
'https://trial.discomap.eea.europa.eu/arcgis/services/clms/worldcountries/mapserver/wmsserver' &&
|
|
814
|
+
product.Datasets[i].ViewService.toLowerCase() !==
|
|
815
|
+
'https://trial.discomap.eea.europa.eu/arcgis/services/clms/worldcountries/mapserver/wmsserver?'
|
|
816
816
|
) {
|
|
817
817
|
datasets.push(
|
|
818
818
|
this.metodProcessDataset(
|
|
@@ -980,7 +980,8 @@ class MenuWidget extends React.Component {
|
|
|
980
980
|
if (!layer.LayerId) {
|
|
981
981
|
layer.LayerId = sublayerIndex;
|
|
982
982
|
}
|
|
983
|
-
|
|
983
|
+
|
|
984
|
+
let inheritedIndexLayer = inheritedIndexDataset + '_' + tmsLayerIndex;
|
|
984
985
|
let checkboxId = layer.LayerId + '_' + inheritedIndexLayer;
|
|
985
986
|
|
|
986
987
|
// add as default
|
|
@@ -990,7 +991,7 @@ class MenuWidget extends React.Component {
|
|
|
990
991
|
// add each sublayer to this.layers
|
|
991
992
|
this.processTMSLayer(layer, checkboxId, dataset);
|
|
992
993
|
|
|
993
|
-
// build TMS
|
|
994
|
+
// build TMS Layer for TOC
|
|
994
995
|
layers.push(
|
|
995
996
|
<div
|
|
996
997
|
className="ccl-form-group map-menu-layer"
|