@opengeoweb/store 19.1.0 → 19.1.1
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/dist/README.md +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +10819 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/store/common/auth/index.d.ts +3 -0
- package/dist/src/store/common/auth/reducer.d.ts +14 -0
- package/dist/src/store/common/auth/selectors.d.ts +87 -0
- package/dist/src/store/common/auth/types.d.ts +22 -0
- package/dist/src/store/common/index.d.ts +81 -0
- package/dist/src/store/common/listener.d.ts +2 -0
- package/dist/src/store/common/types.d.ts +6 -0
- package/dist/src/store/drawingTool/index.d.ts +4 -0
- package/dist/src/store/drawingTool/listener.d.ts +3 -0
- package/dist/src/store/drawingTool/reducer.d.ts +45 -0
- package/dist/src/store/drawingTool/selectors.d.ts +347 -0
- package/dist/src/store/drawingTool/testUtils.d.ts +1 -0
- package/dist/src/store/drawingTool/utils.d.ts +1 -0
- package/dist/src/store/generic/actions.d.ts +28 -0
- package/dist/src/store/generic/hooks.d.ts +6 -0
- package/dist/src/store/generic/index.d.ts +27 -0
- package/dist/src/store/generic/linking/constants.d.ts +6 -0
- package/dist/src/store/generic/linking/index.d.ts +2 -0
- package/dist/src/store/generic/linking/utils.d.ts +9 -0
- package/dist/src/store/generic/listener.d.ts +2 -0
- package/dist/src/store/generic/loadingIndicator/constants.d.ts +1 -0
- package/dist/src/store/generic/loadingIndicator/index.d.ts +3 -0
- package/dist/src/store/generic/loadingIndicator/reducer.d.ts +13 -0
- package/dist/src/store/generic/loadingIndicator/selectors.d.ts +337 -0
- package/dist/src/store/generic/loadingIndicator/types.d.ts +22 -0
- package/dist/src/store/generic/selectors.d.ts +715 -0
- package/dist/src/store/generic/syncGroups/__mocks__/mockState.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/constants.d.ts +5 -0
- package/dist/src/store/generic/syncGroups/featureGroupUtils.d.ts +11 -0
- package/dist/src/store/generic/syncGroups/featureLinks.d.ts +6 -0
- package/dist/src/store/generic/syncGroups/featureSyncLayers.d.ts +10 -0
- package/dist/src/store/generic/syncGroups/hooks.d.ts +20 -0
- package/dist/src/store/generic/syncGroups/index.d.ts +13 -0
- package/dist/src/store/generic/syncGroups/listener.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/reducer.d.ts +62 -0
- package/dist/src/store/generic/syncGroups/selector.d.ts +50 -0
- package/dist/src/store/generic/syncGroups/selectors.d.ts +235 -0
- package/dist/src/store/generic/syncGroups/syncSourceDisplayName.d.ts +2 -0
- package/dist/src/store/generic/syncGroups/types.d.ts +200 -0
- package/dist/src/store/generic/syncGroups/utils.d.ts +76 -0
- package/dist/src/store/generic/synchronizationActions/actions.d.ts +11 -0
- package/dist/src/store/generic/synchronizationActions/types.d.ts +43 -0
- package/dist/src/store/generic/types.d.ts +24 -0
- package/dist/src/store/generic/utils.d.ts +9 -0
- package/dist/src/store/index.d.ts +22 -0
- package/dist/src/store/map/index.d.ts +5 -0
- package/dist/src/store/map/layer/index.d.ts +6 -0
- package/dist/src/store/map/layer/listeners.d.ts +2 -0
- package/dist/src/store/map/layer/reducer.d.ts +94 -0
- package/dist/src/store/map/layer/selectors.d.ts +2547 -0
- package/dist/src/store/map/layer/types.d.ts +198 -0
- package/dist/src/store/map/layer/utils.d.ts +41 -0
- package/dist/src/store/map/map/actions.d.ts +9 -0
- package/dist/src/store/map/map/constants.d.ts +3 -0
- package/dist/src/store/map/map/enums.d.ts +3 -0
- package/dist/src/store/map/map/filterLayers.d.ts +10 -0
- package/dist/src/store/map/map/index.d.ts +26 -0
- package/dist/src/store/map/map/listener.d.ts +4 -0
- package/dist/src/store/map/map/mapListenerAnimationUtils.d.ts +28 -0
- package/dist/src/store/map/map/metronomeListener.d.ts +2 -0
- package/dist/src/store/map/map/olMapListenerAnimationUtils.d.ts +46 -0
- package/dist/src/store/map/map/reducer.d.ts +142 -0
- package/dist/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -0
- package/dist/src/store/map/map/selectors.d.ts +3533 -0
- package/dist/src/store/map/map/types.d.ts +328 -0
- package/dist/src/store/map/map/utils.d.ts +87 -0
- package/dist/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/dist/src/store/map/service/index.d.ts +4 -0
- package/dist/src/store/map/service/listener.d.ts +5 -0
- package/dist/src/store/map/service/localStorage.d.ts +3 -0
- package/dist/src/store/map/service/reducer.d.ts +10 -0
- package/dist/src/store/map/service/selectors.d.ts +386 -0
- package/dist/src/store/map/service/types.d.ts +53 -0
- package/dist/src/store/map/storeTestSettings.d.ts +8 -0
- package/dist/src/store/map/storeTestUtils.d.ts +17 -0
- package/dist/src/store/map/types.d.ts +11 -0
- package/dist/src/store/mapStore/openlayers/listener.d.ts +2 -0
- package/dist/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +26 -0
- package/dist/src/store/router/index.d.ts +2 -0
- package/dist/src/store/router/listener.d.ts +2 -0
- package/dist/src/store/router/reducer.d.ts +9 -0
- package/dist/src/store/router/types.d.ts +9 -0
- package/dist/src/store/router/utils.d.ts +4 -0
- package/dist/src/store/store.d.ts +37 -0
- package/dist/src/store/types.d.ts +7 -0
- package/dist/src/store/ui/index.d.ts +5 -0
- package/dist/src/store/ui/reducer.d.ts +39 -0
- package/dist/src/store/ui/selectors.d.ts +234 -0
- package/dist/src/store/ui/types.d.ts +98 -0
- package/dist/src/store/ui/useSetupDialog.d.ts +11 -0
- package/dist/src/store/unifyReducerMaps.d.ts +3 -0
- package/dist/src/store/utils.d.ts +6 -0
- package/package.json +3 -2
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { Action } from '@reduxjs/toolkit';
|
|
2
|
+
import type { FeatureCollection } from 'geojson';
|
|
3
|
+
import type { LayerFoundation } from '@opengeoweb/webmap';
|
|
4
|
+
import type { UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
5
|
+
import type { SyncGroupActionOrigin } from '../../generic/syncGroups/types';
|
|
6
|
+
import type { uiTypes } from '../../ui';
|
|
7
|
+
import type { Dimension } from '../map/types';
|
|
8
|
+
export declare enum LayerStatus {
|
|
9
|
+
default = "default",
|
|
10
|
+
error = "error"
|
|
11
|
+
}
|
|
12
|
+
export declare enum LayerActionOrigin {
|
|
13
|
+
layerManager = "layerManager",
|
|
14
|
+
wmsLoader = "WMSLayerTreeConnect",
|
|
15
|
+
ReactMapViewParseLayer = "ReactMapViewParseLayer",
|
|
16
|
+
updateLayerInformationListener = "updateLayerInformationListener",
|
|
17
|
+
toggleAutoUpdateListener = "toggleAutoUpdateListener",
|
|
18
|
+
unregisterMapListener = "unregisterMapListener",
|
|
19
|
+
dataExplorer = "dataExplorer",
|
|
20
|
+
legend = "legend",
|
|
21
|
+
featureSync = "featureSync"
|
|
22
|
+
}
|
|
23
|
+
export interface FeatureLayer {
|
|
24
|
+
geojson?: FeatureCollection;
|
|
25
|
+
originalId?: string;
|
|
26
|
+
defaultGeoJSONProperties?: GeoJSON.GeoJsonProperties;
|
|
27
|
+
selectedFeatureIds?: string[];
|
|
28
|
+
hoveredFeatureIds?: string[];
|
|
29
|
+
isInEditMode?: boolean;
|
|
30
|
+
drawMode?: string;
|
|
31
|
+
isSelectable?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface FeatureSyncLayerMetadata {
|
|
34
|
+
sourcePanelId: string;
|
|
35
|
+
featureLayerKey: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ReduxLayer is used to reflect the shape of the layer in the redux layers store.
|
|
39
|
+
* It is a subset of Layer since some properties like the styles list now come from the service store.
|
|
40
|
+
*/
|
|
41
|
+
export interface ReduxLayer extends LayerFoundation, FeatureLayer {
|
|
42
|
+
dimensions?: Dimension[];
|
|
43
|
+
mapId?: string;
|
|
44
|
+
status?: LayerStatus;
|
|
45
|
+
useLatestReferenceTime?: boolean;
|
|
46
|
+
featureSync?: FeatureSyncLayerMetadata;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Layer is used to define a layer with all its possible properties.
|
|
50
|
+
*/
|
|
51
|
+
export interface Layer extends ReduxLayer {
|
|
52
|
+
headers?: Headers[];
|
|
53
|
+
}
|
|
54
|
+
export interface AvailableBaseLayersType {
|
|
55
|
+
byId: Record<string, ReduxLayer>;
|
|
56
|
+
allIds: string[];
|
|
57
|
+
}
|
|
58
|
+
export interface LayerState {
|
|
59
|
+
byId: Record<string, ReduxLayer>;
|
|
60
|
+
allIds: string[];
|
|
61
|
+
availableBaseLayers: AvailableBaseLayersType;
|
|
62
|
+
activeLayerInfo?: {
|
|
63
|
+
layerName: string;
|
|
64
|
+
serviceUrl: string;
|
|
65
|
+
style?: string;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface LayerPayload {
|
|
69
|
+
layerId: string;
|
|
70
|
+
origin?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface SetLayersPayload {
|
|
73
|
+
mapId: string;
|
|
74
|
+
layers: ReduxLayer[];
|
|
75
|
+
origin?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface SetBaseLayersPayload {
|
|
78
|
+
mapId: string;
|
|
79
|
+
layers: ReduxLayer[];
|
|
80
|
+
origin?: LayerActionOrigin | SyncGroupActionOrigin.layerActions;
|
|
81
|
+
}
|
|
82
|
+
export interface SetLayerOpacityPayload extends LayerPayload {
|
|
83
|
+
opacity: number;
|
|
84
|
+
mapId?: string;
|
|
85
|
+
origin?: LayerActionOrigin;
|
|
86
|
+
}
|
|
87
|
+
export interface SetLayerNamePayload extends LayerPayload {
|
|
88
|
+
name: string;
|
|
89
|
+
mapId?: string;
|
|
90
|
+
origin?: LayerActionOrigin;
|
|
91
|
+
}
|
|
92
|
+
export interface SetLayerServicePayload extends LayerPayload {
|
|
93
|
+
service: string;
|
|
94
|
+
mapId?: string;
|
|
95
|
+
origin?: LayerActionOrigin;
|
|
96
|
+
}
|
|
97
|
+
export interface SetLayerOptionsPayload extends LayerPayload {
|
|
98
|
+
options: LayerFoundation['options'];
|
|
99
|
+
mapId?: string;
|
|
100
|
+
origin?: LayerActionOrigin;
|
|
101
|
+
}
|
|
102
|
+
export interface SetLayerEnabledPayload extends LayerPayload {
|
|
103
|
+
enabled: boolean;
|
|
104
|
+
mapId?: string;
|
|
105
|
+
origin?: LayerActionOrigin;
|
|
106
|
+
}
|
|
107
|
+
export interface SetLayerDimensionPayload extends LayerPayload {
|
|
108
|
+
dimension: Dimension;
|
|
109
|
+
service?: string;
|
|
110
|
+
origin?: LayerActionOrigin;
|
|
111
|
+
mapId?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface SetLayerGeojsonPayload extends LayerPayload {
|
|
114
|
+
geojson: FeatureCollection;
|
|
115
|
+
}
|
|
116
|
+
export interface SetLayerGeojsonFromLayerPayload extends LayerPayload {
|
|
117
|
+
sourceLayerId: string;
|
|
118
|
+
}
|
|
119
|
+
export interface DeleteLayerPayload extends LayerPayload {
|
|
120
|
+
mapId: string;
|
|
121
|
+
layerIndex?: number;
|
|
122
|
+
origin?: LayerActionOrigin | SyncGroupActionOrigin.delete;
|
|
123
|
+
}
|
|
124
|
+
export interface AddLayerPayload {
|
|
125
|
+
mapId: string;
|
|
126
|
+
layerId: string;
|
|
127
|
+
layer: Layer;
|
|
128
|
+
origin: string;
|
|
129
|
+
}
|
|
130
|
+
export interface DuplicateMapLayerPayload {
|
|
131
|
+
mapId: string;
|
|
132
|
+
oldLayerId: string;
|
|
133
|
+
newLayerId: string;
|
|
134
|
+
origin: string;
|
|
135
|
+
}
|
|
136
|
+
export interface AddBaseLayerPayload {
|
|
137
|
+
mapId: string;
|
|
138
|
+
layerId: string;
|
|
139
|
+
layer: Layer;
|
|
140
|
+
origin?: string;
|
|
141
|
+
}
|
|
142
|
+
export interface AddAvailableBaseLayerPayload {
|
|
143
|
+
layer: Layer;
|
|
144
|
+
origin?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface AddAvailableBaseLayersPayload {
|
|
147
|
+
layers: ReduxLayer[];
|
|
148
|
+
origin?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface SetAvailableBaseLayersPayload extends AddAvailableBaseLayersPayload {
|
|
151
|
+
mapId: string;
|
|
152
|
+
}
|
|
153
|
+
export interface ErrorLayerPayload extends LayerPayload {
|
|
154
|
+
error: string;
|
|
155
|
+
}
|
|
156
|
+
export interface UpdateLayerInfo extends Action {
|
|
157
|
+
type: `layerReducer/onUpdateLayerInformation`;
|
|
158
|
+
payload: UpdateLayerInfoPayload;
|
|
159
|
+
}
|
|
160
|
+
export interface SetSelectedFeaturesPayload extends LayerPayload {
|
|
161
|
+
selectedFeatureIds?: string[];
|
|
162
|
+
}
|
|
163
|
+
export interface SetHoveredFeaturesPayload extends LayerPayload {
|
|
164
|
+
hoveredFeatureIds?: string[];
|
|
165
|
+
}
|
|
166
|
+
export interface UpdateFeaturePayload extends LayerPayload {
|
|
167
|
+
geojson: GeoJSON.FeatureCollection;
|
|
168
|
+
shouldAllowMultipleShapes?: boolean;
|
|
169
|
+
reason?: string;
|
|
170
|
+
geoJSONIntersectionLayerId?: string;
|
|
171
|
+
geoJSONIntersectionBoundsLayerId?: string;
|
|
172
|
+
selectionType?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface UpdateFeaturePropertiesPayload extends LayerPayload {
|
|
175
|
+
properties: GeoJSON.GeoJsonProperties;
|
|
176
|
+
targetFeatureIndex?: number;
|
|
177
|
+
}
|
|
178
|
+
export interface ToggleFeatureModePayload extends LayerPayload {
|
|
179
|
+
isInEditMode?: boolean;
|
|
180
|
+
drawMode?: string;
|
|
181
|
+
}
|
|
182
|
+
export interface ExitFeatureDrawModePayload extends LayerPayload {
|
|
183
|
+
reason: string;
|
|
184
|
+
shouldAllowMultipleShapes?: boolean;
|
|
185
|
+
}
|
|
186
|
+
export interface ShowLayerInfoPayload {
|
|
187
|
+
serviceUrl: string;
|
|
188
|
+
layerName: string;
|
|
189
|
+
mapId: string;
|
|
190
|
+
source?: uiTypes.Source;
|
|
191
|
+
style?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface SetLayerLegendVisibilityPayload {
|
|
194
|
+
layerId: string;
|
|
195
|
+
showLayerLegend: boolean;
|
|
196
|
+
mapId: string;
|
|
197
|
+
origin: string;
|
|
198
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { WMJSDimension } from '@opengeoweb/webmap';
|
|
3
|
+
import type { Dimension, ReduxLayer } from '../types';
|
|
4
|
+
import type { LayerState } from './types';
|
|
5
|
+
export declare const getFeatureSelectionKey: (feature?: GeoJSON.Feature) => string | undefined;
|
|
6
|
+
export declare const getSelectedFeatureIndexByIds: (geojson: GeoJSON.FeatureCollection | undefined, selectedFeatureIds: string[] | undefined) => number | undefined;
|
|
7
|
+
export declare const isActionLayerSynced: (state: LayerState, layerIdFromAction: string, dimension: Dimension) => boolean;
|
|
8
|
+
export declare const produceDimensionActionForMapLayer: (layerDim: Dimension, wmjsDimension: WMJSDimension, newDimension: Dimension) => Dimension;
|
|
9
|
+
/**
|
|
10
|
+
* Reset the selection only for the re-initialized layer when its value is no
|
|
11
|
+
* longer selectable. Duplicate layers keep their own selection, so toggling
|
|
12
|
+
* one layer's visibility never changes another's. Time dimensions are excluded.
|
|
13
|
+
*/
|
|
14
|
+
export declare const shouldResetCurrentValueToParsedValue: (dimension: Dimension, isReinitializedLayer: boolean, wmDimension: WMJSDimension | undefined, parsedValues: string | undefined) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* For the given dimension, it creates a new draft state for all other (linked or synced) layers inside the map.
|
|
17
|
+
* @param draft
|
|
18
|
+
* @param dimension
|
|
19
|
+
* @param mapId
|
|
20
|
+
*/
|
|
21
|
+
export declare const produceDraftStateForAllLayersForDimensionWithinMap: (draft: Draft<LayerState>, dimension: Dimension, mapId: string, layerIdFromAction: string) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the list of dimensions without the time dimension
|
|
24
|
+
* @param dimensions Dimension[]
|
|
25
|
+
*/
|
|
26
|
+
export declare const filterNonTimeDimensions: (dimensions: Dimension[]) => Dimension[];
|
|
27
|
+
/**
|
|
28
|
+
* Returns the list of dimensions without the time dimension
|
|
29
|
+
* @param dimensions Dimension[]
|
|
30
|
+
*/
|
|
31
|
+
export declare const filterCurrentValueFromDimensions: (dimensions: Dimension[]) => Dimension[];
|
|
32
|
+
/**
|
|
33
|
+
* The timeslider range is depending on values set via reference_time dimension.
|
|
34
|
+
* This code will update minValue and maxValue accordingly based on the value of the reference_time.
|
|
35
|
+
*
|
|
36
|
+
* @param draft
|
|
37
|
+
* @param layerId
|
|
38
|
+
* @param dimensionValueToUpdate
|
|
39
|
+
* @returns
|
|
40
|
+
*/
|
|
41
|
+
export declare const updateMinMaxValueWhenReferenceTimeChanges: (draftLayer: Draft<ReduxLayer>, dimensionValueToUpdate: Dimension) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SetMapDimensionPayload } from '@opengeoweb/webmap-react';
|
|
2
|
+
import type { SetMapPresetPayload } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* These actions causes circular dependency if they are defined in the reducer.ts file.
|
|
5
|
+
* Therefor they are instead added to this file
|
|
6
|
+
* https://redux-toolkit.js.org/usage/usage-guide#exporting-and-using-slices
|
|
7
|
+
*/
|
|
8
|
+
export declare const mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapDimensionPayload, string>;
|
|
9
|
+
export declare const setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapPresetPayload, string>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { layerTypes } from '../layer';
|
|
2
|
+
export declare const filterLayers: (layers?: layerTypes.Layer[], layerParser?: (layer: layerTypes.Layer) => layerTypes.Layer) => FilteredLayerList;
|
|
3
|
+
export declare const createEmtpyFilteredList: (existingList: []) => FilteredLayerList;
|
|
4
|
+
export interface FilteredLayerList {
|
|
5
|
+
mapLayers: layerTypes.Layer[];
|
|
6
|
+
baseLayers: layerTypes.Layer[];
|
|
7
|
+
overLayers?: layerTypes.Layer[];
|
|
8
|
+
}
|
|
9
|
+
export declare const parseBoolean: (value: string | boolean) => boolean;
|
|
10
|
+
export declare const parseLayer: (layer: layerTypes.Layer) => layerTypes.Layer;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as mapTypes from './types';
|
|
2
|
+
import * as utils from './utils';
|
|
3
|
+
export declare const mapUtils: {
|
|
4
|
+
replaceLayerIdsToEnsureUniqueLayerIdsInStore: (layerIds: import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds) => import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds;
|
|
5
|
+
moveArrayElements<T>(array: T[], oldIndex: number, newIndex: number): T[];
|
|
6
|
+
dateFormat: "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
7
|
+
createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, shouldEndtimeOverride, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, autoUpdateLayerId, autoTimeStepLayerId, timeSliderSpan, timeStep, animationDelay, timeSliderWidth, timeSliderCenterTime, timeSliderSecondsPerPx, isTimestepAuto, isTimeSpanAuto, isTimeSliderHoverOn, isTimeSliderVisible, displayMapPin, disableMapPin, shouldShowZoomControls, }: utils.CreateMapProps) => mapTypes.WebMap;
|
|
8
|
+
checkValidLayersPayload: (layers: import("../types").Layer[], mapId: string) => boolean;
|
|
9
|
+
getDraftMapById: (mapId: string, draft: mapTypes.WebMapState) => mapTypes.WebMap;
|
|
10
|
+
produceDraftStateSetWebMapDimension: (draft: mapTypes.WebMapState, mapId: string, dimensionFromAction: mapTypes.Dimension, overwriteCurrentValue: boolean) => void;
|
|
11
|
+
findMapIdFromLayerId: (mapState?: mapTypes.WebMapState, layerId?: string) => string | null;
|
|
12
|
+
produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: mapTypes.WebMapState, layerId: string, dimension: mapTypes.Dimension) => void;
|
|
13
|
+
getTimeStepFromDataInterval: (timeInterval: import("@opengeoweb/webmap").TimeInterval) => number;
|
|
14
|
+
getSpeedFactor: (speedDelay: number) => import("@opengeoweb/time-slider").SpeedFactorType;
|
|
15
|
+
getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
|
|
16
|
+
generateAnimationList: (unixAnimationStart: number, unixAnimationEnd: number, timeValues: string | undefined, animationInterval?: number) => mapTypes.WebMapAnimationList;
|
|
17
|
+
parseTimeDimToISO8601Interval: (timeInterval: string | undefined) => mapTypes.ISO8601Interval[];
|
|
18
|
+
produceTimeSliderTimeSpan: (draft: import("immer").Draft<mapTypes.WebMapState>, mapId: string, timeSliderSpan: number) => void;
|
|
19
|
+
};
|
|
20
|
+
export { mapTypes };
|
|
21
|
+
export { mapActions, mapReducer } from './reducer';
|
|
22
|
+
export * as mapSelectors from './selectors';
|
|
23
|
+
export * as mapEnums from './enums';
|
|
24
|
+
export * from './constants';
|
|
25
|
+
export { defaultLayers } from '@opengeoweb/webmap-react';
|
|
26
|
+
export * as filterLayers from './filterLayers';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { UnknownAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
+
import type { WebMapStateModuleState } from '../types';
|
|
3
|
+
export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
|
|
4
|
+
export declare const mapListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, UnknownAction>, unknown>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the next step for given timerId.
|
|
3
|
+
* @param timerId The timer id
|
|
4
|
+
* @param numberOfStepsInAnimation Animation length in steps
|
|
5
|
+
* @param numStepsToGoForward Amount of steps to go forwards, defaults to 1. Can be positive and negative
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare const getNextStep: (timerId: string, numberOfStepsInAnimation: number, numStepsToGoForward?: number) => number;
|
|
9
|
+
/**
|
|
10
|
+
* Handles dwell at the end of the animation loop sequence. The number of steps to wait till proceed can be set by the dwell parameter.
|
|
11
|
+
* @param timerId The timer id
|
|
12
|
+
* @param numberOfStepsInAnimation Number of steps in the animation
|
|
13
|
+
* @param dwell The number of steps to wait at the end of the animation sequence before to continue
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare const handleTimerDwell: (timerId: string, numberOfStepsInAnimation: number, dwell?: number) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Set step for the timerId
|
|
19
|
+
* @param timerId
|
|
20
|
+
* @param timerStep
|
|
21
|
+
*/
|
|
22
|
+
export declare const setStep: (timerId: string, timerStep: number) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the current step for the timer
|
|
25
|
+
* @param timerId
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
export declare const getCurrentStep: (timerId: string) => number;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Dispatch, ListenerEffectAPI } from '@reduxjs/toolkit';
|
|
2
|
+
import type { CoreAppStore } from '../../types';
|
|
3
|
+
import type { ReduxLayer } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Returns the next step for given timerId.
|
|
6
|
+
* @param timerId The timer id
|
|
7
|
+
* @param numberOfStepsInAnimation Animation length in steps
|
|
8
|
+
* @param numStepsToGoForward Amount of steps to go forwards, defaults to 1. Can be positive and negative
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare const getNextStep: (timerId: string, numberOfStepsInAnimation: number, numStepsToGoForward?: number) => number;
|
|
12
|
+
/**
|
|
13
|
+
* Handles dwell at the end of the animation loop sequence. The number of steps to wait till proceed can be set by the dwell parameter.
|
|
14
|
+
* @param timerId The timer id
|
|
15
|
+
* @param numberOfStepsInAnimation Number of steps in the animation
|
|
16
|
+
* @param dwell The number of steps to wait at the end of the animation sequence before to continue
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
export declare const handleTimerDwell: (timerId: string, numberOfStepsInAnimation: number, dwell?: number) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Set step for the timerId
|
|
22
|
+
* @param timerId
|
|
23
|
+
* @param timerStep
|
|
24
|
+
*/
|
|
25
|
+
export declare const setStep: (timerId: string, timerStep: number) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the current step for the timer
|
|
28
|
+
* @param timerId
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
export declare const getCurrentStep: (timerId: string) => number;
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the next step is available for all provided layers
|
|
34
|
+
* @param reduxLayers
|
|
35
|
+
* @param nextTimeString
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
38
|
+
export declare const isNextStepAvailable: (reduxLayers: ReduxLayer[], nextTimeString: string) => boolean;
|
|
39
|
+
/**
|
|
40
|
+
* This handler is triggered by the metronome. An array of timerIds is given as argument.
|
|
41
|
+
* It will update the animation loop of multiple maps and sliders
|
|
42
|
+
* It will prefetch images for maps
|
|
43
|
+
* @param timerIds string[] array of timerIds
|
|
44
|
+
* @param listenerApi ListenerEffectAPI<CoreAppStore, Dispatch, unknown> listenerApi as received from listener
|
|
45
|
+
*/
|
|
46
|
+
export declare const olMetronomeHandler: (timerIds: string[], listenerApi: ListenerEffectAPI<CoreAppStore, Dispatch, unknown>) => void;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { MapPinLocationPayload, SetBboxPayload, SetStepBackWardOrForward, UpdateAllMapDimensionsPayload } from '@opengeoweb/webmap-react';
|
|
3
|
+
import type { WebMapState, SetAutoLayerIdPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, DisableMapPinPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize, SetDockedLayerManagerPosition, SetDockedLayerManagerDimensions, ToggleAnimationLengthAutoPayload, SetDefaultMapSettingsPayload, ToggleClockPayload, SetClockPositionSizePayload } from './types';
|
|
4
|
+
import type { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
|
+
import type { MapActionOrigin } from './enums';
|
|
6
|
+
/**
|
|
7
|
+
* Checks if the layer id is already taken in one of the maps.
|
|
8
|
+
* @param state The WebMapState
|
|
9
|
+
* @param layerIdToCheck The layerId to check
|
|
10
|
+
* @returns true if the layerId is already taken somewhere else.
|
|
11
|
+
*/
|
|
12
|
+
export declare const checkIfMapLayerIdIsAlreadyTaken: (state: WebMapState, layerId: string) => boolean;
|
|
13
|
+
export declare const initialState: WebMapState;
|
|
14
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
15
|
+
registerMap: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
16
|
+
mapId: string;
|
|
17
|
+
}>) => void;
|
|
18
|
+
unregisterMap: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
19
|
+
mapId: string;
|
|
20
|
+
}>) => void;
|
|
21
|
+
setStepBackwardOrForward: (_draft: Draft<WebMapState>, _action: PayloadAction<SetStepBackWardOrForward>) => void;
|
|
22
|
+
setBbox: (draft: Draft<WebMapState>, action: PayloadAction<SetBboxPayload>) => void;
|
|
23
|
+
mapUpdateAllMapDimensions: (draft: Draft<WebMapState>, action: PayloadAction<UpdateAllMapDimensionsPayload>) => void;
|
|
24
|
+
mapStartAnimation: (draft: Draft<WebMapState>, action: PayloadAction<SetMapAnimationStartPayload>) => void;
|
|
25
|
+
mapStopAnimation: (draft: Draft<WebMapState>, action: PayloadAction<SetMapAnimationStopPayload>) => void;
|
|
26
|
+
setTimeSliderSpan: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderSpanPayload>) => void;
|
|
27
|
+
setTimeStep: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeStepPayload>) => void;
|
|
28
|
+
setAnimationStartTime: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationStartTimePayload>) => void;
|
|
29
|
+
setAnimationEndTime: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationEndTimePayload>) => void;
|
|
30
|
+
setAnimationDelay: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationDelayPayload>) => void;
|
|
31
|
+
layerMoveLayer: (draft: Draft<WebMapState>, action: PayloadAction<MoveLayerPayload>) => void;
|
|
32
|
+
setAutoLayerId: (draft: Draft<WebMapState>, action: PayloadAction<SetAutoLayerIdPayload>) => void;
|
|
33
|
+
setAutoTimestepLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
34
|
+
mapId: string;
|
|
35
|
+
autoTimestepLayerId: string | undefined;
|
|
36
|
+
origin?: MapActionOrigin;
|
|
37
|
+
}>) => void;
|
|
38
|
+
setAutoUpdateLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
39
|
+
mapId: string;
|
|
40
|
+
autoUpdateLayerId: string | undefined;
|
|
41
|
+
origin?: MapActionOrigin;
|
|
42
|
+
}>) => void;
|
|
43
|
+
setTimeSliderWidth: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderWidthPayload>) => void;
|
|
44
|
+
setTimeSliderCenterTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
|
|
45
|
+
toggleAutoUpdate: (draft: Draft<WebMapState>, action: PayloadAction<ToggleAutoUpdatePayload>) => void;
|
|
46
|
+
setEndTimeOverriding: (draft: Draft<WebMapState>, action: PayloadAction<SetEndTimeOverriding>) => void;
|
|
47
|
+
toggleTimestepAuto: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimestepAutoPayload>) => void;
|
|
48
|
+
toggleTimeSpanAuto: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSpanAutoPayload>) => void;
|
|
49
|
+
toggleAnimationLengthAuto: (draft: Draft<WebMapState>, action: PayloadAction<ToggleAnimationLengthAutoPayload>) => void;
|
|
50
|
+
toggleTimeSliderHover: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSliderHoverPayload>) => void;
|
|
51
|
+
toggleTimeSliderIsVisible: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSliderIsVisiblePayload>) => void;
|
|
52
|
+
toggleZoomControls: (draft: Draft<WebMapState>, action: PayloadAction<ToggleZoomControlsPayload>) => void;
|
|
53
|
+
setMapPinLocation: (draft: Draft<WebMapState>, action: PayloadAction<MapPinLocationPayload>) => void;
|
|
54
|
+
setDisableMapPin: (draft: Draft<WebMapState>, action: PayloadAction<DisableMapPinPayload>) => void;
|
|
55
|
+
toggleMapPinIsVisible: (draft: Draft<WebMapState>, action: PayloadAction<ToggleMapPinIsVisiblePayload>) => void;
|
|
56
|
+
setDockedLayerManagerSize: (draft: Draft<WebMapState>, action: PayloadAction<SetDockedLayerManagerSize>) => void;
|
|
57
|
+
setDockedLayerManagerPosition: (draft: Draft<WebMapState>, action: PayloadAction<SetDockedLayerManagerPosition>) => void;
|
|
58
|
+
setDockedLayerManagerDimensions: (draft: Draft<WebMapState>, action: PayloadAction<SetDockedLayerManagerDimensions>) => void;
|
|
59
|
+
setMapPresetError: (_draft: Draft<WebMapState>, _action: PayloadAction<{
|
|
60
|
+
mapId: string;
|
|
61
|
+
error?: string;
|
|
62
|
+
}>) => void;
|
|
63
|
+
setDefaultMapSettings: (draft: Draft<WebMapState>, action: PayloadAction<SetDefaultMapSettingsPayload>) => void;
|
|
64
|
+
changeOverlayer: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
65
|
+
mapId: string;
|
|
66
|
+
selectedOverlayer: string;
|
|
67
|
+
origin: string;
|
|
68
|
+
}>) => void;
|
|
69
|
+
toggleClock: (draft: Draft<WebMapState>, action: PayloadAction<ToggleClockPayload>) => void;
|
|
70
|
+
toggleClockOptions: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
71
|
+
mapId: string;
|
|
72
|
+
isClockOptionsMenuVisible: boolean;
|
|
73
|
+
origin?: string;
|
|
74
|
+
}>) => void;
|
|
75
|
+
setClockPositionSize: (draft: Draft<WebMapState>, action: PayloadAction<SetClockPositionSizePayload>) => void;
|
|
76
|
+
}, "mapReducer", "mapReducer", import("@reduxjs/toolkit").SliceSelectors<WebMapState>>;
|
|
77
|
+
export declare const mapActions: {
|
|
78
|
+
setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapPresetPayload, string>;
|
|
79
|
+
mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@opengeoweb/webmap-react").SetMapDimensionPayload, string>;
|
|
80
|
+
registerMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
81
|
+
mapId: string;
|
|
82
|
+
}, "mapReducer/registerMap">;
|
|
83
|
+
unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
84
|
+
mapId: string;
|
|
85
|
+
}, "mapReducer/unregisterMap">;
|
|
86
|
+
setStepBackwardOrForward: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetStepBackWardOrForward, "mapReducer/setStepBackwardOrForward">;
|
|
87
|
+
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetBboxPayload, "mapReducer/setBbox">;
|
|
88
|
+
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateAllMapDimensionsPayload, "mapReducer/mapUpdateAllMapDimensions">;
|
|
89
|
+
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapAnimationStartPayload, "mapReducer/mapStartAnimation">;
|
|
90
|
+
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapAnimationStopPayload, "mapReducer/mapStopAnimation">;
|
|
91
|
+
setTimeSliderSpan: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSpanPayload, "mapReducer/setTimeSliderSpan">;
|
|
92
|
+
setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeStepPayload, "mapReducer/setTimeStep">;
|
|
93
|
+
setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationStartTimePayload, "mapReducer/setAnimationStartTime">;
|
|
94
|
+
setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationEndTimePayload, "mapReducer/setAnimationEndTime">;
|
|
95
|
+
setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationDelayPayload, "mapReducer/setAnimationDelay">;
|
|
96
|
+
layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveLayerPayload, "mapReducer/layerMoveLayer">;
|
|
97
|
+
setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAutoLayerIdPayload, "mapReducer/setAutoLayerId">;
|
|
98
|
+
setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
99
|
+
mapId: string;
|
|
100
|
+
autoTimestepLayerId: string | undefined;
|
|
101
|
+
origin?: MapActionOrigin;
|
|
102
|
+
}, "mapReducer/setAutoTimestepLayerId">;
|
|
103
|
+
setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
104
|
+
mapId: string;
|
|
105
|
+
autoUpdateLayerId: string | undefined;
|
|
106
|
+
origin?: MapActionOrigin;
|
|
107
|
+
}, "mapReducer/setAutoUpdateLayerId">;
|
|
108
|
+
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
109
|
+
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
|
110
|
+
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
|
|
111
|
+
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
|
|
112
|
+
toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimestepAutoPayload, "mapReducer/toggleTimestepAuto">;
|
|
113
|
+
toggleTimeSpanAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSpanAutoPayload, "mapReducer/toggleTimeSpanAuto">;
|
|
114
|
+
toggleAnimationLengthAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleAnimationLengthAutoPayload, "mapReducer/toggleAnimationLengthAuto">;
|
|
115
|
+
toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderHoverPayload, "mapReducer/toggleTimeSliderHover">;
|
|
116
|
+
toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderIsVisiblePayload, "mapReducer/toggleTimeSliderIsVisible">;
|
|
117
|
+
toggleZoomControls: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleZoomControlsPayload, "mapReducer/toggleZoomControls">;
|
|
118
|
+
setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithPayload<MapPinLocationPayload, "mapReducer/setMapPinLocation">;
|
|
119
|
+
setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithPayload<DisableMapPinPayload, "mapReducer/setDisableMapPin">;
|
|
120
|
+
toggleMapPinIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleMapPinIsVisiblePayload, "mapReducer/toggleMapPinIsVisible">;
|
|
121
|
+
setDockedLayerManagerSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetDockedLayerManagerSize, "mapReducer/setDockedLayerManagerSize">;
|
|
122
|
+
setDockedLayerManagerPosition: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetDockedLayerManagerPosition, "mapReducer/setDockedLayerManagerPosition">;
|
|
123
|
+
setDockedLayerManagerDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetDockedLayerManagerDimensions, "mapReducer/setDockedLayerManagerDimensions">;
|
|
124
|
+
setMapPresetError: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
125
|
+
mapId: string;
|
|
126
|
+
error?: string;
|
|
127
|
+
}, "mapReducer/setMapPresetError">;
|
|
128
|
+
setDefaultMapSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetDefaultMapSettingsPayload, "mapReducer/setDefaultMapSettings">;
|
|
129
|
+
changeOverlayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
130
|
+
mapId: string;
|
|
131
|
+
selectedOverlayer: string;
|
|
132
|
+
origin: string;
|
|
133
|
+
}, "mapReducer/changeOverlayer">;
|
|
134
|
+
toggleClock: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleClockPayload, "mapReducer/toggleClock">;
|
|
135
|
+
toggleClockOptions: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
136
|
+
mapId: string;
|
|
137
|
+
isClockOptionsMenuVisible: boolean;
|
|
138
|
+
origin?: string;
|
|
139
|
+
}, "mapReducer/toggleClockOptions">;
|
|
140
|
+
setClockPositionSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetClockPositionSizePayload, "mapReducer/setClockPositionSize">;
|
|
141
|
+
};
|
|
142
|
+
export declare const mapReducer: import("redux").Reducer<WebMapState>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { layerTypes } from '../layer';
|
|
2
|
+
export interface LayersAndAutoLayerIds {
|
|
3
|
+
layers: layerTypes.Layer[];
|
|
4
|
+
autoTimeStepLayerId?: string;
|
|
5
|
+
autoUpdateLayerId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const replaceLayerIdsToEnsureUniqueLayerIdsInStore: (layerIds: LayersAndAutoLayerIds) => LayersAndAutoLayerIds;
|