@opengeoweb/core 2.12.0 → 2.15.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 +9266 -9121
- package/index.umd.js +7228 -7069
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +1 -0
- package/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +0 -2
- package/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +0 -2
- package/lib/components/Legend/LegendConnect.d.ts +1 -0
- package/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +2 -2
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.d.ts +0 -2
- package/lib/components/MapView/MapViewConnect.stories.d.ts +0 -1
- package/lib/components/MapWarning/MapWarningProperties.d.ts +16 -1
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSlider.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +1 -0
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +1 -0
- package/lib/components/ReactMapView/ReactMapViewParseLayer.spec.d.ts +1 -0
- package/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +11 -1
- package/lib/components/TimeSlider/TimeSliderButtons/AutoUpdateButton/AutoUpdateButtonConnect.d.ts +8 -1
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +27 -2
- package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButtonConnect.d.ts +2 -2
- package/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.d.ts +2 -2
- package/lib/components/TimeSlider/TimeSliderConnect.d.ts +13 -1
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendConnect.d.ts +26 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailConnect.d.ts +21 -2
- package/lib/components/TimeSlider/TimeSliderScaleSlider/TimeSliderScaleSliderConnect.d.ts +15 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +2 -0
- package/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +14 -1
- package/lib/index.d.ts +2 -0
- package/lib/store/mapStore/layers/selectors.d.ts +5 -5
- package/lib/store/mapStore/map/reducer.d.ts +5 -0
- package/lib/store/mapStore/map/sagas.d.ts +3 -2
- package/lib/store/mapStore/map/selectors.d.ts +107 -46
- package/lib/store/mapStore/map/types.d.ts +18 -3
- package/lib/store/mapStore/map/utils.d.ts +4 -1
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/selectors.d.ts +7 -6
- package/lib/store/ui/types.d.ts +6 -2
- package/package.json +8 -7
- package/lib/components/CustomSwitch/CustomSwitch.d.ts +0 -3
- package/lib/components/CustomSwitch/CustomSwitch.spec.d.ts +0 -1
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +0 -7
- package/lib/components/CustomSwitch/index.d.ts +0 -1
- package/lib/components/MapView/MapViewConnect.DisableMapPin.stories.d.ts +0 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { MapPreset, Scale, WebMap, WebMapState } from './types';
|
|
1
|
+
import { Bbox, MapPreset, Scale, WebMap, WebMapState } from './types';
|
|
2
2
|
import { AppStore } from '../../../types/types';
|
|
3
3
|
import { Layer } from '../types';
|
|
4
|
+
import { UIStoreType } from '../../ui/types';
|
|
4
5
|
/**
|
|
5
6
|
* Gets the map state by mapId
|
|
6
7
|
*
|
|
@@ -27,7 +28,7 @@ export declare const getAllMapIds: (store: AppStore) => string[];
|
|
|
27
28
|
*/
|
|
28
29
|
export declare const getFirstMap: ((state: {
|
|
29
30
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
30
|
-
ui?:
|
|
31
|
+
ui?: UIStoreType;
|
|
31
32
|
webmap?: WebMapState;
|
|
32
33
|
services?: import("../types").ServiceState;
|
|
33
34
|
layers?: import("../types").LayerState;
|
|
@@ -46,7 +47,7 @@ export declare const getFirstMap: ((state: {
|
|
|
46
47
|
*/
|
|
47
48
|
export declare const getFirstMapId: ((state: {
|
|
48
49
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
49
|
-
ui?:
|
|
50
|
+
ui?: UIStoreType;
|
|
50
51
|
webmap?: WebMapState;
|
|
51
52
|
services?: import("../types").ServiceState;
|
|
52
53
|
layers?: import("../types").LayerState;
|
|
@@ -63,7 +64,7 @@ export declare const getFirstMapId: ((state: {
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const getIsMapPresent: ((state: {
|
|
65
66
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
66
|
-
ui?:
|
|
67
|
+
ui?: UIStoreType;
|
|
67
68
|
webmap?: WebMapState;
|
|
68
69
|
services?: import("../types").ServiceState;
|
|
69
70
|
layers?: import("../types").LayerState;
|
|
@@ -83,7 +84,7 @@ export declare const getIsMapPresent: ((state: {
|
|
|
83
84
|
*/
|
|
84
85
|
export declare const getLayerIds: ((state: {
|
|
85
86
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
86
|
-
ui?:
|
|
87
|
+
ui?: UIStoreType;
|
|
87
88
|
webmap?: WebMapState;
|
|
88
89
|
services?: import("../types").ServiceState;
|
|
89
90
|
layers?: import("../types").LayerState;
|
|
@@ -103,7 +104,7 @@ export declare const getLayerIds: ((state: {
|
|
|
103
104
|
*/
|
|
104
105
|
export declare const getMapLayers: ((state: {
|
|
105
106
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
106
|
-
ui?:
|
|
107
|
+
ui?: UIStoreType;
|
|
107
108
|
webmap?: WebMapState;
|
|
108
109
|
services?: import("../types").ServiceState;
|
|
109
110
|
layers?: import("../types").LayerState;
|
|
@@ -123,7 +124,7 @@ export declare const getMapLayers: ((state: {
|
|
|
123
124
|
*/
|
|
124
125
|
export declare const getMapBaseLayersIds: ((state: {
|
|
125
126
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
126
|
-
ui?:
|
|
127
|
+
ui?: UIStoreType;
|
|
127
128
|
webmap?: WebMapState;
|
|
128
129
|
services?: import("../types").ServiceState;
|
|
129
130
|
layers?: import("../types").LayerState;
|
|
@@ -143,7 +144,7 @@ export declare const getMapBaseLayersIds: ((state: {
|
|
|
143
144
|
*/
|
|
144
145
|
export declare const getMapBaseLayers: ((state: {
|
|
145
146
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
146
|
-
ui?:
|
|
147
|
+
ui?: UIStoreType;
|
|
147
148
|
webmap?: WebMapState;
|
|
148
149
|
services?: import("../types").ServiceState;
|
|
149
150
|
layers?: import("../types").LayerState;
|
|
@@ -163,7 +164,7 @@ export declare const getMapBaseLayers: ((state: {
|
|
|
163
164
|
*/
|
|
164
165
|
export declare const getMapOverLayersIds: ((state: {
|
|
165
166
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
166
|
-
ui?:
|
|
167
|
+
ui?: UIStoreType;
|
|
167
168
|
webmap?: WebMapState;
|
|
168
169
|
services?: import("../types").ServiceState;
|
|
169
170
|
layers?: import("../types").LayerState;
|
|
@@ -183,7 +184,7 @@ export declare const getMapOverLayersIds: ((state: {
|
|
|
183
184
|
*/
|
|
184
185
|
export declare const getMapOverLayers: ((state: {
|
|
185
186
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
186
|
-
ui?:
|
|
187
|
+
ui?: UIStoreType;
|
|
187
188
|
webmap?: WebMapState;
|
|
188
189
|
services?: import("../types").ServiceState;
|
|
189
190
|
layers?: import("../types").LayerState;
|
|
@@ -203,7 +204,7 @@ export declare const getMapOverLayers: ((state: {
|
|
|
203
204
|
*/
|
|
204
205
|
export declare const getMapDimensions: ((state: {
|
|
205
206
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
206
|
-
ui?:
|
|
207
|
+
ui?: UIStoreType;
|
|
207
208
|
webmap?: WebMapState;
|
|
208
209
|
services?: import("../types").ServiceState;
|
|
209
210
|
layers?: import("../types").LayerState;
|
|
@@ -224,7 +225,7 @@ export declare const getMapDimensions: ((state: {
|
|
|
224
225
|
*/
|
|
225
226
|
export declare const getMapDimension: ((state: {
|
|
226
227
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
227
|
-
ui?:
|
|
228
|
+
ui?: UIStoreType;
|
|
228
229
|
webmap?: WebMapState;
|
|
229
230
|
services?: import("../types").ServiceState;
|
|
230
231
|
layers?: import("../types").LayerState;
|
|
@@ -244,7 +245,7 @@ export declare const getMapDimension: ((state: {
|
|
|
244
245
|
*/
|
|
245
246
|
export declare const getSrs: ((state: {
|
|
246
247
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
247
|
-
ui?:
|
|
248
|
+
ui?: UIStoreType;
|
|
248
249
|
webmap?: WebMapState;
|
|
249
250
|
services?: import("../types").ServiceState;
|
|
250
251
|
layers?: import("../types").LayerState;
|
|
@@ -264,12 +265,12 @@ export declare const getSrs: ((state: {
|
|
|
264
265
|
*/
|
|
265
266
|
export declare const getBbox: ((state: {
|
|
266
267
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
267
|
-
ui?:
|
|
268
|
+
ui?: UIStoreType;
|
|
268
269
|
webmap?: WebMapState;
|
|
269
270
|
services?: import("../types").ServiceState;
|
|
270
271
|
layers?: import("../types").LayerState;
|
|
271
272
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
272
|
-
}, params_0: string) =>
|
|
273
|
+
}, params_0: string) => Bbox) & import("reselect").OutputSelectorFields<((args_0: WebMap) => Bbox) & {
|
|
273
274
|
clearCache: () => void;
|
|
274
275
|
}> & {
|
|
275
276
|
clearCache: () => void;
|
|
@@ -284,7 +285,7 @@ export declare const getBbox: ((state: {
|
|
|
284
285
|
*/
|
|
285
286
|
export declare const isAnimating: ((state: {
|
|
286
287
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
287
|
-
ui?:
|
|
288
|
+
ui?: UIStoreType;
|
|
288
289
|
webmap?: WebMapState;
|
|
289
290
|
services?: import("../types").ServiceState;
|
|
290
291
|
layers?: import("../types").LayerState;
|
|
@@ -304,7 +305,7 @@ export declare const isAnimating: ((state: {
|
|
|
304
305
|
*/
|
|
305
306
|
export declare const linkedMapAnimationInfo: ((state: {
|
|
306
307
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
307
|
-
ui?:
|
|
308
|
+
ui?: UIStoreType;
|
|
308
309
|
webmap?: WebMapState;
|
|
309
310
|
services?: import("../types").ServiceState;
|
|
310
311
|
layers?: import("../types").LayerState;
|
|
@@ -333,7 +334,7 @@ export declare const linkedMapAnimationInfo: ((state: {
|
|
|
333
334
|
*/
|
|
334
335
|
export declare const getAnimationStartTime: ((state: {
|
|
335
336
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
336
|
-
ui?:
|
|
337
|
+
ui?: UIStoreType;
|
|
337
338
|
webmap?: WebMapState;
|
|
338
339
|
services?: import("../types").ServiceState;
|
|
339
340
|
layers?: import("../types").LayerState;
|
|
@@ -353,7 +354,7 @@ export declare const getAnimationStartTime: ((state: {
|
|
|
353
354
|
*/
|
|
354
355
|
export declare const getAnimationEndTime: ((state: {
|
|
355
356
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
356
|
-
ui?:
|
|
357
|
+
ui?: UIStoreType;
|
|
357
358
|
webmap?: WebMapState;
|
|
358
359
|
services?: import("../types").ServiceState;
|
|
359
360
|
layers?: import("../types").LayerState;
|
|
@@ -373,7 +374,7 @@ export declare const getAnimationEndTime: ((state: {
|
|
|
373
374
|
*/
|
|
374
375
|
export declare const isAutoUpdating: ((state: {
|
|
375
376
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
376
|
-
ui?:
|
|
377
|
+
ui?: UIStoreType;
|
|
377
378
|
webmap?: WebMapState;
|
|
378
379
|
services?: import("../types").ServiceState;
|
|
379
380
|
layers?: import("../types").LayerState;
|
|
@@ -392,7 +393,7 @@ export declare const isAutoUpdating: ((state: {
|
|
|
392
393
|
*/
|
|
393
394
|
export declare const getActiveLayerId: ((state: {
|
|
394
395
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
395
|
-
ui?:
|
|
396
|
+
ui?: UIStoreType;
|
|
396
397
|
webmap?: WebMapState;
|
|
397
398
|
services?: import("../types").ServiceState;
|
|
398
399
|
layers?: import("../types").LayerState;
|
|
@@ -412,7 +413,7 @@ export declare const getActiveLayerId: ((state: {
|
|
|
412
413
|
*/
|
|
413
414
|
export declare const getMapTimeSliderScale: ((state: {
|
|
414
415
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
415
|
-
ui?:
|
|
416
|
+
ui?: UIStoreType;
|
|
416
417
|
webmap?: WebMapState;
|
|
417
418
|
services?: import("../types").ServiceState;
|
|
418
419
|
layers?: import("../types").LayerState;
|
|
@@ -432,7 +433,7 @@ export declare const getMapTimeSliderScale: ((state: {
|
|
|
432
433
|
*/
|
|
433
434
|
export declare const getMapTimeStep: ((state: {
|
|
434
435
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
435
|
-
ui?:
|
|
436
|
+
ui?: UIStoreType;
|
|
436
437
|
webmap?: WebMapState;
|
|
437
438
|
services?: import("../types").ServiceState;
|
|
438
439
|
layers?: import("../types").LayerState;
|
|
@@ -452,7 +453,7 @@ export declare const getMapTimeStep: ((state: {
|
|
|
452
453
|
*/
|
|
453
454
|
export declare const getMapAnimationDelay: ((state: {
|
|
454
455
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
455
|
-
ui?:
|
|
456
|
+
ui?: UIStoreType;
|
|
456
457
|
webmap?: WebMapState;
|
|
457
458
|
services?: import("../types").ServiceState;
|
|
458
459
|
layers?: import("../types").LayerState;
|
|
@@ -472,7 +473,7 @@ export declare const getMapAnimationDelay: ((state: {
|
|
|
472
473
|
*/
|
|
473
474
|
export declare const getMapTimeSliderCenterTime: ((state: {
|
|
474
475
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
475
|
-
ui?:
|
|
476
|
+
ui?: UIStoreType;
|
|
476
477
|
webmap?: WebMapState;
|
|
477
478
|
services?: import("../types").ServiceState;
|
|
478
479
|
layers?: import("../types").LayerState;
|
|
@@ -492,7 +493,7 @@ export declare const getMapTimeSliderCenterTime: ((state: {
|
|
|
492
493
|
*/
|
|
493
494
|
export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
494
495
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
495
|
-
ui?:
|
|
496
|
+
ui?: UIStoreType;
|
|
496
497
|
webmap?: WebMapState;
|
|
497
498
|
services?: import("../types").ServiceState;
|
|
498
499
|
layers?: import("../types").LayerState;
|
|
@@ -512,7 +513,7 @@ export declare const getMapTimeSliderSecondsPerPx: ((state: {
|
|
|
512
513
|
*/
|
|
513
514
|
export declare const getMapTimeSliderDataScaleToSecondsPerPx: ((state: {
|
|
514
515
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
515
|
-
ui?:
|
|
516
|
+
ui?: UIStoreType;
|
|
516
517
|
webmap?: WebMapState;
|
|
517
518
|
services?: import("../types").ServiceState;
|
|
518
519
|
layers?: import("../types").LayerState;
|
|
@@ -532,7 +533,7 @@ export declare const getMapTimeSliderDataScaleToSecondsPerPx: ((state: {
|
|
|
532
533
|
*/
|
|
533
534
|
export declare const isTimestepAuto: ((state: {
|
|
534
535
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
535
|
-
ui?:
|
|
536
|
+
ui?: UIStoreType;
|
|
536
537
|
webmap?: WebMapState;
|
|
537
538
|
services?: import("../types").ServiceState;
|
|
538
539
|
layers?: import("../types").LayerState;
|
|
@@ -552,7 +553,27 @@ export declare const isTimestepAuto: ((state: {
|
|
|
552
553
|
*/
|
|
553
554
|
export declare const isTimeSliderHoverOn: ((state: {
|
|
554
555
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
555
|
-
ui?:
|
|
556
|
+
ui?: UIStoreType;
|
|
557
|
+
webmap?: WebMapState;
|
|
558
|
+
services?: import("../types").ServiceState;
|
|
559
|
+
layers?: import("../types").LayerState;
|
|
560
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
561
|
+
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap) => boolean & {
|
|
562
|
+
clearCache: () => void;
|
|
563
|
+
}> & {
|
|
564
|
+
clearCache: () => void;
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* Returns map if zoomcontrols are visible
|
|
568
|
+
*
|
|
569
|
+
* Example: isZoomControlsVisible = isZoomControlsVisible(store, 'mapid_1')
|
|
570
|
+
* @param {object} store store: object - store object
|
|
571
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
572
|
+
* @returns {boolean} returnType: boolean
|
|
573
|
+
*/
|
|
574
|
+
export declare const isZoomControlsVisible: ((state: {
|
|
575
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
576
|
+
ui?: UIStoreType;
|
|
556
577
|
webmap?: WebMapState;
|
|
557
578
|
services?: import("../types").ServiceState;
|
|
558
579
|
layers?: import("../types").LayerState;
|
|
@@ -572,7 +593,7 @@ export declare const isTimeSliderHoverOn: ((state: {
|
|
|
572
593
|
*/
|
|
573
594
|
export declare const isTimeSliderVisible: ((state: {
|
|
574
595
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
575
|
-
ui?:
|
|
596
|
+
ui?: UIStoreType;
|
|
576
597
|
webmap?: WebMapState;
|
|
577
598
|
services?: import("../types").ServiceState;
|
|
578
599
|
layers?: import("../types").LayerState;
|
|
@@ -593,7 +614,7 @@ export declare const isTimeSliderVisible: ((state: {
|
|
|
593
614
|
*/
|
|
594
615
|
export declare const getIsLayerActiveLayer: ((state: {
|
|
595
616
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
596
|
-
ui?:
|
|
617
|
+
ui?: UIStoreType;
|
|
597
618
|
webmap?: WebMapState;
|
|
598
619
|
services?: import("../types").ServiceState;
|
|
599
620
|
layers?: import("../types").LayerState;
|
|
@@ -613,7 +634,7 @@ export declare const getIsLayerActiveLayer: ((state: {
|
|
|
613
634
|
*/
|
|
614
635
|
export declare const getMapIdFromLayerId: ((state: {
|
|
615
636
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
616
|
-
ui?:
|
|
637
|
+
ui?: UIStoreType;
|
|
617
638
|
webmap?: WebMapState;
|
|
618
639
|
services?: import("../types").ServiceState;
|
|
619
640
|
layers?: import("../types").LayerState;
|
|
@@ -634,7 +655,7 @@ export declare const getMapIdFromLayerId: ((state: {
|
|
|
634
655
|
*/
|
|
635
656
|
export declare const getLayerIdByLayerName: ((state: {
|
|
636
657
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
637
|
-
ui?:
|
|
658
|
+
ui?: UIStoreType;
|
|
638
659
|
webmap?: WebMapState;
|
|
639
660
|
services?: import("../types").ServiceState;
|
|
640
661
|
layers?: import("../types").LayerState;
|
|
@@ -655,7 +676,7 @@ export declare const getLayerIdByLayerName: ((state: {
|
|
|
655
676
|
*/
|
|
656
677
|
export declare const getLayerIndexByLayerId: ((state: {
|
|
657
678
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
658
|
-
ui?:
|
|
679
|
+
ui?: UIStoreType;
|
|
659
680
|
webmap?: WebMapState;
|
|
660
681
|
services?: import("../types").ServiceState;
|
|
661
682
|
layers?: import("../types").LayerState;
|
|
@@ -676,7 +697,7 @@ export declare const getLayerIndexByLayerId: ((state: {
|
|
|
676
697
|
*/
|
|
677
698
|
export declare const getLayerByLayerIndex: ((state: {
|
|
678
699
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
679
|
-
ui?:
|
|
700
|
+
ui?: UIStoreType;
|
|
680
701
|
webmap?: WebMapState;
|
|
681
702
|
services?: import("../types").ServiceState;
|
|
682
703
|
layers?: import("../types").LayerState;
|
|
@@ -695,7 +716,7 @@ export declare const getLayerByLayerIndex: ((state: {
|
|
|
695
716
|
*/
|
|
696
717
|
export declare const getAllUniqueDimensions: ((state: {
|
|
697
718
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
698
|
-
ui?:
|
|
719
|
+
ui?: UIStoreType;
|
|
699
720
|
webmap?: WebMapState;
|
|
700
721
|
services?: import("../types").ServiceState;
|
|
701
722
|
layers?: import("../types").LayerState;
|
|
@@ -715,7 +736,7 @@ export declare const getAllUniqueDimensions: ((state: {
|
|
|
715
736
|
*/
|
|
716
737
|
export declare const getPinLocation: ((state: {
|
|
717
738
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
718
|
-
ui?:
|
|
739
|
+
ui?: UIStoreType;
|
|
719
740
|
webmap?: WebMapState;
|
|
720
741
|
services?: import("../types").ServiceState;
|
|
721
742
|
layers?: import("../types").LayerState;
|
|
@@ -731,11 +752,31 @@ export declare const getPinLocation: ((state: {
|
|
|
731
752
|
* Example getDisableMapPin(store);
|
|
732
753
|
* @param {object} store store: object - store object
|
|
733
754
|
* @param {string} mapId mapId: string - Id of the map
|
|
734
|
-
* @returns {boolean} returnType: boolean
|
|
755
|
+
* @returns {boolean} returnType: boolean
|
|
735
756
|
*/
|
|
736
757
|
export declare const getDisableMapPin: ((state: {
|
|
737
758
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
738
|
-
ui?:
|
|
759
|
+
ui?: UIStoreType;
|
|
760
|
+
webmap?: WebMapState;
|
|
761
|
+
services?: import("../types").ServiceState;
|
|
762
|
+
layers?: import("../types").LayerState;
|
|
763
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
764
|
+
}, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap) => boolean & {
|
|
765
|
+
clearCache: () => void;
|
|
766
|
+
}> & {
|
|
767
|
+
clearCache: () => void;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* Returns the diplay map pin boolean for the current map
|
|
771
|
+
*
|
|
772
|
+
* Example getDisplayMapPin(store);
|
|
773
|
+
* @param {object} store store: object - store object
|
|
774
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
775
|
+
* @returns {boolean} returnType: boolean
|
|
776
|
+
*/
|
|
777
|
+
export declare const getDisplayMapPin: ((state: {
|
|
778
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
779
|
+
ui?: UIStoreType;
|
|
739
780
|
webmap?: WebMapState;
|
|
740
781
|
services?: import("../types").ServiceState;
|
|
741
782
|
layers?: import("../types").LayerState;
|
|
@@ -755,7 +796,7 @@ export declare const getDisableMapPin: ((state: {
|
|
|
755
796
|
*/
|
|
756
797
|
export declare const getSelectedFeatureIndex: ((state: {
|
|
757
798
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
758
|
-
ui?:
|
|
799
|
+
ui?: UIStoreType;
|
|
759
800
|
webmap?: WebMapState;
|
|
760
801
|
services?: import("../types").ServiceState;
|
|
761
802
|
layers?: import("../types").LayerState;
|
|
@@ -775,7 +816,27 @@ export declare const getSelectedFeatureIndex: ((state: {
|
|
|
775
816
|
*/
|
|
776
817
|
export declare const getActiveMapPresetId: ((state: {
|
|
777
818
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
778
|
-
ui?:
|
|
819
|
+
ui?: UIStoreType;
|
|
820
|
+
webmap?: WebMapState;
|
|
821
|
+
services?: import("../types").ServiceState;
|
|
822
|
+
layers?: import("../types").LayerState;
|
|
823
|
+
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
824
|
+
}, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap) => string & {
|
|
825
|
+
clearCache: () => void;
|
|
826
|
+
}> & {
|
|
827
|
+
clearCache: () => void;
|
|
828
|
+
};
|
|
829
|
+
/**
|
|
830
|
+
* Returns the legend id
|
|
831
|
+
*
|
|
832
|
+
* Example getLegendId(store, mapId);
|
|
833
|
+
* @param {object} store store: object - store object
|
|
834
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
835
|
+
* @returns {boolean} returnType: id or undefined
|
|
836
|
+
*/
|
|
837
|
+
export declare const getLegendId: ((state: {
|
|
838
|
+
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
839
|
+
ui?: UIStoreType;
|
|
779
840
|
webmap?: WebMapState;
|
|
780
841
|
services?: import("../types").ServiceState;
|
|
781
842
|
layers?: import("../types").LayerState;
|
|
@@ -795,12 +856,12 @@ export declare const getActiveMapPresetId: ((state: {
|
|
|
795
856
|
*/
|
|
796
857
|
export declare const getMapPreset: ((state: {
|
|
797
858
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
798
|
-
ui?:
|
|
859
|
+
ui?: UIStoreType;
|
|
799
860
|
webmap?: WebMapState;
|
|
800
861
|
services?: import("../types").ServiceState;
|
|
801
862
|
layers?: import("../types").LayerState;
|
|
802
863
|
layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
|
|
803
|
-
}, params_0: string) => MapPreset) & import("reselect").OutputSelectorFields<((args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").ReduxLayer[], args_3:
|
|
864
|
+
}, params_0: string) => MapPreset) & import("reselect").OutputSelectorFields<((args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").ReduxLayer[], args_3: Bbox, args_4: string, args_5: string, args_6: boolean, args_7: boolean, args_8: boolean, args_9: boolean, args_10: boolean, args_11: number, args_12: number, args_13: boolean, args_14: string, args_15: UIStoreType) => MapPreset) & {
|
|
804
865
|
clearCache: () => void;
|
|
805
866
|
}> & {
|
|
806
867
|
clearCache: () => void;
|
|
@@ -815,7 +876,7 @@ export declare const getMapPreset: ((state: {
|
|
|
815
876
|
*/
|
|
816
877
|
export declare const getIsMapPresetLoading: ((state: {
|
|
817
878
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
818
|
-
ui?:
|
|
879
|
+
ui?: UIStoreType;
|
|
819
880
|
webmap?: WebMapState;
|
|
820
881
|
services?: import("../types").ServiceState;
|
|
821
882
|
layers?: import("../types").LayerState;
|
|
@@ -835,7 +896,7 @@ export declare const getIsMapPresetLoading: ((state: {
|
|
|
835
896
|
*/
|
|
836
897
|
export declare const getHasMapPresetChanges: ((state: {
|
|
837
898
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
838
|
-
ui?:
|
|
899
|
+
ui?: UIStoreType;
|
|
839
900
|
webmap?: WebMapState;
|
|
840
901
|
services?: import("../types").ServiceState;
|
|
841
902
|
layers?: import("../types").LayerState;
|
|
@@ -855,7 +916,7 @@ export declare const getHasMapPresetChanges: ((state: {
|
|
|
855
916
|
*/
|
|
856
917
|
export declare const getMapPresetError: ((state: {
|
|
857
918
|
syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
858
|
-
ui?:
|
|
919
|
+
ui?: UIStoreType;
|
|
859
920
|
webmap?: WebMapState;
|
|
860
921
|
services?: import("../types").ServiceState;
|
|
861
922
|
layers?: import("../types").LayerState;
|
|
@@ -34,13 +34,16 @@ export interface WebMap {
|
|
|
34
34
|
isTimestepAuto?: boolean;
|
|
35
35
|
isTimeSliderHoverOn?: boolean;
|
|
36
36
|
isTimeSliderVisible?: boolean;
|
|
37
|
+
shouldShowZoomControls?: boolean;
|
|
37
38
|
mapPinLocation?: MapLocation;
|
|
38
39
|
disableMapPin?: boolean;
|
|
40
|
+
displayMapPin?: boolean;
|
|
39
41
|
selectedFeatureIndex?: number;
|
|
40
42
|
activeMapPresetId?: string;
|
|
41
43
|
isMapPresetLoading?: boolean;
|
|
42
44
|
hasMapPresetChanges?: boolean;
|
|
43
45
|
mapPresetError?: string;
|
|
46
|
+
legendId?: string;
|
|
44
47
|
}
|
|
45
48
|
export interface WebMapState {
|
|
46
49
|
byId: Record<string, WebMap>;
|
|
@@ -85,11 +88,13 @@ export interface MapPreset {
|
|
|
85
88
|
};
|
|
86
89
|
shouldAnimate?: boolean;
|
|
87
90
|
shouldAutoUpdate?: boolean;
|
|
88
|
-
toggleTimestepAuto?: boolean;
|
|
89
|
-
animationPayload?: AnimationPayloadType;
|
|
90
|
-
shouldShowZoomControls?: boolean;
|
|
91
91
|
showTimeSlider?: boolean;
|
|
92
92
|
displayMapPin?: boolean;
|
|
93
|
+
shouldShowZoomControls?: boolean;
|
|
94
|
+
toggleTimestepAuto?: boolean;
|
|
95
|
+
animationPayload?: AnimationPayloadType;
|
|
96
|
+
shouldShowLegend?: boolean;
|
|
97
|
+
shouldShowLayerManager?: boolean;
|
|
93
98
|
}
|
|
94
99
|
export interface MapPresetInitialProps {
|
|
95
100
|
mapPreset: MapPreset;
|
|
@@ -149,10 +154,12 @@ export interface SetTimeSliderScalePayload {
|
|
|
149
154
|
export interface SetTimeStepPayload {
|
|
150
155
|
mapId: string;
|
|
151
156
|
timeStep: number;
|
|
157
|
+
origin?: MapActionOrigin;
|
|
152
158
|
}
|
|
153
159
|
export interface SetAnimationDelayPayload {
|
|
154
160
|
mapId: string;
|
|
155
161
|
animationDelay: number;
|
|
162
|
+
origin?: MapActionOrigin;
|
|
156
163
|
}
|
|
157
164
|
export interface SetAnimationStartTimePayload {
|
|
158
165
|
mapId: string;
|
|
@@ -192,6 +199,10 @@ export interface SetTimeSliderDataScaleToSecondsPerPxPayload {
|
|
|
192
199
|
mapId: string;
|
|
193
200
|
timeSliderDataScaleToSecondsPerPx: number;
|
|
194
201
|
}
|
|
202
|
+
export interface ToggleZoomControlsPayload {
|
|
203
|
+
mapId: string;
|
|
204
|
+
shouldShowZoomControls: boolean;
|
|
205
|
+
}
|
|
195
206
|
export interface MapPinLocationPayload {
|
|
196
207
|
mapId: string;
|
|
197
208
|
mapPinLocation: MapLocation;
|
|
@@ -200,6 +211,10 @@ export interface DisableMapPinPayload {
|
|
|
200
211
|
mapId: string;
|
|
201
212
|
disableMapPin: boolean;
|
|
202
213
|
}
|
|
214
|
+
export interface ToggleMapPinIsVisiblePayload {
|
|
215
|
+
mapId: string;
|
|
216
|
+
displayMapPin: boolean;
|
|
217
|
+
}
|
|
203
218
|
export interface SetSelectedFeaturePayload {
|
|
204
219
|
mapId: string;
|
|
205
220
|
selectedFeatureIndex: number;
|
|
@@ -25,8 +25,11 @@ interface CreateMapProps {
|
|
|
25
25
|
isTimeSliderHoverOn?: boolean;
|
|
26
26
|
isTimeSliderVisible?: boolean;
|
|
27
27
|
activeMapPresetId?: string;
|
|
28
|
+
displayMapPin?: boolean;
|
|
29
|
+
disableMapPin?: boolean;
|
|
30
|
+
shouldShowZoomControls?: boolean;
|
|
28
31
|
}
|
|
29
|
-
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, activeMapPresetId, }: CreateMapProps) => WebMap;
|
|
32
|
+
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, activeMapPresetId, displayMapPin, disableMapPin, shouldShowZoomControls, }: CreateMapProps) => WebMap;
|
|
30
33
|
export declare const checkValidLayersPayload: (layers: Layer[], mapId: string) => boolean;
|
|
31
34
|
/**
|
|
32
35
|
* This will get the map from the map draftstate.
|
|
@@ -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 generateTimeSeriesId: () => string;
|
|
8
7
|
/**
|
|
9
8
|
* Registers a WMJSLayer in a lookuptable with a layerId
|
|
10
9
|
* @param {WMLayer} wmLayer
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AppStore } from '../../types/types';
|
|
2
|
-
import { UIType } from './types';
|
|
2
|
+
import { UIStoreType, UIType } from './types';
|
|
3
|
+
export declare const getUiStore: (store: AppStore) => UIStoreType;
|
|
3
4
|
/**
|
|
4
5
|
* Gets the active map Id and wether a dialog is open or closed
|
|
5
6
|
*
|
|
@@ -18,7 +19,7 @@ export declare const getDialogDetailsByType: (store: AppStore, dialogType: strin
|
|
|
18
19
|
*/
|
|
19
20
|
export declare const getisDialogOpen: ((state: {
|
|
20
21
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
21
|
-
ui?:
|
|
22
|
+
ui?: UIStoreType;
|
|
22
23
|
webmap?: import("../mapStore/types").WebMapState;
|
|
23
24
|
services?: import("../mapStore/types").ServiceState;
|
|
24
25
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -37,7 +38,7 @@ export declare const getisDialogOpen: ((state: {
|
|
|
37
38
|
*/
|
|
38
39
|
export declare const getDialogMapId: ((state: {
|
|
39
40
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
40
|
-
ui?:
|
|
41
|
+
ui?: UIStoreType;
|
|
41
42
|
webmap?: import("../mapStore/types").WebMapState;
|
|
42
43
|
services?: import("../mapStore/types").ServiceState;
|
|
43
44
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -56,7 +57,7 @@ export declare const getDialogMapId: ((state: {
|
|
|
56
57
|
*/
|
|
57
58
|
export declare const getDialogOrder: ((state: {
|
|
58
59
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
59
|
-
ui?:
|
|
60
|
+
ui?: UIStoreType;
|
|
60
61
|
webmap?: import("../mapStore/types").WebMapState;
|
|
61
62
|
services?: import("../mapStore/types").ServiceState;
|
|
62
63
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -75,7 +76,7 @@ export declare const getDialogOrder: ((state: {
|
|
|
75
76
|
*/
|
|
76
77
|
export declare const getDialogIsOrderedOnTop: ((state: {
|
|
77
78
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
78
|
-
ui?:
|
|
79
|
+
ui?: UIStoreType;
|
|
79
80
|
webmap?: import("../mapStore/types").WebMapState;
|
|
80
81
|
services?: import("../mapStore/types").ServiceState;
|
|
81
82
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -87,7 +88,7 @@ export declare const getDialogIsOrderedOnTop: ((state: {
|
|
|
87
88
|
};
|
|
88
89
|
export declare const getDialogSource: ((state: {
|
|
89
90
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
90
|
-
ui?:
|
|
91
|
+
ui?: UIStoreType;
|
|
91
92
|
webmap?: import("../mapStore/types").WebMapState;
|
|
92
93
|
services?: import("../mapStore/types").ServiceState;
|
|
93
94
|
layers?: import("../mapStore/types").LayerState;
|
package/lib/store/ui/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MapActionOrigin } from '../mapStore/types';
|
|
1
2
|
declare type LegendDialogType = string;
|
|
2
3
|
export declare type DialogType = 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter' | 'timeSeriesManager' | 'timeSeriesSelect' | 'syncGroups' | LegendDialogType;
|
|
3
4
|
export declare type Source = 'app' | 'module';
|
|
@@ -17,13 +18,14 @@ export interface UIModuleState {
|
|
|
17
18
|
}
|
|
18
19
|
export interface SetActiveMapIdForDialogPayload {
|
|
19
20
|
type: DialogType;
|
|
20
|
-
|
|
21
|
+
mapId: string;
|
|
21
22
|
setOpen?: boolean;
|
|
22
23
|
source?: Source;
|
|
24
|
+
origin?: MapActionOrigin.map;
|
|
23
25
|
}
|
|
24
26
|
export interface UIRegisterDialogPayload {
|
|
25
27
|
type: DialogType;
|
|
26
|
-
|
|
28
|
+
mapId?: string;
|
|
27
29
|
setOpen?: boolean;
|
|
28
30
|
source?: Source;
|
|
29
31
|
}
|
|
@@ -33,6 +35,8 @@ export interface UIUnRegisterDialogPayload {
|
|
|
33
35
|
export interface UIToggleDialogPayload {
|
|
34
36
|
type: DialogType;
|
|
35
37
|
setOpen: boolean;
|
|
38
|
+
origin?: MapActionOrigin.map;
|
|
39
|
+
mapId?: string;
|
|
36
40
|
}
|
|
37
41
|
export interface UIOrderDialogPayload {
|
|
38
42
|
type: DialogType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,25 +13,26 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
|
-
"@opengeoweb/theme": "2.
|
|
16
|
+
"@opengeoweb/theme": "2.15.0",
|
|
17
17
|
"@mui/material": "^5.2.8",
|
|
18
18
|
"@mui/styles": "^5.2.3",
|
|
19
19
|
"moment": "^2.29.0",
|
|
20
|
-
"react-redux": "
|
|
20
|
+
"react-redux": "^8.0.2",
|
|
21
21
|
"react-intl": "^5.17.5",
|
|
22
|
-
"
|
|
22
|
+
"lodash": "^4.17.20",
|
|
23
|
+
"@opengeoweb/shared": "2.15.0",
|
|
23
24
|
"react-draggable": "^4.4.3",
|
|
24
25
|
"re-resizable": "^6.9.0",
|
|
25
|
-
"
|
|
26
|
-
"@opengeoweb/form-fields": "2.12.0",
|
|
26
|
+
"@opengeoweb/form-fields": "2.15.0",
|
|
27
27
|
"react-hook-form": "^6.12.1",
|
|
28
28
|
"moment-timezone": "^0.5.31",
|
|
29
29
|
"@mui/lab": "^5.0.0-alpha.64",
|
|
30
30
|
"axios": "^0.25.0",
|
|
31
|
-
"@opengeoweb/webmap": "2.
|
|
31
|
+
"@opengeoweb/webmap": "2.15.0",
|
|
32
32
|
"throttle-debounce": "^3.0.1",
|
|
33
33
|
"proj4": "^2.6.2",
|
|
34
34
|
"react-sortablejs": "^6.0.0",
|
|
35
|
+
"react-window": "^1.8.7",
|
|
35
36
|
"immer": "^9.0.15",
|
|
36
37
|
"redux-dynamic-modules": "^5.2.0",
|
|
37
38
|
"@reduxjs/toolkit": "^1.8.3",
|