@opengeoweb/store 9.4.1 → 9.6.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 +245 -132
- package/package.json +20 -1
- package/src/store/generic/synchronizationGroups/selectors.d.ts +27 -6
- package/src/store/index.d.ts +1 -0
- package/src/store/mapStore/index.d.ts +1 -0
- package/src/store/mapStore/layers/selectors.d.ts +46 -21
- package/src/store/mapStore/map/index.d.ts +1 -2
- package/src/store/mapStore/map/reducer.d.ts +3 -1
- package/src/store/mapStore/map/sagas.d.ts +1 -0
- package/src/store/mapStore/map/selectors.d.ts +71 -51
- package/src/store/mapStore/map/utils.d.ts +1 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Bbox, MapPreset, WebMap, WebMapState } from './types';
|
|
2
2
|
import type { CoreAppStore } from '../../types';
|
|
3
|
-
import type { Layer } from '../types';
|
|
3
|
+
import type { Dimension, Layer } from '../types';
|
|
4
4
|
import type { uiTypes } from '../../ui';
|
|
5
5
|
/**
|
|
6
6
|
* Gets the map state by mapId
|
|
@@ -10,7 +10,16 @@ import type { uiTypes } from '../../ui';
|
|
|
10
10
|
* @param {string} mapId Id of the map
|
|
11
11
|
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
12
12
|
*/
|
|
13
|
-
export declare const getMapById: (
|
|
13
|
+
export declare const getMapById: ((state: any, mapId: any) => WebMap | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string) => WebMap | undefined, {
|
|
14
|
+
clearCache: () => void;
|
|
15
|
+
}> & {
|
|
16
|
+
clearCache: () => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const getAllMapsByIds: ((state: CoreAppStore) => Record<string, WebMap>) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined) => Record<string, WebMap>, {
|
|
19
|
+
clearCache: () => void;
|
|
20
|
+
}> & {
|
|
21
|
+
clearCache: () => void;
|
|
22
|
+
};
|
|
14
23
|
/**
|
|
15
24
|
* Gets all mapIds
|
|
16
25
|
*
|
|
@@ -18,7 +27,11 @@ export declare const getMapById: (store: CoreAppStore | undefined, mapId: string
|
|
|
18
27
|
* @param {object} store store object from which the map state wll be extracted
|
|
19
28
|
* @returns {array} array containing all map ids
|
|
20
29
|
*/
|
|
21
|
-
export declare const getAllMapIds: (
|
|
30
|
+
export declare const getAllMapIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined) => string[], {
|
|
31
|
+
clearCache: () => void;
|
|
32
|
+
}> & {
|
|
33
|
+
clearCache: () => void;
|
|
34
|
+
};
|
|
22
35
|
/**
|
|
23
36
|
* Gets the map state of the first map in the store
|
|
24
37
|
*
|
|
@@ -50,7 +63,7 @@ export declare const getFirstMapId: ((state: CoreAppStore) => string) & import("
|
|
|
50
63
|
* @param {string} mapId mapId: string - Id of the map
|
|
51
64
|
* @returns {boolean} returnType:boolean - true if map is present
|
|
52
65
|
*/
|
|
53
|
-
export declare const getIsMapPresent: ((state:
|
|
66
|
+
export declare const getIsMapPresent: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
54
67
|
clearCache: () => void;
|
|
55
68
|
}> & {
|
|
56
69
|
clearCache: () => void;
|
|
@@ -63,7 +76,7 @@ export declare const getIsMapPresent: ((state: CoreAppStore, mapId: string) => b
|
|
|
63
76
|
* @param {string} mapId mapId: string - Id of the map
|
|
64
77
|
* @returns {array} returnType: array - array containing all layerIds
|
|
65
78
|
*/
|
|
66
|
-
export declare const getLayerIds: ((state:
|
|
79
|
+
export declare const getLayerIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
67
80
|
clearCache: () => void;
|
|
68
81
|
}> & {
|
|
69
82
|
clearCache: () => void;
|
|
@@ -76,7 +89,7 @@ export declare const getLayerIds: ((state: CoreAppStore | undefined, mapId: stri
|
|
|
76
89
|
* @param {string} mapId mapId: string - Id of the map
|
|
77
90
|
* @returns {array} returnType: array - array containing all layer states for the map
|
|
78
91
|
*/
|
|
79
|
-
export declare const getMapLayers: ((state:
|
|
92
|
+
export declare const getMapLayers: ((state: any, mapId: any) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
|
|
80
93
|
clearCache: () => void;
|
|
81
94
|
}> & {
|
|
82
95
|
clearCache: () => void;
|
|
@@ -89,7 +102,7 @@ export declare const getMapLayers: ((state: CoreAppStore, mapId: string) => impo
|
|
|
89
102
|
* @param {string} mapId mapId: string - Id of the map
|
|
90
103
|
* @returns {array} returnType: array - array containing an array of baselayers ids
|
|
91
104
|
*/
|
|
92
|
-
export declare const getMapBaseLayersIds: ((state:
|
|
105
|
+
export declare const getMapBaseLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
93
106
|
clearCache: () => void;
|
|
94
107
|
}> & {
|
|
95
108
|
clearCache: () => void;
|
|
@@ -102,7 +115,7 @@ export declare const getMapBaseLayersIds: ((state: CoreAppStore | undefined, map
|
|
|
102
115
|
* @param {string} mapId mapId: string - Id of the map
|
|
103
116
|
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
104
117
|
*/
|
|
105
|
-
export declare const getMapBaseLayers: ((state:
|
|
118
|
+
export declare const getMapBaseLayers: ((state: any, mapId: any) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
|
|
106
119
|
clearCache: () => void;
|
|
107
120
|
}> & {
|
|
108
121
|
clearCache: () => void;
|
|
@@ -115,12 +128,12 @@ export declare const getMapBaseLayers: ((state: CoreAppStore, mapId: string) =>
|
|
|
115
128
|
* @param {string} mapId mapId: string - Id of the map
|
|
116
129
|
* @returns {array} returnType: array - array containing an array of overLayers ids
|
|
117
130
|
*/
|
|
118
|
-
export declare const getMapOverLayersIds: ((state:
|
|
131
|
+
export declare const getMapOverLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
119
132
|
clearCache: () => void;
|
|
120
133
|
}> & {
|
|
121
134
|
clearCache: () => void;
|
|
122
135
|
};
|
|
123
|
-
export declare const getMapFeatureLayers: ((state:
|
|
136
|
+
export declare const getMapFeatureLayers: ((state: any, mapId: any) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: import("../types").ReduxLayer[]) => import("../types").ReduxLayer[], {
|
|
124
137
|
clearCache: () => void;
|
|
125
138
|
}> & {
|
|
126
139
|
clearCache: () => void;
|
|
@@ -133,7 +146,7 @@ export declare const getMapFeatureLayers: ((state: CoreAppStore, mapId: string)
|
|
|
133
146
|
* @param {string} mapId mapId: string - Id of the map
|
|
134
147
|
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
135
148
|
*/
|
|
136
|
-
export declare const getMapOverLayers: ((state:
|
|
149
|
+
export declare const getMapOverLayers: ((state: any, mapId: any) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
|
|
137
150
|
clearCache: () => void;
|
|
138
151
|
}> & {
|
|
139
152
|
clearCache: () => void;
|
|
@@ -146,7 +159,7 @@ export declare const getMapOverLayers: ((state: CoreAppStore, mapId: string) =>
|
|
|
146
159
|
* @param {string} mapId mapId: string - Id of the map
|
|
147
160
|
* @returns {array} returnType: array - array containing map dimensions
|
|
148
161
|
*/
|
|
149
|
-
export declare const getMapDimensions: ((state:
|
|
162
|
+
export declare const getMapDimensions: ((state: any, mapId: any) => Dimension[] | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Dimension[] | undefined, {
|
|
150
163
|
clearCache: () => void;
|
|
151
164
|
}> & {
|
|
152
165
|
clearCache: () => void;
|
|
@@ -160,17 +173,24 @@ export declare const getMapDimensions: ((state: CoreAppStore | undefined, mapId:
|
|
|
160
173
|
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
161
174
|
* @returns {object} returnType: object - object containing the map dimension details
|
|
162
175
|
*/
|
|
163
|
-
export declare const getMapDimension: ((state:
|
|
176
|
+
export declare const getMapDimension: ((state: any, _mapId: any, dimensionName: string) => Dimension | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: string, args_2: string) => Dimension | undefined, {
|
|
164
177
|
clearCache: () => void;
|
|
165
178
|
}> & {
|
|
166
179
|
clearCache: () => void;
|
|
167
180
|
};
|
|
168
|
-
|
|
181
|
+
/**
|
|
182
|
+
* Returns the current time in unix time for the given map
|
|
183
|
+
*
|
|
184
|
+
* @param {object} store store: object - store object
|
|
185
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
186
|
+
* @returns {object} returnType: unix time as number
|
|
187
|
+
*/
|
|
188
|
+
export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => number) & import("reselect").OutputSelectorFields<(args_0: Dimension | undefined) => number, {
|
|
169
189
|
clearCache: () => void;
|
|
170
190
|
}> & {
|
|
171
191
|
clearCache: () => void;
|
|
172
192
|
};
|
|
173
|
-
export declare const getDataLimitsFromLayers: ((state:
|
|
193
|
+
export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => number[]) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[]) => number[], {
|
|
174
194
|
clearCache: () => void;
|
|
175
195
|
}> & {
|
|
176
196
|
clearCache: () => void;
|
|
@@ -183,7 +203,7 @@ export declare const getDataLimitsFromLayers: ((state: CoreAppStore, mapId: stri
|
|
|
183
203
|
* @param {string} mapId mapId: string - Id of the map
|
|
184
204
|
* @returns {string} returnType: string - string containing srs
|
|
185
205
|
*/
|
|
186
|
-
export declare const getSrs: ((state:
|
|
206
|
+
export declare const getSrs: ((state: any, mapId: any) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
187
207
|
clearCache: () => void;
|
|
188
208
|
}> & {
|
|
189
209
|
clearCache: () => void;
|
|
@@ -196,7 +216,7 @@ export declare const getSrs: ((state: CoreAppStore | undefined, mapId: string) =
|
|
|
196
216
|
* @param {string} mapId mapId: string - Id of the map
|
|
197
217
|
* @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
|
|
198
218
|
*/
|
|
199
|
-
export declare const getBbox: ((state:
|
|
219
|
+
export declare const getBbox: ((state: any, mapId: any) => Bbox) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Bbox, {
|
|
200
220
|
clearCache: () => void;
|
|
201
221
|
}> & {
|
|
202
222
|
clearCache: () => void;
|
|
@@ -209,7 +229,7 @@ export declare const getBbox: ((state: CoreAppStore | undefined, mapId: string)
|
|
|
209
229
|
* @param {string} mapId mapId: string - Id of the map
|
|
210
230
|
* @returns {boolean} returnType: boolean
|
|
211
231
|
*/
|
|
212
|
-
export declare const isAnimating: ((state:
|
|
232
|
+
export declare const isAnimating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
213
233
|
clearCache: () => void;
|
|
214
234
|
}> & {
|
|
215
235
|
clearCache: () => void;
|
|
@@ -244,7 +264,7 @@ export declare const linkedMapAnimationInfo: ((state: CoreAppStore, mapId: strin
|
|
|
244
264
|
* @param {string} mapId mapId: string - Id of the map
|
|
245
265
|
* @returns {string} returnType: string
|
|
246
266
|
*/
|
|
247
|
-
export declare const getAnimationStartTime: ((state:
|
|
267
|
+
export declare const getAnimationStartTime: ((state: any, mapId: any) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
248
268
|
clearCache: () => void;
|
|
249
269
|
}> & {
|
|
250
270
|
clearCache: () => void;
|
|
@@ -257,7 +277,7 @@ export declare const getAnimationStartTime: ((state: CoreAppStore | undefined, m
|
|
|
257
277
|
* @param {string} mapId mapId: string - Id of the map
|
|
258
278
|
* @returns {string} returnType: string
|
|
259
279
|
*/
|
|
260
|
-
export declare const getAnimationEndTime: ((state:
|
|
280
|
+
export declare const getAnimationEndTime: ((state: any, mapId: any) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
261
281
|
clearCache: () => void;
|
|
262
282
|
}> & {
|
|
263
283
|
clearCache: () => void;
|
|
@@ -270,7 +290,7 @@ export declare const getAnimationEndTime: ((state: CoreAppStore | undefined, map
|
|
|
270
290
|
* @param {string} mapId mapId: string - Id of the map
|
|
271
291
|
* @returns {boolean} returnType: boolean
|
|
272
292
|
*/
|
|
273
|
-
export declare const isAutoUpdating: ((state:
|
|
293
|
+
export declare const isAutoUpdating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
274
294
|
clearCache: () => void;
|
|
275
295
|
}> & {
|
|
276
296
|
clearCache: () => void;
|
|
@@ -283,7 +303,7 @@ export declare const isAutoUpdating: ((state: CoreAppStore | undefined, mapId: s
|
|
|
283
303
|
* @param {string} mapId mapId: string - Id of the map
|
|
284
304
|
* @returns {boolean} returnType: boolean
|
|
285
305
|
*/
|
|
286
|
-
export declare const isEndTimeOverriding: ((state:
|
|
306
|
+
export declare const isEndTimeOverriding: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
287
307
|
clearCache: () => void;
|
|
288
308
|
}> & {
|
|
289
309
|
clearCache: () => void;
|
|
@@ -295,7 +315,7 @@ export declare const isEndTimeOverriding: ((state: CoreAppStore | undefined, map
|
|
|
295
315
|
* @param {object} store store: object - store object
|
|
296
316
|
* @param {string} mapId mapId: string - Id of the map
|
|
297
317
|
*/
|
|
298
|
-
export declare const getActiveLayerId: ((state:
|
|
318
|
+
export declare const getActiveLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
299
319
|
clearCache: () => void;
|
|
300
320
|
}> & {
|
|
301
321
|
clearCache: () => void;
|
|
@@ -307,7 +327,7 @@ export declare const getActiveLayerId: ((state: CoreAppStore | undefined, mapId:
|
|
|
307
327
|
* @param {object} store store: object - store object
|
|
308
328
|
* @param {string} mapId mapId: string - Id of the map
|
|
309
329
|
*/
|
|
310
|
-
export declare const getAutoUpdateLayerId: ((state:
|
|
330
|
+
export declare const getAutoUpdateLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
311
331
|
clearCache: () => void;
|
|
312
332
|
}> & {
|
|
313
333
|
clearCache: () => void;
|
|
@@ -319,7 +339,7 @@ export declare const getAutoUpdateLayerId: ((state: CoreAppStore | undefined, ma
|
|
|
319
339
|
* @param {object} store store: object - store object
|
|
320
340
|
* @param {string} mapId mapId: string - Id of the map
|
|
321
341
|
*/
|
|
322
|
-
export declare const getAutoTimeStepLayerId: ((state:
|
|
342
|
+
export declare const getAutoTimeStepLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
323
343
|
clearCache: () => void;
|
|
324
344
|
}> & {
|
|
325
345
|
clearCache: () => void;
|
|
@@ -332,7 +352,7 @@ export declare const getAutoTimeStepLayerId: ((state: CoreAppStore | undefined,
|
|
|
332
352
|
* @param {string} mapId mapId: string - Id of the map
|
|
333
353
|
* @returns {Span} returnType: Span - span as an enum
|
|
334
354
|
*/
|
|
335
|
-
export declare const getMapTimeSliderSpan: ((state:
|
|
355
|
+
export declare const getMapTimeSliderSpan: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
336
356
|
clearCache: () => void;
|
|
337
357
|
}> & {
|
|
338
358
|
clearCache: () => void;
|
|
@@ -345,12 +365,12 @@ export declare const getMapTimeSliderSpan: ((state: CoreAppStore | undefined, ma
|
|
|
345
365
|
* @param {string} mapId mapId: string - Id of the map
|
|
346
366
|
* @returns {number} returnType: number - time step as a number
|
|
347
367
|
*/
|
|
348
|
-
export declare const getMapTimeStep: ((state:
|
|
368
|
+
export declare const getMapTimeStep: ((state: any, mapId: any) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number, {
|
|
349
369
|
clearCache: () => void;
|
|
350
370
|
}> & {
|
|
351
371
|
clearCache: () => void;
|
|
352
372
|
};
|
|
353
|
-
export declare const getMapTimeStepWithoutDefault: ((state:
|
|
373
|
+
export declare const getMapTimeStepWithoutDefault: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
354
374
|
clearCache: () => void;
|
|
355
375
|
}> & {
|
|
356
376
|
clearCache: () => void;
|
|
@@ -363,7 +383,7 @@ export declare const getMapTimeStepWithoutDefault: ((state: CoreAppStore | undef
|
|
|
363
383
|
* @param {string} mapId mapId: string - Id of the map
|
|
364
384
|
* @returns {number} returnType: number - speed as a number
|
|
365
385
|
*/
|
|
366
|
-
export declare const getMapAnimationDelay: ((state:
|
|
386
|
+
export declare const getMapAnimationDelay: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
367
387
|
clearCache: () => void;
|
|
368
388
|
}> & {
|
|
369
389
|
clearCache: () => void;
|
|
@@ -376,7 +396,7 @@ export declare const getMapAnimationDelay: ((state: CoreAppStore | undefined, ma
|
|
|
376
396
|
* @param {string} mapId mapId: string - Id of the map
|
|
377
397
|
* @returns {number} returnType: number - center time as a unix timestamp
|
|
378
398
|
*/
|
|
379
|
-
export declare const getMapTimeSliderWidth: ((state:
|
|
399
|
+
export declare const getMapTimeSliderWidth: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
380
400
|
clearCache: () => void;
|
|
381
401
|
}> & {
|
|
382
402
|
clearCache: () => void;
|
|
@@ -389,7 +409,7 @@ export declare const getMapTimeSliderWidth: ((state: CoreAppStore | undefined, m
|
|
|
389
409
|
* @param {string} mapId mapId: string - Id of the map
|
|
390
410
|
* @returns {number} returnType: number - center time as a unix timestamp
|
|
391
411
|
*/
|
|
392
|
-
export declare const getMapTimeSliderCenterTime: ((state:
|
|
412
|
+
export declare const getMapTimeSliderCenterTime: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
393
413
|
clearCache: () => void;
|
|
394
414
|
}> & {
|
|
395
415
|
clearCache: () => void;
|
|
@@ -403,7 +423,7 @@ export declare const getMapTimeSliderCenterTime: ((state: CoreAppStore | undefin
|
|
|
403
423
|
* @param {string} mapId mapId: string - Id of the map
|
|
404
424
|
* @returns {number} returnType: number - unfiltered selected time as a unix timestamp
|
|
405
425
|
*/
|
|
406
|
-
export declare const getTimeSliderUnfilteredSelectedTime: ((state:
|
|
426
|
+
export declare const getTimeSliderUnfilteredSelectedTime: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: number) => number | undefined, {
|
|
407
427
|
clearCache: () => void;
|
|
408
428
|
}> & {
|
|
409
429
|
clearCache: () => void;
|
|
@@ -416,7 +436,7 @@ export declare const getTimeSliderUnfilteredSelectedTime: ((state: CoreAppStore,
|
|
|
416
436
|
* @param {string} mapId mapId: string - Id of the map
|
|
417
437
|
* @returns {number} returnType: number - the number of seconds per pixel
|
|
418
438
|
*/
|
|
419
|
-
export declare const getMapTimeSliderSecondsPerPx: ((state:
|
|
439
|
+
export declare const getMapTimeSliderSecondsPerPx: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
420
440
|
clearCache: () => void;
|
|
421
441
|
}> & {
|
|
422
442
|
clearCache: () => void;
|
|
@@ -429,7 +449,7 @@ export declare const getMapTimeSliderSecondsPerPx: ((state: CoreAppStore | undef
|
|
|
429
449
|
* @param {string} mapId mapId: string - Id of the map
|
|
430
450
|
* @returns {boolean} returnType: boolean
|
|
431
451
|
*/
|
|
432
|
-
export declare const isTimestepAuto: ((state:
|
|
452
|
+
export declare const isTimestepAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
433
453
|
clearCache: () => void;
|
|
434
454
|
}> & {
|
|
435
455
|
clearCache: () => void;
|
|
@@ -442,7 +462,7 @@ export declare const isTimestepAuto: ((state: CoreAppStore | undefined, mapId: s
|
|
|
442
462
|
* @param {string} mapId mapId: string - Id of the map
|
|
443
463
|
* @returns {boolean} returnType: boolean
|
|
444
464
|
*/
|
|
445
|
-
export declare const isTimeSpanAuto: ((state:
|
|
465
|
+
export declare const isTimeSpanAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
446
466
|
clearCache: () => void;
|
|
447
467
|
}> & {
|
|
448
468
|
clearCache: () => void;
|
|
@@ -455,7 +475,7 @@ export declare const isTimeSpanAuto: ((state: CoreAppStore | undefined, mapId: s
|
|
|
455
475
|
* @param {string} mapId mapId: string - Id of the map
|
|
456
476
|
* @returns {boolean} returnType: boolean
|
|
457
477
|
*/
|
|
458
|
-
export declare const isTimeSliderHoverOn: ((state:
|
|
478
|
+
export declare const isTimeSliderHoverOn: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
459
479
|
clearCache: () => void;
|
|
460
480
|
}> & {
|
|
461
481
|
clearCache: () => void;
|
|
@@ -468,7 +488,7 @@ export declare const isTimeSliderHoverOn: ((state: CoreAppStore | undefined, map
|
|
|
468
488
|
* @param {string} mapId mapId: string - Id of the map
|
|
469
489
|
* @returns {boolean} returnType: boolean
|
|
470
490
|
*/
|
|
471
|
-
export declare const isZoomControlsVisible: ((state:
|
|
491
|
+
export declare const isZoomControlsVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
472
492
|
clearCache: () => void;
|
|
473
493
|
}> & {
|
|
474
494
|
clearCache: () => void;
|
|
@@ -481,7 +501,7 @@ export declare const isZoomControlsVisible: ((state: CoreAppStore | undefined, m
|
|
|
481
501
|
* @param {string} mapId mapId: string - Id of the map
|
|
482
502
|
* @returns {boolean} returnType: boolean
|
|
483
503
|
*/
|
|
484
|
-
export declare const isTimeSliderVisible: ((state:
|
|
504
|
+
export declare const isTimeSliderVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
485
505
|
clearCache: () => void;
|
|
486
506
|
}> & {
|
|
487
507
|
clearCache: () => void;
|
|
@@ -495,7 +515,7 @@ export declare const isTimeSliderVisible: ((state: CoreAppStore | undefined, map
|
|
|
495
515
|
* @param {string} mapId layerId: string - Id of the layer
|
|
496
516
|
* @returns {boolean} returnType: boolean
|
|
497
517
|
*/
|
|
498
|
-
export declare const getIsLayerActiveLayer: ((state:
|
|
518
|
+
export declare const getIsLayerActiveLayer: ((state: any, _mapId: any, layerId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string | undefined, args_1: string) => boolean, {
|
|
499
519
|
clearCache: () => void;
|
|
500
520
|
}> & {
|
|
501
521
|
clearCache: () => void;
|
|
@@ -508,7 +528,7 @@ export declare const getIsLayerActiveLayer: ((state: CoreAppStore, _mapId: strin
|
|
|
508
528
|
* @param {string} layerId layerId: string - Id of the layer
|
|
509
529
|
* @returns {string} returnType: string - the mapId, or null if not found
|
|
510
530
|
*/
|
|
511
|
-
export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string | undefined) => string, {
|
|
531
|
+
export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: string | undefined) => string | null) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string | undefined) => string | null, {
|
|
512
532
|
clearCache: () => void;
|
|
513
533
|
}> & {
|
|
514
534
|
clearCache: () => void;
|
|
@@ -522,7 +542,7 @@ export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: strin
|
|
|
522
542
|
* @param {string} layerId layerId: string - Id of the layer
|
|
523
543
|
* @returns {string} returnType: string - the layerId, or null if not found
|
|
524
544
|
*/
|
|
525
|
-
export declare const getLayerIdByLayerName: ((state:
|
|
545
|
+
export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string) => string, {
|
|
526
546
|
clearCache: () => void;
|
|
527
547
|
}> & {
|
|
528
548
|
clearCache: () => void;
|
|
@@ -536,7 +556,7 @@ export declare const getLayerIdByLayerName: ((state: CoreAppStore, _mapId: strin
|
|
|
536
556
|
* @param {string} layerId layerId: string - Id of the layer
|
|
537
557
|
* @returns {number} returnType: index number or -1 if not found
|
|
538
558
|
*/
|
|
539
|
-
export declare const getLayerIndexByLayerId: ((state:
|
|
559
|
+
export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string | undefined) => number, {
|
|
540
560
|
clearCache: () => void;
|
|
541
561
|
}> & {
|
|
542
562
|
clearCache: () => void;
|
|
@@ -550,7 +570,7 @@ export declare const getLayerIndexByLayerId: ((state: CoreAppStore, _mapId: stri
|
|
|
550
570
|
* @param {number} layerIndex layerId: number - Index of the layer in the map
|
|
551
571
|
* @returns {object} returnType: layer, or null if not found
|
|
552
572
|
*/
|
|
553
|
-
export declare const getLayerByLayerIndex: ((state:
|
|
573
|
+
export declare const getLayerByLayerIndex: ((state: any, _mapId: any, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: number) => Layer, {
|
|
554
574
|
clearCache: () => void;
|
|
555
575
|
}> & {
|
|
556
576
|
clearCache: () => void;
|
|
@@ -575,7 +595,7 @@ export declare const getAllUniqueDimensions: ((state: CoreAppStore) => string[])
|
|
|
575
595
|
* @param {string} mapId mapId: string - Id of the map
|
|
576
596
|
* @returns {object} returnType: latitude and longitude of pin
|
|
577
597
|
*/
|
|
578
|
-
export declare const getPinLocation: ((state:
|
|
598
|
+
export declare const getPinLocation: ((state: any, mapId: any) => import("dist/libs/webmap-react/src").MapLocation | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("dist/libs/webmap-react/src").MapLocation | undefined, {
|
|
579
599
|
clearCache: () => void;
|
|
580
600
|
}> & {
|
|
581
601
|
clearCache: () => void;
|
|
@@ -588,7 +608,7 @@ export declare const getPinLocation: ((state: CoreAppStore | undefined, mapId: s
|
|
|
588
608
|
* @param {string} mapId mapId: string - Id of the map
|
|
589
609
|
* @returns {boolean} returnType: boolean
|
|
590
610
|
*/
|
|
591
|
-
export declare const getDisableMapPin: ((state:
|
|
611
|
+
export declare const getDisableMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
592
612
|
clearCache: () => void;
|
|
593
613
|
}> & {
|
|
594
614
|
clearCache: () => void;
|
|
@@ -601,7 +621,7 @@ export declare const getDisableMapPin: ((state: CoreAppStore | undefined, mapId:
|
|
|
601
621
|
* @param {string} mapId mapId: string - Id of the map
|
|
602
622
|
* @returns {boolean} returnType: boolean
|
|
603
623
|
*/
|
|
604
|
-
export declare const getDisplayMapPin: ((state:
|
|
624
|
+
export declare const getDisplayMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
605
625
|
clearCache: () => void;
|
|
606
626
|
}> & {
|
|
607
627
|
clearCache: () => void;
|
|
@@ -614,7 +634,7 @@ export declare const getDisplayMapPin: ((state: CoreAppStore | undefined, mapId:
|
|
|
614
634
|
* @param {string} mapId mapId: string - Id of the map
|
|
615
635
|
* @returns {boolean} returnType: id or undefined
|
|
616
636
|
*/
|
|
617
|
-
export declare const getLegendId: ((state:
|
|
637
|
+
export declare const getLegendId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
618
638
|
clearCache: () => void;
|
|
619
639
|
}> & {
|
|
620
640
|
clearCache: () => void;
|
|
@@ -627,7 +647,7 @@ export declare const getLegendId: ((state: CoreAppStore | undefined, mapId: stri
|
|
|
627
647
|
* @param {string} mapId mapId: string - Id of the map
|
|
628
648
|
* @returns {MapPreset} returnType: MapPreset
|
|
629
649
|
*/
|
|
630
|
-
export declare const getMapPreset: ((state:
|
|
650
|
+
export declare const getMapPreset: ((state: any, mapId: any) => 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 | undefined, args_6: string | undefined, args_7: string | undefined, args_8: boolean, args_9: boolean, args_10: boolean | undefined, args_11: boolean | undefined, args_12: boolean | undefined, args_13: number, args_14: number | undefined, args_15: string, args_16: string, args_17: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
|
|
631
651
|
clearCache: () => void;
|
|
632
652
|
}> & {
|
|
633
653
|
clearCache: () => void;
|
|
@@ -640,7 +660,7 @@ export declare const getMapPreset: ((state: CoreAppStore, mapId: string) => MapP
|
|
|
640
660
|
* @param {string} mapId mapId: string - Id of the map
|
|
641
661
|
* @returns {string[]} returnType: string[] - array of enabled layerIds
|
|
642
662
|
*/
|
|
643
|
-
export declare const getMapLayerIdsEnabled: ((state:
|
|
663
|
+
export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => string[], {
|
|
644
664
|
clearCache: () => void;
|
|
645
665
|
}> & {
|
|
646
666
|
clearCache: () => void;
|
|
@@ -654,7 +674,7 @@ export declare const getMapLayerIdsEnabled: ((state: CoreAppStore, mapId: string
|
|
|
654
674
|
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
655
675
|
* @returns {Boolean} returnType: boolean
|
|
656
676
|
*/
|
|
657
|
-
export declare const getIsEnabledLayersForMapDimension: ((state:
|
|
677
|
+
export declare const getIsEnabledLayersForMapDimension: ((state: any, _mapId: any, dimensionName: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: string[]) => boolean, {
|
|
658
678
|
clearCache: () => void;
|
|
659
679
|
}> & {
|
|
660
680
|
clearCache: () => void;
|
|
@@ -667,7 +687,7 @@ export declare const getIsEnabledLayersForMapDimension: ((state: CoreAppStore, _
|
|
|
667
687
|
* @param {string} mapId mapId: string - Id of the map
|
|
668
688
|
* @returns {DockedLayerManagerSize} returnType: string
|
|
669
689
|
*/
|
|
670
|
-
export declare const getDockedLayerManagerSize: ((state:
|
|
690
|
+
export declare const getDockedLayerManagerSize: ((state: any, mapId: any) => import("./types").DockedLayerManagerSize | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").DockedLayerManagerSize | undefined, {
|
|
671
691
|
clearCache: () => void;
|
|
672
692
|
}> & {
|
|
673
693
|
clearCache: () => void;
|
|
@@ -58,7 +58,7 @@ export declare const produceDraftStateSetWebMapDimension: (draft: WebMapState, m
|
|
|
58
58
|
* @param draft The WebMapState containing the state of all maps.
|
|
59
59
|
* @param layerId The layer Id to find in the maps
|
|
60
60
|
*/
|
|
61
|
-
export declare const findMapIdFromLayerId: (
|
|
61
|
+
export declare const findMapIdFromLayerId: (mapState?: WebMapState, layerId?: string) => string | null;
|
|
62
62
|
export declare const produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: WebMapState, layerId: string, dimension: Dimension) => void;
|
|
63
63
|
/**
|
|
64
64
|
* Returns array with new order of swapped elements
|
|
@@ -68,7 +68,6 @@ export declare const produceDraftStateSetMapDimensionFromLayerChangeDimension: (
|
|
|
68
68
|
*/
|
|
69
69
|
export declare function moveArrayElements<T>(array: T[], oldIndex: number, newIndex: number): T[];
|
|
70
70
|
export declare const getTimeStepFromDataInterval: (timeInterval: TimeInterval) => number;
|
|
71
|
-
export declare const getActiveLayerTimeStep: (timeDimension: Dimension | undefined) => number | undefined;
|
|
72
71
|
export declare const getSpeedFactor: (speedDelay: number) => SpeedFactorType;
|
|
73
72
|
export declare const getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
|
|
74
73
|
/**
|