@eeacms/volto-arcgis-block 0.1.384 → 0.1.385
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.385](https://github.com/eea/volto-arcgis-block/compare/0.1.384...0.1.385) - 4 September 2025
|
|
8
|
+
|
|
7
9
|
### [0.1.384](https://github.com/eea/volto-arcgis-block/compare/0.1.383...0.1.384) - 1 September 2025
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -2947,7 +2947,10 @@ class MenuWidget extends React.Component {
|
|
|
2947
2947
|
if (!userService) this.checkForHotspots(elem, productContainerId);
|
|
2948
2948
|
// Auto-fit extent once for OGC WMS layers on manual toggle
|
|
2949
2949
|
try {
|
|
2950
|
-
const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
|
|
2950
|
+
// const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
|
|
2951
|
+
const isCDSE =
|
|
2952
|
+
!!this.url &&
|
|
2953
|
+
['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
|
|
2951
2954
|
if (isCDSE) {
|
|
2952
2955
|
const cdseGeometry = await this.getCDSEWFSGeoCoordinates(
|
|
2953
2956
|
this.url,
|
|
@@ -3828,7 +3831,10 @@ class MenuWidget extends React.Component {
|
|
|
3828
3831
|
} else {
|
|
3829
3832
|
this.url = serviceLayer.ViewService;
|
|
3830
3833
|
}
|
|
3831
|
-
|
|
3834
|
+
// const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
|
|
3835
|
+
const isCDSE =
|
|
3836
|
+
!!this.url &&
|
|
3837
|
+
['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
|
|
3832
3838
|
let BBoxes = {};
|
|
3833
3839
|
if (isCDSE) {
|
|
3834
3840
|
const cdseGeometry = await this.getCDSEWFSGeoCoordinates(
|
|
@@ -3899,7 +3905,10 @@ class MenuWidget extends React.Component {
|
|
|
3899
3905
|
|
|
3900
3906
|
async fullExtent(elem) {
|
|
3901
3907
|
this.url = this.layers[elem.id]?.url;
|
|
3902
|
-
const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
|
|
3908
|
+
// const isCDSE = !!this.url && this.url.toLowerCase().includes('/ogc/');
|
|
3909
|
+
const isCDSE =
|
|
3910
|
+
!!this.url &&
|
|
3911
|
+
['/ogc/', '/cdse/'].some((s) => this.url.toLowerCase().includes(s));
|
|
3903
3912
|
const serviceLayer = this.state.wmsUserServiceLayers.find(
|
|
3904
3913
|
(layer) => layer.LayerId === elem.id,
|
|
3905
3914
|
);
|