@eeacms/volto-arcgis-block 0.1.261 → 0.1.263
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,10 @@ 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.263](https://github.com/eea/volto-arcgis-block/compare/0.1.262...0.1.263) - 29 February 2024
|
|
8
|
+
|
|
9
|
+
### [0.1.262](https://github.com/eea/volto-arcgis-block/compare/0.1.261...0.1.262) - 27 February 2024
|
|
10
|
+
|
|
7
11
|
### [0.1.261](https://github.com/eea/volto-arcgis-block/compare/0.1.260...0.1.261) - 21 February 2024
|
|
8
12
|
|
|
9
13
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -3062,7 +3062,6 @@ class MenuWidget extends React.Component {
|
|
|
3062
3062
|
}
|
|
3063
3063
|
});
|
|
3064
3064
|
if (layers.length === 0 && document.querySelector('.info-container')) {
|
|
3065
|
-
document.querySelector('.info-container').style.display = 'none';
|
|
3066
3065
|
if (
|
|
3067
3066
|
this.props.view.graphics.items.find((a) => {
|
|
3068
3067
|
return a.attributes ? a.attributes.id === 'pixel-info' : false;
|
|
@@ -3077,20 +3076,30 @@ class MenuWidget extends React.Component {
|
|
|
3077
3076
|
this.props.mapViewer.activeWidget?.container.current.className ===
|
|
3078
3077
|
'info-container esri-component'
|
|
3079
3078
|
) {
|
|
3079
|
+
this.props.mapViewer.activeWidget.setState({
|
|
3080
|
+
showMapMenu: false,
|
|
3081
|
+
pixelInfo: false,
|
|
3082
|
+
popup: false,
|
|
3083
|
+
});
|
|
3084
|
+
this.props.mapViewer.setActiveWidget();
|
|
3085
|
+
let rightPanels = document.querySelectorAll('.right-panel');
|
|
3086
|
+
rightPanels.forEach((panel) => {
|
|
3087
|
+
if (
|
|
3088
|
+
panel.parentElement.className === 'info-container esri-component'
|
|
3089
|
+
) {
|
|
3090
|
+
panel.style.display = 'none';
|
|
3091
|
+
}
|
|
3092
|
+
});
|
|
3093
|
+
document
|
|
3094
|
+
.querySelector('.esri-icon-description')
|
|
3095
|
+
.classList.remove('active-widget');
|
|
3080
3096
|
document
|
|
3081
3097
|
.querySelector('.esri-ui-top-right.esri-ui-corner')
|
|
3082
3098
|
.classList.remove('show-panel');
|
|
3083
3099
|
}
|
|
3100
|
+
document.querySelector('.info-container').style.display = 'none';
|
|
3084
3101
|
} else if (layers.length > 0) {
|
|
3085
3102
|
document.querySelector('.info-container').style.display = 'flex';
|
|
3086
|
-
if (
|
|
3087
|
-
this.props.mapViewer.activeWidget?.container.current.className ===
|
|
3088
|
-
'info-container esri-component'
|
|
3089
|
-
) {
|
|
3090
|
-
document
|
|
3091
|
-
.querySelector('.esri-ui-top-right.esri-ui-corner')
|
|
3092
|
-
.classList.add('show-panel');
|
|
3093
|
-
}
|
|
3094
3103
|
}
|
|
3095
3104
|
}
|
|
3096
3105
|
|