@eeacms/volto-arcgis-block 0.1.168 → 0.1.170
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 +12 -0
- package/package.json +1 -1
- package/src/components/MapViewer/MenuWidget.jsx +22 -19
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +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.170](https://github.com/eea/volto-arcgis-block/compare/0.1.169...0.1.170) - 13 July 2023
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- CLMS-2351 (lint):Ran linting scripts before push [Urkorue - [`b7c99d6`](https://github.com/eea/volto-arcgis-block/commit/b7c99d6a5edfbe9734a00c5a0ba39f764efe8e91)]
|
|
12
|
+
- CLMS-2351 (feature): Changed time slider icon to the first position [Urkorue - [`01bad1c`](https://github.com/eea/volto-arcgis-block/commit/01bad1c7a2bb629af1607e27916293be346aaf66)]
|
|
13
|
+
- CLMS-2351 (feature): Changed time slider icon to the first position [Urkorue - [`732e6a3`](https://github.com/eea/volto-arcgis-block/commit/732e6a3f21c15c67a85a670971830d48d43cbf8a)]
|
|
14
|
+
### [0.1.169](https://github.com/eea/volto-arcgis-block/compare/0.1.168...0.1.169) - 12 July 2023
|
|
15
|
+
|
|
16
|
+
#### :hammer_and_wrench: Others
|
|
17
|
+
|
|
18
|
+
- CLMS-2369 (bug): Zoom in message for snow product and datasets works again. Download button is displayed again. [ujbolivar - [`7491001`](https://github.com/eea/volto-arcgis-block/commit/749100148776270f87fa2709a0a7266710cca014)]
|
|
7
19
|
### [0.1.168](https://github.com/eea/volto-arcgis-block/compare/0.1.167...0.1.168) - 6 July 2023
|
|
8
20
|
|
|
9
21
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -282,7 +282,11 @@ class MenuWidget extends React.Component {
|
|
|
282
282
|
let items = [...innerDropdown];
|
|
283
283
|
let snowAndIce = null;
|
|
284
284
|
for (let item of items) {
|
|
285
|
-
|
|
285
|
+
let itemParentContainer = item.closest(
|
|
286
|
+
'.map-menu-product-dropdown',
|
|
287
|
+
);
|
|
288
|
+
let productId = itemParentContainer.getAttribute('productid');
|
|
289
|
+
if (productId === '8474c3b080fa42cc837f1d2338fcf096') {
|
|
286
290
|
snowAndIce = item;
|
|
287
291
|
break;
|
|
288
292
|
}
|
|
@@ -2389,23 +2393,6 @@ class MenuWidget extends React.Component {
|
|
|
2389
2393
|
{elem.title}
|
|
2390
2394
|
</div>
|
|
2391
2395
|
<div className="active-layer-options" key={'c_' + elem.id}>
|
|
2392
|
-
{!this.findCheckedDatasetNoServiceToVisualize(elem) && (
|
|
2393
|
-
<span
|
|
2394
|
-
className="map-menu-icon active-layer-extent"
|
|
2395
|
-
onClick={() => this.fullExtent(elem)}
|
|
2396
|
-
onKeyDown={() => this.fullExtent(elem)}
|
|
2397
|
-
tabIndex="0"
|
|
2398
|
-
role="button"
|
|
2399
|
-
>
|
|
2400
|
-
<Popup
|
|
2401
|
-
trigger={
|
|
2402
|
-
<FontAwesomeIcon icon={['fas', 'expand-arrows-alt']} />
|
|
2403
|
-
}
|
|
2404
|
-
content="Full extent"
|
|
2405
|
-
{...popupSettings}
|
|
2406
|
-
/>
|
|
2407
|
-
</span>
|
|
2408
|
-
)}
|
|
2409
2396
|
{elem.parentElement.dataset.timeseries === 'true' && (
|
|
2410
2397
|
<span
|
|
2411
2398
|
className="map-menu-icon active-layer-time"
|
|
@@ -2434,6 +2421,23 @@ class MenuWidget extends React.Component {
|
|
|
2434
2421
|
/>
|
|
2435
2422
|
</span>
|
|
2436
2423
|
)}
|
|
2424
|
+
{!this.findCheckedDatasetNoServiceToVisualize(elem) && (
|
|
2425
|
+
<span
|
|
2426
|
+
className="map-menu-icon active-layer-extent"
|
|
2427
|
+
onClick={() => this.fullExtent(elem)}
|
|
2428
|
+
onKeyDown={() => this.fullExtent(elem)}
|
|
2429
|
+
tabIndex="0"
|
|
2430
|
+
role="button"
|
|
2431
|
+
>
|
|
2432
|
+
<Popup
|
|
2433
|
+
trigger={
|
|
2434
|
+
<FontAwesomeIcon icon={['fas', 'expand-arrows-alt']} />
|
|
2435
|
+
}
|
|
2436
|
+
content="Full extent"
|
|
2437
|
+
{...popupSettings}
|
|
2438
|
+
/>
|
|
2439
|
+
</span>
|
|
2440
|
+
)}
|
|
2437
2441
|
<span
|
|
2438
2442
|
className="map-menu-icon active-layer-opacity"
|
|
2439
2443
|
onClick={(e) => this.showOpacity(elem, e)}
|
|
@@ -3551,5 +3555,4 @@ class MenuWidget extends React.Component {
|
|
|
3551
3555
|
);
|
|
3552
3556
|
}
|
|
3553
3557
|
}
|
|
3554
|
-
|
|
3555
3558
|
export default MenuWidget;
|