@eeacms/volto-arcgis-block
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -7,4 +7,11 @@ ### Changelog | ||
#### [0.1.8](https://github.com/eea/volto-arcgis-block/compare/0.1.7...0.1.8) | ||
- version2 working [`#21`](https://github.com/eea/volto-arcgis-block/pull/21) | ||
#### [0.1.7](https://github.com/eea/volto-arcgis-block/compare/0.1.6...0.1.7) | ||
> 13 October 2021 | ||
- Develop [`#18`](https://github.com/eea/volto-arcgis-block/pull/18) | ||
- Bugs n improvements [`#17`](https://github.com/eea/volto-arcgis-block/pull/17) | ||
@@ -11,0 +18,0 @@ - Merge pull request #20 from eea/bugs_n_improvements [`c59b800`](https://github.com/eea/volto-arcgis-block/commit/c59b800832a7d566585f9fd4b8a9208f566bd4da) |
{ | ||
"name": "@eeacms/volto-arcgis-block", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "volto-arcgis-block: Volto add-on", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -60,3 +60,3 @@ const config = { | ||
Title: 'Coastal Zones 2018 raster', | ||
Default_active: false, | ||
Default_active: true, | ||
}, | ||
@@ -113,3 +113,3 @@ ], | ||
ViewService: 'https://cryo.land.copernicus.eu/wms/FSC/?', | ||
Default_active: false, | ||
Default_active: true, | ||
Layer: [ | ||
@@ -119,3 +119,3 @@ { | ||
Title: 'FSC_TOC', | ||
Default_active: false, | ||
Default_active: true, | ||
}, | ||
@@ -125,3 +125,3 @@ { | ||
Title: 'FSC_QC_TOC', | ||
Default_active: false, | ||
Default_active: true, | ||
}, | ||
@@ -172,3 +172,3 @@ { | ||
Title: 'RLIE', | ||
Default_active: false, | ||
Default_active: true, | ||
}, | ||
@@ -175,0 +175,0 @@ { |
@@ -469,4 +469,12 @@ import React, { createRef } from 'react'; | ||
var layerdef = e.getAttribute('defcheck'); | ||
var splitdefCheck = layerdef.split(','); | ||
var layerChecks = document.querySelectorAll('[id=' + layerdef + ']'); | ||
var layerChecks = []; | ||
var selector = []; | ||
for (var i = 0; i < splitdefCheck.length; i++) { | ||
selector = document.querySelector('[id="' + splitdefCheck[i] + '"]'); | ||
layerChecks.push(selector); | ||
} | ||
layerChecks.forEach((element) => { | ||
@@ -473,0 +481,0 @@ element.checked = value; |
10493357
4701