@eeacms/volto-arcgis-block 0.1.143 → 0.1.144

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,12 @@ 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.144](https://github.com/eea/volto-arcgis-block/compare/0.1.143...0.1.144) - 15 May 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-1742-1745-1748 (lint): Ran linting scripts [ujbolivar - [`e28fa2f`](https://github.com/eea/volto-arcgis-block/commit/e28fa2f3216e7712dad0d1d2cb1fb36e2cdf0294)]
12
+ - finished I think [ujbolivar - [`54f960a`](https://github.com/eea/volto-arcgis-block/commit/54f960a7fa6d1aec9563a1c50ee690165693ed30)]
7
13
  ### [0.1.143](https://github.com/eea/volto-arcgis-block/compare/0.1.142...0.1.143) - 15 May 2023
8
14
 
9
15
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.143",
3
+ "version": "0.1.144",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -1593,6 +1593,11 @@ class MenuWidget extends React.Component {
1593
1593
  let parentId = elem.getAttribute('parentid');
1594
1594
  let group = this.getGroup(elem);
1595
1595
  if (elem.checked) {
1596
+ if (this.props.download) {
1597
+ setTimeout(() => {
1598
+ this.fullExtent(elem);
1599
+ }, 1000);
1600
+ }
1596
1601
  if (this.layers['lc_filter'] || this.layers['lcc_filter']) {
1597
1602
  if (elem.id.includes('cop_klc')) {
1598
1603
  this.layers['klc_filter'].visible = true;
@@ -1660,6 +1665,11 @@ class MenuWidget extends React.Component {
1660
1665
  ) {
1661
1666
  this.toggleCustomLegendItem(this.layers[elem.id]);
1662
1667
  }
1668
+ // debugger;
1669
+ // if (this.props.download) {
1670
+ // this.fullExtent(elem);
1671
+ // debugger;
1672
+ // }
1663
1673
  // update DOM
1664
1674
  this.setState({});
1665
1675
  //this.activeLayersHandler(this.activeLayersAsArray);