@eeacms/volto-arcgis-block 0.1.210 → 0.1.211

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.211](https://github.com/eea/volto-arcgis-block/compare/0.1.210...0.1.211) - 4 October 2023
8
+
7
9
  ### [0.1.210](https://github.com/eea/volto-arcgis-block/compare/0.1.209...0.1.210) - 4 October 2023
8
10
 
9
11
  ### [0.1.209](https://github.com/eea/volto-arcgis-block/compare/0.1.208...0.1.209) - 3 October 2023
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.210",
3
+ "version": "0.1.211",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -194,10 +194,7 @@ class AreaWidget extends React.Component {
194
194
  }
195
195
 
196
196
  checkExtent(extent) {
197
- if (
198
- extent.width > 1707297.4637772422 &&
199
- extent.height > 1169180.7846497446
200
- ) {
197
+ if (extent.width * extent.height > 1996137506460) {
201
198
  return true;
202
199
  } else {
203
200
  return false;