@eeacms/volto-arcgis-block 0.1.408 → 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,29 @@ 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)]
14
+ ### [0.1.409](https://github.com/eea/volto-arcgis-block/compare/0.1.408...0.1.409) - 20 November 2025
15
+
16
+ #### :hammer_and_wrench: Others
17
+
18
+ - Merge pull request #1060 from eea/develop [Unai Bolivar - [`c43d87e`](https://github.com/eea/volto-arcgis-block/commit/c43d87e730d1635e9e5ce99f13e7c4e936980131)]
19
+ - Merge pull request #1059 from eea/CLMS-293228 [Unai Bolivar - [`b4b62d5`](https://github.com/eea/volto-arcgis-block/commit/b4b62d570f56f4264417e83612c10e7beae3c3ca)]
20
+ - (bug): change font sizes for titles final [Unai Bolivar - [`083bf44`](https://github.com/eea/volto-arcgis-block/commit/083bf44f0e8024350f21b6fda30abb26ed54513b)]
21
+ - (bug): change font sizes for titles again [Unai Bolivar - [`bc267fe`](https://github.com/eea/volto-arcgis-block/commit/bc267fe92dba4b319d1225217d88b0a30c9a3554)]
22
+ - (bug): change font styles again [Unai Bolivar - [`a4a39f3`](https://github.com/eea/volto-arcgis-block/commit/a4a39f3b039e11b1385a37f70ceccf10d129f8dd)]
23
+ - (bug): change active layers title [Unai Bolivar - [`b2d96f2`](https://github.com/eea/volto-arcgis-block/commit/b2d96f210c9388e99adac6ddf6bfd3377907cd3f)]
24
+ - (bug): fixing font styles [Unai Bolivar - [`af1393c`](https://github.com/eea/volto-arcgis-block/commit/af1393c360de05fa09850b9b929a04ce619c9066)]
7
25
  ### [0.1.408](https://github.com/eea/volto-arcgis-block/compare/0.1.407...0.1.408) - 19 November 2025
8
26
 
9
27
  #### :hammer_and_wrench: Others
10
28
 
29
+ - Merge pull request #1058 from eea/develop [Unai Bolivar - [`715204e`](https://github.com/eea/volto-arcgis-block/commit/715204e198fa67a71766f5f315bb4062f2c86a25)]
11
30
  - (bug): Fixed child node dissappearing errors that crash the data viewer [Unai Bolivar - [`d2d3503`](https://github.com/eea/volto-arcgis-block/commit/d2d3503371e90f50668964d0771be7de7ca3e447)]
12
31
  - (feat): redid the titles produced for the error report [Unai Bolivar - [`08cd2bc`](https://github.com/eea/volto-arcgis-block/commit/08cd2bc75843b7313c54cffecd1b1c637ee2ab23)]
13
32
  ### [0.1.407](https://github.com/eea/volto-arcgis-block/compare/0.1.406...0.1.407) - 19 November 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.408",
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",
@@ -62,7 +62,7 @@ class ErrorReport extends React.Component {
62
62
  pt.latitude.toFixed(4) +
63
63
  ' Lon ' +
64
64
  pt.longitude.toFixed(4) +
65
- '. Active datasets: ' +
65
+ '. Active layers: ' +
66
66
  ds.join(', ');
67
67
  try {
68
68
  if (
@@ -255,7 +255,7 @@ class ErrorReport extends React.Component {
255
255
  this.state.latlong.x +
256
256
  ' Lon ' +
257
257
  this.state.latlong.y +
258
- '. Active datasets: ' +
258
+ '. Active layers: ' +
259
259
  datasets.join(', ');
260
260
  try {
261
261
  if (navigator && navigator.clipboard && navigator.clipboard.writeText) {
@@ -407,7 +407,7 @@ class ErrorReport extends React.Component {
407
407
  {this.state.datasets && this.state.datasets.length > 0 && (
408
408
  <>
409
409
  <div className="error-report-datasets-title">
410
- Active datasets
410
+ Active layers
411
411
  </div>
412
412
  <ul className="error-report-datasets">
413
413
  {this.state.datasets.map((d, i) => (
@@ -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
  }
@@ -334,21 +334,36 @@ button.upload-bookmark-button {
334
334
  color: white !important;
335
335
  }
336
336
 
337
+ .right-panel-header span,
338
+ .error-report-coords-heading,
337
339
  .error-report-datasets-title {
338
- margin-top: 1em;
339
- margin-bottom: 0.5em;
340
- font-size: 1.17em;
340
+ margin-top: 1rem;
341
+ margin-bottom: 0.5rem;
342
+ color: inherit;
343
+ font-size: 0.9rem;
341
344
  font-weight: bold;
342
345
  }
343
346
 
347
+ .error-report-coords,
348
+ .error-report-datasets,
349
+ .error-report-datasets li {
350
+ color: inherit;
351
+ font-size: inherit;
352
+ font-weight: inherit;
353
+ }
354
+
344
355
  body.section-map-viewer
345
356
  #page-document.ui.container
346
- .esri-widget__content--empty
347
- h1 {
348
- width: auto !important;
357
+ .esri-widget__content--empty {
358
+ margin-top: 1rem;
359
+ margin-bottom: 0.5rem;
360
+ color: inherit;
361
+ font-size: 1.25rem; /* Increased font size */
349
362
  }
350
363
 
351
- div.esri-popover
364
+ body.section-map-viewer
365
+ #page-document.ui.container
366
+ .esri-widget__content--empty
352
367
  div
353
368
  div.esri-button-menu__content
354
369
  ul.esri-button-menu__item-wrapper