@eeacms/volto-arcgis-block 0.1.409 → 0.1.410

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,10 +4,18 @@ 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.410](https://github.com/eea/volto-arcgis-block/compare/0.1.409...0.1.410) - 25 November 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - (bug): improved extent functionality for HRVPP datasets [Unai Bolivar - [`f74b59f`](https://github.com/eea/volto-arcgis-block/commit/f74b59f28adc57e02332992e48a76809dccad257)]
12
+ - (bug): corrected syntax issue with this.layers search [Unai Bolivar - [`f3f5e4d`](https://github.com/eea/volto-arcgis-block/commit/f3f5e4dc8da458c70a6ec4e4f636a49aec8c3b1a)]
13
+ - (bug): set a hard zoom value for certain datasets to avoid transparent layer views from the store provider. [Unai Bolivar - [`7e5b59e`](https://github.com/eea/volto-arcgis-block/commit/7e5b59e86056e407f87b1155a7ca05518fdd95f0)]
7
14
  ### [0.1.409](https://github.com/eea/volto-arcgis-block/compare/0.1.408...0.1.409) - 20 November 2025
8
15
 
9
16
  #### :hammer_and_wrench: Others
10
17
 
18
+ - Merge pull request #1060 from eea/develop [Unai Bolivar - [`c43d87e`](https://github.com/eea/volto-arcgis-block/commit/c43d87e730d1635e9e5ce99f13e7c4e936980131)]
11
19
  - Merge pull request #1059 from eea/CLMS-293228 [Unai Bolivar - [`b4b62d5`](https://github.com/eea/volto-arcgis-block/commit/b4b62d570f56f4264417e83612c10e7beae3c3ca)]
12
20
  - (bug): change font sizes for titles final [Unai Bolivar - [`083bf44`](https://github.com/eea/volto-arcgis-block/commit/083bf44f0e8024350f21b6fda30abb26ed54513b)]
13
21
  - (bug): change font sizes for titles again [Unai Bolivar - [`bc267fe`](https://github.com/eea/volto-arcgis-block/commit/bc267fe92dba4b319d1225217d88b0a30c9a3554)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.409",
3
+ "version": "0.1.410",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -4039,7 +4039,21 @@ class MenuWidget extends React.Component {
4039
4039
  ymax: BBoxes['dataset'].ymax,
4040
4040
  });
4041
4041
  }
4042
- this.view.goTo(myExtent);
4042
+ if (
4043
+ this.layers[elem.id].DatasetId === '65f8eded11d94a1ba5540ceecaddd4e6' ||
4044
+ this.layers[elem.id].DatasetId === '40e056d02eed4c1fb2040cf0f06823df'
4045
+ ) {
4046
+ let myExtent = new Extent({
4047
+ xmin: -13478905.5678019,
4048
+ ymin: 23797904.386302948,
4049
+ xmax: 20538395.093334593,
4050
+ ymax: 11175665.272476234,
4051
+ spatialReference: 3857,
4052
+ });
4053
+ this.view.goTo({ center: myExtent.center, zoom: 3 });
4054
+ } else {
4055
+ this.view.goTo(myExtent);
4056
+ }
4043
4057
  }
4044
4058
 
4045
4059
  async fullExtent(elem) {
@@ -4059,6 +4073,7 @@ class MenuWidget extends React.Component {
4059
4073
  }
4060
4074
  let BBoxes = {};
4061
4075
  let firstLayer;
4076
+ let myExtent = null;
4062
4077
  let landCoverAndLandUseMapping = document.querySelector('#component_0');
4063
4078
  let productIds = [];
4064
4079
  if (
@@ -4265,14 +4280,27 @@ class MenuWidget extends React.Component {
4265
4280
  } else {
4266
4281
  firstLayer = BBoxes[elem.attributes.layerid.value];
4267
4282
  }
4268
-
4269
- let myExtent = new Extent({
4283
+ myExtent = new Extent({
4270
4284
  xmin: firstLayer.xmin,
4271
4285
  ymin: firstLayer.ymin,
4272
4286
  xmax: firstLayer.xmax,
4273
4287
  ymax: firstLayer.ymax,
4274
4288
  });
4275
- this.view.goTo(myExtent);
4289
+ if (
4290
+ this.layers[elem.id].DatasetId === '65f8eded11d94a1ba5540ceecaddd4e6' ||
4291
+ this.layers[elem.id].DatasetId === '40e056d02eed4c1fb2040cf0f06823df'
4292
+ ) {
4293
+ let myExtent = new Extent({
4294
+ xmin: -13478905.5678019,
4295
+ ymin: 23797904.386302948,
4296
+ xmax: 20538395.093334593,
4297
+ ymax: 11175665.272476234,
4298
+ spatialReference: 3857,
4299
+ });
4300
+ this.view.goTo({ center: myExtent.center, zoom: 3 });
4301
+ } else {
4302
+ this.view.goTo(myExtent);
4303
+ }
4276
4304
  }
4277
4305
  this.url = null;
4278
4306
  }