@opengeoweb/core 2.6.0 → 2.9.0
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/index.esm.js +6741 -7105
- package/index.umd.js +21864 -22115
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +7 -21
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts → ConfigurableMap/ConfigurableMapConnect.d.ts} +11 -17
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts → ConfigurableMap/ConfigurableMapConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.stories.d.ts +7 -0
- package/lib/components/ConfigurableMap/index.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +1 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +4 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +5 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +1 -3
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +3 -2
- package/lib/components/Legend/LegendConnect.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +0 -1
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.d.ts +12 -0
- package/lib/components/{ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts → MultiMapView/ModelRunInterval/ModelRunInterval.spec.d.ts} +0 -0
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.stories.d.ts +4 -0
- package/lib/components/MultiMapView/ModelRunInterval/index.d.ts +1 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -3
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +3 -3
- package/lib/components/ReactMapView/AdagucMapDraw.d.ts +1 -1
- package/lib/components/ReactMapView/AdagucMapDrawTools.d.ts +1 -1
- package/lib/components/SyncGroups/selector.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSlider.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +1 -2
- package/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +1 -1
- package/lib/index.d.ts +5 -4
- package/lib/store/generic/actions.d.ts +3 -4
- package/lib/store/generic/index.d.ts +2 -0
- package/lib/store/generic/sagas.d.ts +7 -6
- package/lib/store/generic/selectors.d.ts +0 -1
- package/lib/store/generic/synchronizationActions/actions.d.ts +6 -5
- package/lib/store/generic/synchronizationActions/types.d.ts +10 -23
- package/lib/store/generic/synchronizationGroups/constants.d.ts +0 -8
- package/lib/store/generic/synchronizationGroups/index.d.ts +1 -2
- package/lib/store/generic/synchronizationGroups/reducer.d.ts +25 -3
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +3 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +0 -2
- package/lib/store/generic/synchronizationGroups/types.d.ts +1 -38
- package/lib/store/generic/types.d.ts +0 -11
- package/lib/store/layerSelect/selectors.d.ts +0 -6
- package/lib/store/layerSelect/types.d.ts +7 -4
- package/lib/store/mapStore/actions.d.ts +1 -1
- package/lib/store/mapStore/constants.d.ts +0 -1
- package/lib/store/mapStore/layers/actions.d.ts +8 -1
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/reducer.d.ts +2 -2
- package/lib/store/mapStore/layers/selectors.d.ts +0 -17
- package/lib/store/mapStore/layers/types.d.ts +11 -3
- package/lib/store/mapStore/map/reducer.d.ts +12 -4
- package/lib/store/mapStore/map/sagas.d.ts +7 -5
- package/lib/store/mapStore/map/selectors.d.ts +40 -35
- package/lib/store/mapStore/map/types.d.ts +39 -96
- package/lib/store/mapStore/map/utils.d.ts +2 -1
- package/lib/store/mapStore/service/selectors.d.ts +0 -7
- package/lib/store/mapStore/service/types.d.ts +2 -0
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/actions.d.ts +8 -1
- package/lib/store/ui/constants.d.ts +1 -0
- package/lib/store/ui/reducer.d.ts +2 -8
- package/lib/store/ui/selectors.d.ts +11 -8
- package/lib/store/ui/types.d.ts +13 -3
- package/lib/types/types.d.ts +1 -2
- package/lib/utils/jsonPresetFilter.d.ts +26 -7
- package/lib/utils/types.d.ts +0 -38
- package/package.json +8 -7
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +0 -6
- package/lib/components/ConfigurableConnectedMap/index.d.ts +0 -1
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +0 -22
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +0 -1
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +0 -9
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/actions.d.ts +0 -15
- package/lib/store/advancedLayerStore/config.d.ts +0 -4
- package/lib/store/advancedLayerStore/constants.d.ts +0 -2
- package/lib/store/advancedLayerStore/reducer.d.ts +0 -14
- package/lib/store/advancedLayerStore/reducer.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/selectors.d.ts +0 -21
- package/lib/store/advancedLayerStore/selectors.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/types.d.ts +0 -30
- package/lib/store/generic/constants.d.ts +0 -2
- package/lib/store/generic/synchronizationActions/constants.d.ts +0 -3
- package/lib/store/generic/synchronizationGroups/actions.d.ts +0 -80
- package/lib/store/mapStore/map/actions.d.ts +0 -156
- package/lib/store/mapStore/map/constants.d.ts +0 -23
|
@@ -26,7 +26,6 @@ export declare const getAllMapIds: (store: AppStore) => string[];
|
|
|
26
26
|
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
27
27
|
*/
|
|
28
28
|
export declare const getFirstMap: ((state: {
|
|
29
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
30
29
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
31
30
|
ui?: import("../../ui/types").UIStoreType;
|
|
32
31
|
webmap?: WebMapState;
|
|
@@ -46,7 +45,6 @@ export declare const getFirstMap: ((state: {
|
|
|
46
45
|
* @returns {string} returnType:string - map id
|
|
47
46
|
*/
|
|
48
47
|
export declare const getFirstMapId: ((state: {
|
|
49
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
50
48
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
51
49
|
ui?: import("../../ui/types").UIStoreType;
|
|
52
50
|
webmap?: WebMapState;
|
|
@@ -64,7 +62,6 @@ export declare const getFirstMapId: ((state: {
|
|
|
64
62
|
* @returns {boolean} returnType:boolean - true if map is present
|
|
65
63
|
*/
|
|
66
64
|
export declare const getIsMapPresent: ((state: {
|
|
67
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
68
65
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
69
66
|
ui?: import("../../ui/types").UIStoreType;
|
|
70
67
|
webmap?: WebMapState;
|
|
@@ -85,7 +82,6 @@ export declare const getIsMapPresent: ((state: {
|
|
|
85
82
|
* @returns {array} returnType: array - array containing all layerIds
|
|
86
83
|
*/
|
|
87
84
|
export declare const getLayerIds: ((state: {
|
|
88
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
89
85
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
90
86
|
ui?: import("../../ui/types").UIStoreType;
|
|
91
87
|
webmap?: WebMapState;
|
|
@@ -106,7 +102,6 @@ export declare const getLayerIds: ((state: {
|
|
|
106
102
|
* @returns {array} returnType: array - array containing all layer states for the map
|
|
107
103
|
*/
|
|
108
104
|
export declare const getMapLayers: ((state: {
|
|
109
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
110
105
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
111
106
|
ui?: import("../../ui/types").UIStoreType;
|
|
112
107
|
webmap?: WebMapState;
|
|
@@ -127,7 +122,6 @@ export declare const getMapLayers: ((state: {
|
|
|
127
122
|
* @returns {array} returnType: array - array containing an array of baselayers ids
|
|
128
123
|
*/
|
|
129
124
|
export declare const getMapBaseLayersIds: ((state: {
|
|
130
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
131
125
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
132
126
|
ui?: import("../../ui/types").UIStoreType;
|
|
133
127
|
webmap?: WebMapState;
|
|
@@ -148,7 +142,6 @@ export declare const getMapBaseLayersIds: ((state: {
|
|
|
148
142
|
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
149
143
|
*/
|
|
150
144
|
export declare const getMapBaseLayers: ((state: {
|
|
151
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
152
145
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
153
146
|
ui?: import("../../ui/types").UIStoreType;
|
|
154
147
|
webmap?: WebMapState;
|
|
@@ -169,7 +162,6 @@ export declare const getMapBaseLayers: ((state: {
|
|
|
169
162
|
* @returns {array} returnType: array - array containing an array of overLayers ids
|
|
170
163
|
*/
|
|
171
164
|
export declare const getMapOverLayersIds: ((state: {
|
|
172
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
173
165
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
174
166
|
ui?: import("../../ui/types").UIStoreType;
|
|
175
167
|
webmap?: WebMapState;
|
|
@@ -190,7 +182,6 @@ export declare const getMapOverLayersIds: ((state: {
|
|
|
190
182
|
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
191
183
|
*/
|
|
192
184
|
export declare const getMapOverLayers: ((state: {
|
|
193
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
194
185
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
195
186
|
ui?: import("../../ui/types").UIStoreType;
|
|
196
187
|
webmap?: WebMapState;
|
|
@@ -211,7 +202,6 @@ export declare const getMapOverLayers: ((state: {
|
|
|
211
202
|
* @returns {array} returnType: array - array containing map dimensions
|
|
212
203
|
*/
|
|
213
204
|
export declare const getMapDimensions: ((state: {
|
|
214
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
215
205
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
216
206
|
ui?: import("../../ui/types").UIStoreType;
|
|
217
207
|
webmap?: WebMapState;
|
|
@@ -233,7 +223,6 @@ export declare const getMapDimensions: ((state: {
|
|
|
233
223
|
* @returns {object} returnType: object - object containing the map dimension details
|
|
234
224
|
*/
|
|
235
225
|
export declare const getMapDimension: ((state: {
|
|
236
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
237
226
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
238
227
|
ui?: import("../../ui/types").UIStoreType;
|
|
239
228
|
webmap?: WebMapState;
|
|
@@ -254,7 +243,6 @@ export declare const getMapDimension: ((state: {
|
|
|
254
243
|
* @returns {string} returnType: string - string containing srs
|
|
255
244
|
*/
|
|
256
245
|
export declare const getSrs: ((state: {
|
|
257
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
258
246
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
259
247
|
ui?: import("../../ui/types").UIStoreType;
|
|
260
248
|
webmap?: WebMapState;
|
|
@@ -275,7 +263,6 @@ export declare const getSrs: ((state: {
|
|
|
275
263
|
* @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
|
|
276
264
|
*/
|
|
277
265
|
export declare const getBbox: ((state: {
|
|
278
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
279
266
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
280
267
|
ui?: import("../../ui/types").UIStoreType;
|
|
281
268
|
webmap?: WebMapState;
|
|
@@ -296,7 +283,6 @@ export declare const getBbox: ((state: {
|
|
|
296
283
|
* @returns {boolean} returnType: boolean
|
|
297
284
|
*/
|
|
298
285
|
export declare const isAnimating: ((state: {
|
|
299
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
300
286
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
301
287
|
ui?: import("../../ui/types").UIStoreType;
|
|
302
288
|
webmap?: WebMapState;
|
|
@@ -317,7 +303,6 @@ export declare const isAnimating: ((state: {
|
|
|
317
303
|
* @returns {object} returnType: object - object containing isAnimating boolean and id string
|
|
318
304
|
*/
|
|
319
305
|
export declare const linkedMapAnimationInfo: ((state: {
|
|
320
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
321
306
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
322
307
|
ui?: import("../../ui/types").UIStoreType;
|
|
323
308
|
webmap?: WebMapState;
|
|
@@ -347,7 +332,6 @@ export declare const linkedMapAnimationInfo: ((state: {
|
|
|
347
332
|
* @returns {string} returnType: string
|
|
348
333
|
*/
|
|
349
334
|
export declare const getAnimationStartTime: ((state: {
|
|
350
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
351
335
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
352
336
|
ui?: import("../../ui/types").UIStoreType;
|
|
353
337
|
webmap?: WebMapState;
|
|
@@ -368,7 +352,6 @@ export declare const getAnimationStartTime: ((state: {
|
|
|
368
352
|
* @returns {string} returnType: string
|
|
369
353
|
*/
|
|
370
354
|
export declare const getAnimationEndTime: ((state: {
|
|
371
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
372
355
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
373
356
|
ui?: import("../../ui/types").UIStoreType;
|
|
374
357
|
webmap?: WebMapState;
|
|
@@ -389,7 +372,6 @@ export declare const getAnimationEndTime: ((state: {
|
|
|
389
372
|
* @returns {boolean} returnType: boolean
|
|
390
373
|
*/
|
|
391
374
|
export declare const isAutoUpdating: ((state: {
|
|
392
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
393
375
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
394
376
|
ui?: import("../../ui/types").UIStoreType;
|
|
395
377
|
webmap?: WebMapState;
|
|
@@ -409,7 +391,6 @@ export declare const isAutoUpdating: ((state: {
|
|
|
409
391
|
* @param {string} mapId mapId: string - Id of the map
|
|
410
392
|
*/
|
|
411
393
|
export declare const getActiveLayerId: ((state: {
|
|
412
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
413
394
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
414
395
|
ui?: import("../../ui/types").UIStoreType;
|
|
415
396
|
webmap?: WebMapState;
|
|
@@ -430,7 +411,6 @@ export declare const getActiveLayerId: ((state: {
|
|
|
430
411
|
* @returns {Scale} returnType: Scale - scale as an enum
|
|
431
412
|
*/
|
|
432
413
|
export declare const getMapTimeSliderScale: ((state: {
|
|
433
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
434
414
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
435
415
|
ui?: import("../../ui/types").UIStoreType;
|
|
436
416
|
webmap?: WebMapState;
|
|
@@ -451,7 +431,6 @@ export declare const getMapTimeSliderScale: ((state: {
|
|
|
451
431
|
* @returns {number} returnType: number - time step as a number
|
|
452
432
|
*/
|
|
453
433
|
export declare const getMapTimeStep: ((state: {
|
|
454
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
455
434
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
456
435
|
ui?: import("../../ui/types").UIStoreType;
|
|
457
436
|
webmap?: WebMapState;
|
|
@@ -472,7 +451,6 @@ export declare const getMapTimeStep: ((state: {
|
|
|
472
451
|
* @returns {number} returnType: number - speed as a number
|
|
473
452
|
*/
|
|
474
453
|
export declare const getMapAnimationDelay: ((state: {
|
|
475
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
476
454
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
477
455
|
ui?: import("../../ui/types").UIStoreType;
|
|
478
456
|
webmap?: WebMapState;
|
|
@@ -493,7 +471,6 @@ export declare const getMapAnimationDelay: ((state: {
|
|
|
493
471
|
* @returns {number} returnType: number - center time as a unix timestamp
|
|
494
472
|
*/
|
|
495
473
|
export declare const getMapTimeSliderCenterTime: ((state: {
|
|
496
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
497
474
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
498
475
|
ui?: import("../../ui/types").UIStoreType;
|
|
499
476
|
webmap?: WebMapState;
|
|
@@ -514,7 +491,6 @@ export declare const getMapTimeSliderCenterTime: ((state: {
|
|
|
514
491
|
* @returns {number} returnType: number - the number of seconds per pixel
|
|
515
492
|
*/
|
|
516
493
|
export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
517
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
518
494
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
519
495
|
ui?: import("../../ui/types").UIStoreType;
|
|
520
496
|
webmap?: WebMapState;
|
|
@@ -535,7 +511,6 @@ export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
|
535
511
|
* @returns {number} returnType: number - the number of scaleto seconds pixel
|
|
536
512
|
*/
|
|
537
513
|
export declare const getMapTimeSliderDataScaleToSecondsPerPx: ((state: {
|
|
538
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
539
514
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
540
515
|
ui?: import("../../ui/types").UIStoreType;
|
|
541
516
|
webmap?: WebMapState;
|
|
@@ -556,7 +531,6 @@ export declare const getMapTimeSliderDataScaleToSecondsPerPx: ((state: {
|
|
|
556
531
|
* @returns {boolean} returnType: boolean
|
|
557
532
|
*/
|
|
558
533
|
export declare const isTimestepAuto: ((state: {
|
|
559
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
560
534
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
561
535
|
ui?: import("../../ui/types").UIStoreType;
|
|
562
536
|
webmap?: WebMapState;
|
|
@@ -577,7 +551,6 @@ export declare const isTimestepAuto: ((state: {
|
|
|
577
551
|
* @returns {boolean} returnType: boolean
|
|
578
552
|
*/
|
|
579
553
|
export declare const isTimeSliderHoverOn: ((state: {
|
|
580
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
581
554
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
582
555
|
ui?: import("../../ui/types").UIStoreType;
|
|
583
556
|
webmap?: WebMapState;
|
|
@@ -599,7 +572,6 @@ export declare const isTimeSliderHoverOn: ((state: {
|
|
|
599
572
|
* @returns {boolean} returnType: boolean
|
|
600
573
|
*/
|
|
601
574
|
export declare const getIsLayerActiveLayer: ((state: {
|
|
602
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
603
575
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
604
576
|
ui?: import("../../ui/types").UIStoreType;
|
|
605
577
|
webmap?: WebMapState;
|
|
@@ -620,7 +592,6 @@ export declare const getIsLayerActiveLayer: ((state: {
|
|
|
620
592
|
* @returns {string} returnType: string - the mapId, or null if not found
|
|
621
593
|
*/
|
|
622
594
|
export declare const getMapIdFromLayerId: ((state: {
|
|
623
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
624
595
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
625
596
|
ui?: import("../../ui/types").UIStoreType;
|
|
626
597
|
webmap?: WebMapState;
|
|
@@ -642,7 +613,6 @@ export declare const getMapIdFromLayerId: ((state: {
|
|
|
642
613
|
* @returns {string} returnType: string - the layerId, or null if not found
|
|
643
614
|
*/
|
|
644
615
|
export declare const getLayerIdByLayerName: ((state: {
|
|
645
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
646
616
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
647
617
|
ui?: import("../../ui/types").UIStoreType;
|
|
648
618
|
webmap?: WebMapState;
|
|
@@ -664,7 +634,6 @@ export declare const getLayerIdByLayerName: ((state: {
|
|
|
664
634
|
* @returns {number} returnType: index number or -1 if not found
|
|
665
635
|
*/
|
|
666
636
|
export declare const getLayerIndexByLayerId: ((state: {
|
|
667
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
668
637
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
669
638
|
ui?: import("../../ui/types").UIStoreType;
|
|
670
639
|
webmap?: WebMapState;
|
|
@@ -686,7 +655,6 @@ export declare const getLayerIndexByLayerId: ((state: {
|
|
|
686
655
|
* @returns {object} returnType: layer, or null if not found
|
|
687
656
|
*/
|
|
688
657
|
export declare const getLayerByLayerIndex: ((state: {
|
|
689
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
690
658
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
691
659
|
ui?: import("../../ui/types").UIStoreType;
|
|
692
660
|
webmap?: WebMapState;
|
|
@@ -706,7 +674,6 @@ export declare const getLayerByLayerIndex: ((state: {
|
|
|
706
674
|
* @returns {array} returnType: array of dimension names
|
|
707
675
|
*/
|
|
708
676
|
export declare const getAllUniqueDimensions: ((state: {
|
|
709
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
710
677
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
711
678
|
ui?: import("../../ui/types").UIStoreType;
|
|
712
679
|
webmap?: WebMapState;
|
|
@@ -727,7 +694,6 @@ export declare const getAllUniqueDimensions: ((state: {
|
|
|
727
694
|
* @returns {object} returnType: latitude and longitude of pin
|
|
728
695
|
*/
|
|
729
696
|
export declare const getPinLocation: ((state: {
|
|
730
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
731
697
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
732
698
|
ui?: import("../../ui/types").UIStoreType;
|
|
733
699
|
webmap?: WebMapState;
|
|
@@ -748,7 +714,6 @@ export declare const getPinLocation: ((state: {
|
|
|
748
714
|
* @returns {boolean} returnType: boolean or undefined
|
|
749
715
|
*/
|
|
750
716
|
export declare const getDisableMapPin: ((state: {
|
|
751
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
752
717
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
753
718
|
ui?: import("../../ui/types").UIStoreType;
|
|
754
719
|
webmap?: WebMapState;
|
|
@@ -760,3 +725,43 @@ export declare const getDisableMapPin: ((state: {
|
|
|
760
725
|
}> & {
|
|
761
726
|
clearCache: () => void;
|
|
762
727
|
};
|
|
728
|
+
/**
|
|
729
|
+
* Returns the selected geojson feature for the given map
|
|
730
|
+
*
|
|
731
|
+
* Example const selectedFeature = getSelectedFeature(store, 'mapId1')
|
|
732
|
+
* @param {object} store store: object - store object
|
|
733
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
734
|
+
* @returns {number} selectedFeatureIndex: the index of the selected geojson feature
|
|
735
|
+
*/
|
|
736
|
+
export declare const getSelectedFeatureIndex: ((state: {
|
|
737
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
738
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
739
|
+
webmap?: WebMapState;
|
|
740
|
+
services?: import("../types").ServiceState;
|
|
741
|
+
layers?: import("../types").LayerState;
|
|
742
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
743
|
+
}, params_0: string) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap) => number & {
|
|
744
|
+
clearCache: () => void;
|
|
745
|
+
}> & {
|
|
746
|
+
clearCache: () => void;
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* Returns the active map preset id
|
|
750
|
+
*
|
|
751
|
+
* Example getActivePresetId(store);
|
|
752
|
+
* @param {object} store store: object - store object
|
|
753
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
754
|
+
* @returns {boolean} returnType: boolean or undefined
|
|
755
|
+
*/
|
|
756
|
+
export declare const getActiveMapPresetId: ((state: {
|
|
757
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
758
|
+
ui?: import("../../ui/types").UIStoreType;
|
|
759
|
+
webmap?: WebMapState;
|
|
760
|
+
services?: import("../types").ServiceState;
|
|
761
|
+
layers?: import("../types").LayerState;
|
|
762
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
763
|
+
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap) => string & {
|
|
764
|
+
clearCache: () => void;
|
|
765
|
+
}> & {
|
|
766
|
+
clearCache: () => void;
|
|
767
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateInterval } from '@opengeoweb/webmap';
|
|
2
|
-
import {
|
|
3
|
-
import { WEBMAP_LAYER_MOVE, WEBMAP_SET_BBOX, WEBMAP_MAP_UPDATE_ALL_DIMENSIONS, WEBMAP_MAP_CHANGE_DIMENSION, WEBMAP_START_ANIMATION, WEBMAP_STOP_ANIMATION, WEBMAP_REGISTER_MAP, WEBMAP_UNREGISTER_MAP, WEBMAP_SET_ACTIVELAYERID, WEBMAP_TOGGLE_AUTO_UPDATE, WEBMAP_TOGGLE_LOOP, WEBMAP_SET_TIME_SLIDER_SCALE, WEBMAP_SET_TIME_STEP, WEBMAP_SET_ANIMATION_DELAY, WEBMAP_SET_ANIMATION_START_TIME, WEBMAP_SET_ANIMATION_END_TIME, WEBMAP_TOGGLE_TIMESTEP_AUTO, WEBMAP_TOGGLE_TIME_SLIDER_HOVER, WEBMAP_SET_TIME_SLIDER_CENTER_TIME, WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX, WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX, WEBMAP_SET_PIN, WEBMAP_DISABLE_PIN } from './constants';
|
|
2
|
+
import type { Layer } from '../types';
|
|
4
3
|
export interface Dimension {
|
|
5
4
|
name?: string;
|
|
6
5
|
units?: string;
|
|
@@ -37,6 +36,8 @@ export interface WebMap {
|
|
|
37
36
|
isTimeSliderHoverOn?: boolean;
|
|
38
37
|
mapPinLocation?: MapLocation;
|
|
39
38
|
disableMapPin?: boolean;
|
|
39
|
+
selectedFeatureIndex?: number;
|
|
40
|
+
activePresetId?: string;
|
|
40
41
|
}
|
|
41
42
|
export interface WebMapState {
|
|
42
43
|
byId: Record<string, WebMap>;
|
|
@@ -63,17 +64,32 @@ export declare enum Scale {
|
|
|
63
64
|
Year = 7,
|
|
64
65
|
DataScale = 8
|
|
65
66
|
}
|
|
66
|
-
export
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
export declare type SpeedFactorType = 0.1 | 0.2 | 0.5 | 1 | 2 | 4 | 8 | 16;
|
|
68
|
+
export interface AnimationPayloadType {
|
|
69
|
+
duration?: number;
|
|
70
|
+
interval?: number;
|
|
71
|
+
speed?: SpeedFactorType;
|
|
71
72
|
}
|
|
72
|
-
export interface
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
export interface MapPreset {
|
|
74
|
+
layers?: Layer[];
|
|
75
|
+
overLayers?: Layer[];
|
|
76
|
+
activeLayerId?: string;
|
|
77
|
+
proj?: {
|
|
78
|
+
bbox: Bbox;
|
|
79
|
+
srs: string;
|
|
76
80
|
};
|
|
81
|
+
shouldAnimate?: boolean;
|
|
82
|
+
animationPayload?: AnimationPayloadType;
|
|
83
|
+
shouldShowZoomControls?: boolean;
|
|
84
|
+
shouldAutoUpdate?: boolean;
|
|
85
|
+
showTimeSlider?: boolean;
|
|
86
|
+
displayMapPin?: boolean;
|
|
87
|
+
toggleTimestepAuto?: boolean;
|
|
88
|
+
setTimestep?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface MapPresetInitialProps {
|
|
91
|
+
mapPreset: MapPreset;
|
|
92
|
+
syncGroupsIds?: string[];
|
|
77
93
|
}
|
|
78
94
|
export interface MoveLayerPayload {
|
|
79
95
|
mapId: string;
|
|
@@ -81,10 +97,6 @@ export interface MoveLayerPayload {
|
|
|
81
97
|
newIndex: number;
|
|
82
98
|
origin: string;
|
|
83
99
|
}
|
|
84
|
-
export interface MoveLayer extends Action {
|
|
85
|
-
type: typeof WEBMAP_LAYER_MOVE;
|
|
86
|
-
payload: MoveLayerPayload;
|
|
87
|
-
}
|
|
88
100
|
export interface SetBboxPayload {
|
|
89
101
|
mapId: string;
|
|
90
102
|
bbox: Bbox;
|
|
@@ -95,19 +107,11 @@ export interface SetMapDimensionPayload {
|
|
|
95
107
|
mapId: string;
|
|
96
108
|
dimension: Dimension;
|
|
97
109
|
}
|
|
98
|
-
export interface SetMapDimension extends Action {
|
|
99
|
-
type: typeof WEBMAP_MAP_CHANGE_DIMENSION;
|
|
100
|
-
payload: SetMapDimensionPayload;
|
|
101
|
-
}
|
|
102
110
|
export interface UpdateAllMapDimensionsPayload {
|
|
103
111
|
origin: string;
|
|
104
112
|
mapId: string;
|
|
105
113
|
dimensions: Dimension[];
|
|
106
114
|
}
|
|
107
|
-
export interface UpdateAllMapDimensions extends Action {
|
|
108
|
-
type: typeof WEBMAP_MAP_UPDATE_ALL_DIMENSIONS;
|
|
109
|
-
payload: UpdateAllMapDimensionsPayload;
|
|
110
|
-
}
|
|
111
115
|
export declare type TimeListType = {
|
|
112
116
|
name: string;
|
|
113
117
|
value: string;
|
|
@@ -119,25 +123,9 @@ export interface SetMapAnimationStartPayload {
|
|
|
119
123
|
interval?: number;
|
|
120
124
|
timeList?: TimeListType[];
|
|
121
125
|
}
|
|
122
|
-
export interface SetMapAnimationStart extends Action {
|
|
123
|
-
type: typeof WEBMAP_START_ANIMATION;
|
|
124
|
-
payload: SetMapAnimationStartPayload;
|
|
125
|
-
}
|
|
126
126
|
export interface SetMapAnimationStopPayload {
|
|
127
127
|
mapId: string;
|
|
128
128
|
}
|
|
129
|
-
export interface SetMapAnimationStop extends Action {
|
|
130
|
-
type: typeof WEBMAP_STOP_ANIMATION;
|
|
131
|
-
payload: SetMapAnimationStopPayload;
|
|
132
|
-
}
|
|
133
|
-
export interface SetBbox extends Action {
|
|
134
|
-
type: typeof WEBMAP_SET_BBOX;
|
|
135
|
-
payload: SetBboxPayload;
|
|
136
|
-
}
|
|
137
|
-
export interface SetActiveLayerId extends Action {
|
|
138
|
-
type: typeof WEBMAP_SET_ACTIVELAYERID;
|
|
139
|
-
payload: SetActiveLayerIdPayload;
|
|
140
|
-
}
|
|
141
129
|
export interface SetActiveLayerIdPayload {
|
|
142
130
|
mapId: string;
|
|
143
131
|
layerId: string;
|
|
@@ -150,26 +138,10 @@ export interface ToggleLoopPayload {
|
|
|
150
138
|
mapId: string;
|
|
151
139
|
shouldLoop: boolean;
|
|
152
140
|
}
|
|
153
|
-
export interface ToggleAutoUpdate extends Action {
|
|
154
|
-
type: typeof WEBMAP_TOGGLE_AUTO_UPDATE;
|
|
155
|
-
payload: ToggleAutoUpdatePayload;
|
|
156
|
-
}
|
|
157
|
-
export interface ToggleLoop extends Action {
|
|
158
|
-
type: typeof WEBMAP_TOGGLE_LOOP;
|
|
159
|
-
payload: ToggleLoopPayload;
|
|
160
|
-
}
|
|
161
|
-
export interface SetTimeSliderScale extends Action {
|
|
162
|
-
type: typeof WEBMAP_SET_TIME_SLIDER_SCALE;
|
|
163
|
-
payload: SetTimeSliderScalePayload;
|
|
164
|
-
}
|
|
165
141
|
export interface SetTimeSliderScalePayload {
|
|
166
142
|
mapId: string;
|
|
167
143
|
timeSliderScale: Scale;
|
|
168
144
|
}
|
|
169
|
-
export interface SetTimeStep extends Action {
|
|
170
|
-
type: typeof WEBMAP_SET_TIME_STEP;
|
|
171
|
-
payload: SetTimeStepPayload;
|
|
172
|
-
}
|
|
173
145
|
export interface SetTimeStepPayload {
|
|
174
146
|
mapId: string;
|
|
175
147
|
timeStep: number;
|
|
@@ -178,22 +150,10 @@ export interface SetAnimationDelayPayload {
|
|
|
178
150
|
mapId: string;
|
|
179
151
|
animationDelay: number;
|
|
180
152
|
}
|
|
181
|
-
export interface SetAnimationDelay extends Action {
|
|
182
|
-
type: typeof WEBMAP_SET_ANIMATION_DELAY;
|
|
183
|
-
payload: SetAnimationDelayPayload;
|
|
184
|
-
}
|
|
185
|
-
export interface SetAnimationStartTime extends Action {
|
|
186
|
-
type: typeof WEBMAP_SET_ANIMATION_START_TIME;
|
|
187
|
-
payload: SetAnimationStartTimePayload;
|
|
188
|
-
}
|
|
189
153
|
export interface SetAnimationStartTimePayload {
|
|
190
154
|
mapId: string;
|
|
191
155
|
animationStartTime: string;
|
|
192
156
|
}
|
|
193
|
-
export interface SetAnimationEndTime extends Action {
|
|
194
|
-
type: typeof WEBMAP_SET_ANIMATION_END_TIME;
|
|
195
|
-
payload: SetAnimationEndTimePayload;
|
|
196
|
-
}
|
|
197
157
|
export interface SetAnimationEndTimePayload {
|
|
198
158
|
mapId: string;
|
|
199
159
|
animationEndTime: string;
|
|
@@ -202,56 +162,39 @@ export interface ToggleTimestepAutoPayload {
|
|
|
202
162
|
mapId: string;
|
|
203
163
|
timestepAuto: boolean;
|
|
204
164
|
}
|
|
205
|
-
export interface ToggleTimestepAuto extends Action {
|
|
206
|
-
type: typeof WEBMAP_TOGGLE_TIMESTEP_AUTO;
|
|
207
|
-
payload: ToggleTimestepAutoPayload;
|
|
208
|
-
}
|
|
209
165
|
export interface ToggleTimeSliderHoverPayload {
|
|
210
166
|
mapId: string;
|
|
211
167
|
isTimeSliderHoverOn: boolean;
|
|
212
168
|
}
|
|
213
|
-
export interface ToggleTimeSliderHover extends Action {
|
|
214
|
-
type: typeof WEBMAP_TOGGLE_TIME_SLIDER_HOVER;
|
|
215
|
-
payload: ToggleTimeSliderHoverPayload;
|
|
216
|
-
}
|
|
217
|
-
export interface SetTimeSliderCenterTime extends Action {
|
|
218
|
-
type: typeof WEBMAP_SET_TIME_SLIDER_CENTER_TIME;
|
|
219
|
-
payload: SetTimeSliderCenterTimePayload;
|
|
220
|
-
}
|
|
221
169
|
export interface SetTimeSliderCenterTimePayload {
|
|
222
170
|
mapId: string;
|
|
223
171
|
timeSliderCenterTime: number;
|
|
224
172
|
}
|
|
225
|
-
export interface SetTimeSliderSecondsPerPx extends Action {
|
|
226
|
-
type: typeof WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX;
|
|
227
|
-
payload: SetTimeSliderSecondsPerPxPayload;
|
|
228
|
-
}
|
|
229
173
|
export interface SetTimeSliderSecondsPerPxPayload {
|
|
230
174
|
mapId: string;
|
|
231
175
|
timeSliderSecondsPerPx: number;
|
|
232
176
|
}
|
|
233
|
-
export interface SetTimeSliderDataScaleToSecondsPerPx extends Action {
|
|
234
|
-
type: typeof WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX;
|
|
235
|
-
payload: SetTimeSliderDataScaleToSecondsPerPxPayload;
|
|
236
|
-
}
|
|
237
177
|
export interface SetTimeSliderDataScaleToSecondsPerPxPayload {
|
|
238
178
|
mapId: string;
|
|
239
179
|
timeSliderDataScaleToSecondsPerPx: number;
|
|
240
180
|
}
|
|
241
|
-
export interface SetMapPinLocation extends Action {
|
|
242
|
-
type: typeof WEBMAP_SET_PIN;
|
|
243
|
-
payload: MapPinLocationPayload;
|
|
244
|
-
}
|
|
245
181
|
export interface MapPinLocationPayload {
|
|
246
182
|
mapId: string;
|
|
247
183
|
mapPinLocation: MapLocation;
|
|
248
184
|
}
|
|
249
|
-
export interface SetDisableMapPin extends Action {
|
|
250
|
-
type: typeof WEBMAP_DISABLE_PIN;
|
|
251
|
-
payload: DisableMapPinPayload;
|
|
252
|
-
}
|
|
253
185
|
export interface DisableMapPinPayload {
|
|
254
186
|
mapId: string;
|
|
255
187
|
disableMapPin: boolean;
|
|
256
188
|
}
|
|
257
|
-
export
|
|
189
|
+
export interface SetSelectedFeaturePayload {
|
|
190
|
+
mapId: string;
|
|
191
|
+
selectedFeatureIndex: number;
|
|
192
|
+
}
|
|
193
|
+
export interface SetMapPresetPayload {
|
|
194
|
+
mapId: string;
|
|
195
|
+
initialProps: MapPresetInitialProps;
|
|
196
|
+
}
|
|
197
|
+
export interface SetActiveMapPresetPayload {
|
|
198
|
+
mapId: string;
|
|
199
|
+
presetId: string;
|
|
200
|
+
}
|
|
@@ -24,8 +24,9 @@ interface CreateMapProps {
|
|
|
24
24
|
timeSliderDataScaleToSecondsPerPx?: number;
|
|
25
25
|
isTimestepAuto?: boolean;
|
|
26
26
|
isTimeSliderHoverOn?: boolean;
|
|
27
|
+
activePresetId?: string;
|
|
27
28
|
}
|
|
28
|
-
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, isLooping, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, }: CreateMapProps) => WebMap;
|
|
29
|
+
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, isLooping, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, activePresetId, }: CreateMapProps) => WebMap;
|
|
29
30
|
export declare const checkValidLayersPayload: (layers: Layer[], mapId: string) => boolean;
|
|
30
31
|
/**
|
|
31
32
|
* This will get the map from the map draftstate.
|
|
@@ -8,7 +8,6 @@ import { ServiceState, ServiceLayer, ReduxService } from './types';
|
|
|
8
8
|
* @returns {array} returnType: array - an array of all serviceIds
|
|
9
9
|
*/
|
|
10
10
|
export declare const getServiceIds: ((state: {
|
|
11
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
12
11
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
13
12
|
ui?: import("../../ui/types").UIStoreType;
|
|
14
13
|
webmap?: import("../types").WebMapState;
|
|
@@ -28,7 +27,6 @@ export declare const getServiceIds: ((state: {
|
|
|
28
27
|
* @returns {object} returnType: ServiceState
|
|
29
28
|
*/
|
|
30
29
|
export declare const getServices: ((state: {
|
|
31
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
32
30
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
33
31
|
ui?: import("../../ui/types").UIStoreType;
|
|
34
32
|
webmap?: import("../types").WebMapState;
|
|
@@ -48,7 +46,6 @@ export declare const getServices: ((state: {
|
|
|
48
46
|
* @returns {ReduxService} returnType: Service
|
|
49
47
|
*/
|
|
50
48
|
export declare const getServiceByName: ((state: {
|
|
51
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
52
49
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
53
50
|
ui?: import("../../ui/types").UIStoreType;
|
|
54
51
|
webmap?: import("../types").WebMapState;
|
|
@@ -69,7 +66,6 @@ export declare const getServiceByName: ((state: {
|
|
|
69
66
|
* @returns {array} returnType: ServiceLayer[] - All layers within the service object.
|
|
70
67
|
*/
|
|
71
68
|
export declare const getLayersFromService: ((state: {
|
|
72
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
73
69
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
74
70
|
ui?: import("../../ui/types").UIStoreType;
|
|
75
71
|
webmap?: import("../types").WebMapState;
|
|
@@ -91,7 +87,6 @@ export declare const getLayersFromService: ((state: {
|
|
|
91
87
|
* @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
|
|
92
88
|
*/
|
|
93
89
|
export declare const getLayerFromService: ((state: {
|
|
94
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
95
90
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
96
91
|
ui?: import("../../ui/types").UIStoreType;
|
|
97
92
|
webmap?: import("../types").WebMapState;
|
|
@@ -113,7 +108,6 @@ export declare const getLayerFromService: ((state: {
|
|
|
113
108
|
* @returns {array} returnType: Style[] - array containing layer styles
|
|
114
109
|
*/
|
|
115
110
|
export declare const getLayerStyles: ((state: {
|
|
116
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
117
111
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
118
112
|
ui?: import("../../ui/types").UIStoreType;
|
|
119
113
|
webmap?: import("../types").WebMapState;
|
|
@@ -133,7 +127,6 @@ export declare const getLayerStyles: ((state: {
|
|
|
133
127
|
* @returns {array} returnType: [] - array containing services
|
|
134
128
|
*/
|
|
135
129
|
export declare const getServicesInArray: ((state: {
|
|
136
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
137
130
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
138
131
|
ui?: import("../../ui/types").UIStoreType;
|
|
139
132
|
webmap?: import("../types").WebMapState;
|
|
@@ -28,6 +28,7 @@ export interface ServiceState {
|
|
|
28
28
|
allIds: string[];
|
|
29
29
|
}
|
|
30
30
|
export interface SetLayersForServicePayload {
|
|
31
|
+
id: string;
|
|
31
32
|
name: string;
|
|
32
33
|
serviceUrl: string;
|
|
33
34
|
layers: ServiceLayer[];
|
|
@@ -38,6 +39,7 @@ export interface SetLayersForService extends Action {
|
|
|
38
39
|
payload: SetLayersForServicePayload;
|
|
39
40
|
}
|
|
40
41
|
export interface MapStoreRemoveServicePayload {
|
|
42
|
+
id: string;
|
|
41
43
|
serviceUrl: string;
|
|
42
44
|
}
|
|
43
45
|
export interface MapStoreRemoveService extends Action {
|
|
@@ -4,7 +4,6 @@ export declare const dateFormat = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
|
4
4
|
export declare const generateLayerId: () => string;
|
|
5
5
|
export declare const generateMapId: () => string;
|
|
6
6
|
export declare const generateTimesliderId: () => string;
|
|
7
|
-
export declare const generateServiceId: () => string;
|
|
8
7
|
export declare const generateTimeSeriesId: () => string;
|
|
9
8
|
/**
|
|
10
9
|
* Registers a WMJSLayer in a lookuptable with a layerId
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetActiveMapIdForDialogPayload, UIActions, UIOrderDialogPayload, UIRegisterDialogPayload, UIToggleDialogPayload, UIUnRegisterDialogPayload } from './types';
|
|
1
|
+
import { SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, UIActions, UIOrderDialogPayload, UIRegisterDialogPayload, UIToggleDialogPayload, UIUnRegisterDialogPayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Registers the dialog in the store and creates the dialog state
|
|
4
4
|
*
|
|
@@ -34,3 +34,10 @@ export declare const setToggleOpenDialog: (payload: UIToggleDialogPayload) => UI
|
|
|
34
34
|
* @param {object} payload object with type: 'legend' | 'layerManager' | 'dimensionSelect-elevation'
|
|
35
35
|
*/
|
|
36
36
|
export declare const orderDialog: (payload: UIOrderDialogPayload) => UIActions;
|
|
37
|
+
/**
|
|
38
|
+
* Sets which window should receive keyboard shortcuts
|
|
39
|
+
*
|
|
40
|
+
* Example: setActiveWindowId({ activeMapId: 'activeWindowId'})
|
|
41
|
+
* @param {string} activeWindowId the windowId to receive keyboard shortcuts
|
|
42
|
+
*/
|
|
43
|
+
export declare const setActiveWindowId: (payload: SetActiveWindowIdPayload) => UIActions;
|
|
@@ -3,3 +3,4 @@ export declare const UI_REGISTER_DIALOG = "UI_REGISTER_DIALOG";
|
|
|
3
3
|
export declare const UI_UNREGISTER_DIALOG = "UI_UNREGISTER_DIALOG";
|
|
4
4
|
export declare const UI_TOGGLE_DIALOG = "UI_TOGGLE_DIALOG";
|
|
5
5
|
export declare const UI_ORDER_DIALOG = "UI_ORDER_DIALOG";
|
|
6
|
+
export declare const UI_SET_ACTIVE_WINDOW_ID = "UI_SET_ACTIVE_WINDOW_ID";
|