@eeacms/volto-arcgis-block 0.1.454 → 0.1.455
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.455](https://github.com/eea/volto-arcgis-block/compare/0.1.454...0.1.455) - 9 June 2026
|
|
8
|
+
|
|
7
9
|
### [0.1.454](https://github.com/eea/volto-arcgis-block/compare/0.1.453...0.1.454) - 8 June 2026
|
|
8
10
|
|
|
9
11
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -7898,13 +7898,61 @@ class MenuWidget extends React.Component {
|
|
|
7898
7898
|
|
|
7899
7899
|
renderTimeslider(elem, layer, fromDownload, hideCalendar) {
|
|
7900
7900
|
if (this.props.view && layer) {
|
|
7901
|
-
let
|
|
7902
|
-
if (
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7901
|
+
let activeLayer = document.getElementById('active_' + elem.id);
|
|
7902
|
+
if (!activeLayer) {
|
|
7903
|
+
if (!this._pendingTimesliderRender) {
|
|
7904
|
+
this._pendingTimesliderRender = {};
|
|
7905
|
+
}
|
|
7906
|
+
if (!this._pendingTimesliderRenderCount) {
|
|
7907
|
+
this._pendingTimesliderRenderCount = {};
|
|
7908
|
+
}
|
|
7909
|
+
if (!this._pendingTimesliderRender[elem.id]) {
|
|
7910
|
+
this._pendingTimesliderRender[elem.id] = true;
|
|
7911
|
+
setTimeout(() => {
|
|
7912
|
+
if (this._pendingTimesliderRender) {
|
|
7913
|
+
this._pendingTimesliderRender[elem.id] = false;
|
|
7914
|
+
}
|
|
7915
|
+
if (!this._pendingTimesliderRenderCount[elem.id]) {
|
|
7916
|
+
this._pendingTimesliderRenderCount[elem.id] = 0;
|
|
7917
|
+
}
|
|
7918
|
+
this._pendingTimesliderRenderCount[elem.id] += 1;
|
|
7919
|
+
if (
|
|
7920
|
+
this.timeLayers &&
|
|
7921
|
+
this.timeLayers[elem.id] &&
|
|
7922
|
+
this.timeLayers[elem.id][1] === 'stop' &&
|
|
7923
|
+
this._pendingTimesliderRenderCount[elem.id] < 6
|
|
7924
|
+
) {
|
|
7925
|
+
let sourceElem = document.getElementById(elem.id) || elem;
|
|
7926
|
+
let order =
|
|
7927
|
+
this.activeLayersJSON && this.activeLayersJSON[elem.id]
|
|
7928
|
+
? this.activeLayersJSON[elem.id].props['layer-order']
|
|
7929
|
+
: 0;
|
|
7930
|
+
if (sourceElem && this.activeLayersJSON) {
|
|
7931
|
+
this.activeLayersJSON[elem.id] = this.addActiveLayer(
|
|
7932
|
+
sourceElem,
|
|
7933
|
+
order,
|
|
7934
|
+
fromDownload,
|
|
7935
|
+
hideCalendar,
|
|
7936
|
+
);
|
|
7937
|
+
}
|
|
7938
|
+
this.setState({});
|
|
7939
|
+
}
|
|
7940
|
+
}, 0);
|
|
7941
|
+
}
|
|
7942
|
+
return null;
|
|
7943
|
+
}
|
|
7944
|
+
if (
|
|
7945
|
+
this._pendingTimesliderRender &&
|
|
7946
|
+
this._pendingTimesliderRender[elem.id]
|
|
7947
|
+
) {
|
|
7948
|
+
this._pendingTimesliderRender[elem.id] = false;
|
|
7949
|
+
}
|
|
7950
|
+
if (
|
|
7951
|
+
this._pendingTimesliderRenderCount &&
|
|
7952
|
+
this._pendingTimesliderRenderCount[elem.id]
|
|
7953
|
+
) {
|
|
7954
|
+
this._pendingTimesliderRenderCount[elem.id] = 0;
|
|
7906
7955
|
}
|
|
7907
|
-
let activeLayer = document.querySelector('#active_' + elemId);
|
|
7908
7956
|
let time = { elem: activeLayer };
|
|
7909
7957
|
if (this.props.download) {
|
|
7910
7958
|
let dataset = document.querySelector('.map-dataset-checkbox input');
|