@opengeoweb/store 9.28.0 → 9.29.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 +1377 -1377
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/store/coreModuleConfig.d.ts +1 -1
- package/src/store/drawingtool/config.d.ts +4 -4
- package/src/store/drawingtool/index.d.ts +6 -6
- package/src/store/drawingtool/listener.d.ts +3 -3
- package/src/store/drawingtool/listener.spec.d.ts +1 -1
- package/src/store/drawingtool/reducer.d.ts +46 -46
- package/src/store/drawingtool/reducer.spec.d.ts +4 -4
- package/src/store/drawingtool/selectors.d.ts +43 -43
- package/src/store/drawingtool/selectors.spec.d.ts +1 -1
- package/src/store/drawingtool/testUtils.d.ts +1 -1
- package/src/store/drawingtool/utils.d.ts +1 -1
- package/src/store/drawingtool/utils.spec.d.ts +1 -1
- package/src/store/generic/actions.d.ts +28 -28
- package/src/store/generic/config.d.ts +5 -5
- package/src/store/generic/index.d.ts +17 -17
- package/src/store/generic/listener.d.ts +2 -2
- package/src/store/generic/listener.spec.d.ts +1 -1
- package/src/store/generic/loadingIndicator/constants.d.ts +1 -1
- package/src/store/generic/loadingIndicator/index.d.ts +3 -3
- package/src/store/generic/loadingIndicator/reducer.d.ts +13 -13
- package/src/store/generic/loadingIndicator/reducer.spec.d.ts +1 -1
- package/src/store/generic/loadingIndicator/selectors.d.ts +22 -22
- package/src/store/generic/loadingIndicator/selectors.spec.d.ts +1 -1
- package/src/store/generic/loadingIndicator/types.d.ts +22 -22
- package/src/store/generic/selectors.d.ts +12 -12
- package/src/store/generic/selectors.spec.d.ts +1 -1
- package/src/store/generic/synchronizationActions/actions.d.ts +11 -11
- package/src/store/generic/synchronizationActions/types.d.ts +34 -34
- package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -2
- package/src/store/generic/synchronizationGroups/constants.d.ts +4 -4
- package/src/store/generic/synchronizationGroups/index.d.ts +6 -6
- package/src/store/generic/synchronizationGroups/listener.d.ts +2 -2
- package/src/store/generic/synchronizationGroups/listener.spec.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -26
- package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/selector.d.ts +13 -13
- package/src/store/generic/synchronizationGroups/selectors.d.ts +64 -64
- package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/types.d.ts +100 -100
- package/src/store/generic/synchronizationGroups/utils.d.ts +76 -76
- package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -1
- package/src/store/generic/types.d.ts +23 -23
- package/src/store/generic/utils.d.ts +9 -9
- package/src/store/generic/utils.spec.d.ts +1 -1
- package/src/store/index.d.ts +14 -14
- package/src/store/mapStore/config.d.ts +9 -9
- package/src/store/mapStore/index.d.ts +96 -96
- package/src/store/mapStore/layers/index.d.ts +5 -5
- package/src/store/mapStore/layers/listeners.d.ts +2 -2
- package/src/store/mapStore/layers/listeners.spec.d.ts +1 -1
- package/src/store/mapStore/layers/reducer.d.ts +87 -87
- package/src/store/mapStore/layers/reducer.spec.d.ts +1 -1
- package/src/store/mapStore/layers/selectors.d.ts +380 -380
- package/src/store/mapStore/layers/selectors.spec.d.ts +1 -1
- package/src/store/mapStore/layers/types.d.ts +166 -166
- package/src/store/mapStore/layers/utils.d.ts +23 -23
- package/src/store/mapStore/layers/utils.spec.d.ts +1 -1
- package/src/store/mapStore/map/actions.d.ts +9 -9
- package/src/store/mapStore/map/constants.d.ts +1 -1
- package/src/store/mapStore/map/enums.d.ts +3 -3
- package/src/store/mapStore/map/filterLayers.d.ts +10 -10
- package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -1
- package/src/store/mapStore/map/index.d.ts +25 -25
- package/src/store/mapStore/map/listener.d.ts +4 -4
- package/src/store/mapStore/map/listener.spec.d.ts +1 -1
- package/src/store/mapStore/map/mapListenerAnimationUtils.d.ts +38 -38
- package/src/store/mapStore/map/mapListenerAnimationUtils.spec.d.ts +1 -1
- package/src/store/mapStore/map/mapUiListener.d.ts +2 -2
- package/src/store/mapStore/map/mapUiListener.spec.d.ts +1 -1
- package/src/store/mapStore/map/metronomeListener.d.ts +2 -2
- package/src/store/mapStore/map/reducer.d.ts +109 -109
- package/src/store/mapStore/map/reducer.spec.d.ts +1 -1
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -7
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -1
- package/src/store/mapStore/map/selectors.d.ts +733 -733
- package/src/store/mapStore/map/selectors.spec.d.ts +1 -1
- package/src/store/mapStore/map/types.d.ts +233 -233
- package/src/store/mapStore/map/utils.d.ts +85 -85
- package/src/store/mapStore/map/utils.spec.d.ts +1 -1
- package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -2
- package/src/store/mapStore/service/index.d.ts +4 -4
- package/src/store/mapStore/service/listener.d.ts +5 -5
- package/src/store/mapStore/service/listener.spec.d.ts +1 -1
- package/src/store/mapStore/service/localStorage.d.ts +3 -3
- package/src/store/mapStore/service/localStorage.spec.d.ts +1 -1
- package/src/store/mapStore/service/reducer.d.ts +11 -11
- package/src/store/mapStore/service/reducer.spec.d.ts +1 -1
- package/src/store/mapStore/service/selectors.d.ts +80 -80
- package/src/store/mapStore/service/selectors.spec.d.ts +1 -1
- package/src/store/mapStore/service/types.d.ts +50 -50
- package/src/store/mapStore/storeTestSettings.d.ts +7 -7
- package/src/store/mapStore/storeTestUtils.d.ts +17 -17
- package/src/store/mapStore/types.d.ts +11 -11
- package/src/store/router/config.d.ts +4 -4
- package/src/store/router/index.d.ts +3 -3
- package/src/store/router/listener.d.ts +2 -2
- package/src/store/router/listener.spec.d.ts +1 -1
- package/src/store/router/reducer.d.ts +9 -9
- package/src/store/router/reducer.spec.d.ts +1 -1
- package/src/store/router/types.d.ts +6 -6
- package/src/store/router/utils.d.ts +3 -3
- package/src/store/testUtils/Providers.d.ts +13 -13
- package/src/store/types.d.ts +7 -7
- package/src/store/ui/config.d.ts +4 -4
- package/src/store/ui/index.d.ts +4 -4
- package/src/store/ui/reducer.d.ts +33 -33
- package/src/store/ui/reducer.spec.d.ts +1 -1
- package/src/store/ui/selectors.d.ts +102 -102
- package/src/store/ui/selectors.spec.d.ts +1 -1
- package/src/store/ui/types.d.ts +78 -78
- package/src/store/ui/useSetupDialog.d.ts +11 -11
- package/src/store/ui/useSetupDialog.spec.d.ts +1 -1
- package/src/store/utils.d.ts +6 -6
|
@@ -1,733 +1,733 @@
|
|
|
1
|
-
import type { Bbox, MapPreset, WebMap, WebMapState } from './types';
|
|
2
|
-
import type { CoreAppStore } from '../../types';
|
|
3
|
-
import type { Dimension, Layer, ReduxLayer, WebMapAnimationList } from '../types';
|
|
4
|
-
import type { uiTypes } from '../../ui';
|
|
5
|
-
/**
|
|
6
|
-
* Gets the map state by mapId
|
|
7
|
-
*
|
|
8
|
-
* Example: getMapById(store, 'mapid_1')
|
|
9
|
-
* @param {object} store store object from which the map state wll be extracted
|
|
10
|
-
* @param {string} mapId Id of the map
|
|
11
|
-
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
12
|
-
*/
|
|
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
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Gets all mapIds
|
|
25
|
-
*
|
|
26
|
-
* Example: getAllMapIds(store)
|
|
27
|
-
* @param {object} store store object from which the map state wll be extracted
|
|
28
|
-
* @returns {array} array containing all map ids
|
|
29
|
-
*/
|
|
30
|
-
export declare const getAllMapIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined) => string[], {
|
|
31
|
-
clearCache: () => void;
|
|
32
|
-
}> & {
|
|
33
|
-
clearCache: () => void;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Gets the map state of the first map in the store
|
|
37
|
-
*
|
|
38
|
-
* Example: getFirstMap(store)
|
|
39
|
-
* @param {object} store store object from which the map state wll be extracted
|
|
40
|
-
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
41
|
-
*/
|
|
42
|
-
export declare const getFirstMap: ((state: CoreAppStore) => WebMap | null) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, WebMap>) => WebMap | null, {
|
|
43
|
-
clearCache: () => void;
|
|
44
|
-
}> & {
|
|
45
|
-
clearCache: () => void;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Gets the id of first map in store
|
|
49
|
-
*
|
|
50
|
-
* Example: getFirstMapId(store)
|
|
51
|
-
* @param {object} store store: object from which the map state wll be extracted
|
|
52
|
-
* @returns {string} returnType:string - map id
|
|
53
|
-
*/
|
|
54
|
-
export declare const getFirstMapId: ((state: CoreAppStore) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | null) => string, {
|
|
55
|
-
clearCache: () => void;
|
|
56
|
-
}> & {
|
|
57
|
-
clearCache: () => void;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Determines if map is present
|
|
61
|
-
*
|
|
62
|
-
* @param {object} store store: object - store object
|
|
63
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
64
|
-
* @returns {boolean} returnType:boolean - true if map is present
|
|
65
|
-
*/
|
|
66
|
-
export declare const getIsMapPresent: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
67
|
-
clearCache: () => void;
|
|
68
|
-
}> & {
|
|
69
|
-
clearCache: () => void;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Gets all layerIds for a map that aren't baselayers or overlayers
|
|
73
|
-
*
|
|
74
|
-
* Example: layerIds = getLayerIds(store, 'mapid_1')
|
|
75
|
-
* @param {object} store store: object - store object
|
|
76
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
77
|
-
* @returns {array} returnType: array - array containing all layerIds
|
|
78
|
-
*/
|
|
79
|
-
export declare const getLayerIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
80
|
-
clearCache: () => void;
|
|
81
|
-
}> & {
|
|
82
|
-
clearCache: () => void;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Gets all layer states for a map
|
|
86
|
-
*
|
|
87
|
-
* Example: layers = getMapLayers(store, 'mapid_1')
|
|
88
|
-
* @param {object} store store: object - store object
|
|
89
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
90
|
-
* @returns {array} returnType: array - array containing all layer states for the map
|
|
91
|
-
*/
|
|
92
|
-
export declare const getMapLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
93
|
-
clearCache: () => void;
|
|
94
|
-
}> & {
|
|
95
|
-
clearCache: () => void;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Gets all layer states for a map, but where Dimensions have no currentValue set
|
|
99
|
-
*
|
|
100
|
-
* Use this instead of getMapLayers to prevent unnecessary re-renders
|
|
101
|
-
*
|
|
102
|
-
* Example: layers = getMapLayers(store, 'mapid_1')
|
|
103
|
-
* @param {object} store store: object - store object
|
|
104
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
105
|
-
* @returns {array} returnType: array - array containing all layer states for the map
|
|
106
|
-
*/
|
|
107
|
-
export declare const getMapLayersWithoutDimensionCurrentValue: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
108
|
-
clearCache: () => void;
|
|
109
|
-
}> & {
|
|
110
|
-
clearCache: () => void;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Gets an array of baselayers ids for a map
|
|
114
|
-
*
|
|
115
|
-
* Example: baseLayersId = getMapBaseLayersIds(store, 'mapid_1')
|
|
116
|
-
* @param {object} store store: object - store object
|
|
117
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
118
|
-
* @returns {array} returnType: array - array containing an array of baselayers ids
|
|
119
|
-
*/
|
|
120
|
-
export declare const getMapBaseLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
121
|
-
clearCache: () => void;
|
|
122
|
-
}> & {
|
|
123
|
-
clearCache: () => void;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Gets all baselayers for a map
|
|
127
|
-
*
|
|
128
|
-
* Example: baseLayers = getMapBaseLayers(store, 'mapid_1')
|
|
129
|
-
* @param {object} store store: object - store object
|
|
130
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
131
|
-
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
132
|
-
*/
|
|
133
|
-
export declare const getMapBaseLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
134
|
-
clearCache: () => void;
|
|
135
|
-
}> & {
|
|
136
|
-
clearCache: () => void;
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* Gets and array of overLayers ids for a map
|
|
140
|
-
*
|
|
141
|
-
* Example: overLayersId = getMapOverLayersIds(store, 'mapid_1')
|
|
142
|
-
* @param {object} store store: object - store object
|
|
143
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
144
|
-
* @returns {array} returnType: array - array containing an array of overLayers ids
|
|
145
|
-
*/
|
|
146
|
-
export declare const getMapOverLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
147
|
-
clearCache: () => void;
|
|
148
|
-
}> & {
|
|
149
|
-
clearCache: () => void;
|
|
150
|
-
};
|
|
151
|
-
export declare const getMapFeatureLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: ReduxLayer[]) => ReduxLayer[], {
|
|
152
|
-
clearCache: () => void;
|
|
153
|
-
}> & {
|
|
154
|
-
clearCache: () => void;
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* Gets all overLayers for a map
|
|
158
|
-
*
|
|
159
|
-
* Example: overLayers = getMapOverLayers(store, 'mapid_1')
|
|
160
|
-
* @param {object} store store: object - store object
|
|
161
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
162
|
-
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
163
|
-
*/
|
|
164
|
-
export declare const getMapOverLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
165
|
-
clearCache: () => void;
|
|
166
|
-
}> & {
|
|
167
|
-
clearCache: () => void;
|
|
168
|
-
};
|
|
169
|
-
/**
|
|
170
|
-
* Gets map dimensions
|
|
171
|
-
*
|
|
172
|
-
* Example: mapDimensions = getMapDimensions(store, 'mapid_1')
|
|
173
|
-
* @param {object} store store: object - store object
|
|
174
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
175
|
-
* @returns {array} returnType: array - array containing map dimensions
|
|
176
|
-
*/
|
|
177
|
-
export declare const getMapDimensions: ((state: any, mapId: any) => Dimension[] | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Dimension[] | undefined, {
|
|
178
|
-
clearCache: () => void;
|
|
179
|
-
}> & {
|
|
180
|
-
clearCache: () => void;
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* Gets the map dimension requested
|
|
184
|
-
*
|
|
185
|
-
* Example: mapDimensions = getMapDimension(store, 'mapid_1', 'elevation')
|
|
186
|
-
* @param {object} store store: object - store object
|
|
187
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
188
|
-
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
189
|
-
* @returns {object} returnType: object - object containing the map dimension details
|
|
190
|
-
*/
|
|
191
|
-
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, {
|
|
192
|
-
clearCache: () => void;
|
|
193
|
-
}> & {
|
|
194
|
-
clearCache: () => void;
|
|
195
|
-
};
|
|
196
|
-
/**
|
|
197
|
-
* Returns the current time in unix time for the given map
|
|
198
|
-
*
|
|
199
|
-
* @param {object} store store: object - store object
|
|
200
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
201
|
-
* @returns {object} returnType: unix time as number
|
|
202
|
-
*/
|
|
203
|
-
export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => number) & import("reselect").OutputSelectorFields<(args_0: Dimension | undefined) => number, {
|
|
204
|
-
clearCache: () => void;
|
|
205
|
-
}> & {
|
|
206
|
-
clearCache: () => void;
|
|
207
|
-
};
|
|
208
|
-
export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => number[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => number[], {
|
|
209
|
-
clearCache: () => void;
|
|
210
|
-
}> & {
|
|
211
|
-
clearCache: () => void;
|
|
212
|
-
};
|
|
213
|
-
/**
|
|
214
|
-
* Gets map srs
|
|
215
|
-
*
|
|
216
|
-
* Example: mapSrs = getSrs(store, 'mapid_1')
|
|
217
|
-
* @param {object} store store: object - store object
|
|
218
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
219
|
-
* @returns {string} returnType: string - string containing srs
|
|
220
|
-
*/
|
|
221
|
-
export declare const getSrs: ((state: any, mapId: any) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
222
|
-
clearCache: () => void;
|
|
223
|
-
}> & {
|
|
224
|
-
clearCache: () => void;
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* Gets map bounding box
|
|
228
|
-
*
|
|
229
|
-
* Example: mapBbox = getBbox(store, 'mapid_1')
|
|
230
|
-
* @param {object} store store: object - store object
|
|
231
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
232
|
-
* @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
|
|
233
|
-
*/
|
|
234
|
-
export declare const getBbox: ((state: any, mapId: any) => Bbox) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Bbox, {
|
|
235
|
-
clearCache: () => void;
|
|
236
|
-
}> & {
|
|
237
|
-
clearCache: () => void;
|
|
238
|
-
};
|
|
239
|
-
/**
|
|
240
|
-
* Gets if map is animating
|
|
241
|
-
*
|
|
242
|
-
* Example: mapIsAnimating = isAnimating(store, 'mapid_1')
|
|
243
|
-
* @param {object} store store: object - store object
|
|
244
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
245
|
-
* @returns {boolean} returnType: boolean
|
|
246
|
-
*/
|
|
247
|
-
export declare const isAnimating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
248
|
-
clearCache: () => void;
|
|
249
|
-
}> & {
|
|
250
|
-
clearCache: () => void;
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* Gets if any linked map is animating
|
|
254
|
-
*
|
|
255
|
-
* Example: linkedMapIsAnimating = linkedMapAnimationInfo(store, 'mapid_1')
|
|
256
|
-
* @param {object} store store: object - store object
|
|
257
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
258
|
-
* @returns {object} returnType: object - object containing isAnimating boolean and id string
|
|
259
|
-
*/
|
|
260
|
-
export declare const linkedMapAnimationInfo: ((state: CoreAppStore, mapId: string) => {
|
|
261
|
-
isAnimating: boolean;
|
|
262
|
-
id: string;
|
|
263
|
-
}) & import("reselect").OutputSelectorFields<(args_0: {
|
|
264
|
-
isAnimating: boolean;
|
|
265
|
-
id: string;
|
|
266
|
-
}) => {
|
|
267
|
-
isAnimating: boolean;
|
|
268
|
-
id: string;
|
|
269
|
-
}, {
|
|
270
|
-
clearCache: () => void;
|
|
271
|
-
}> & {
|
|
272
|
-
clearCache: () => void;
|
|
273
|
-
};
|
|
274
|
-
/**
|
|
275
|
-
* Gets start time of animation
|
|
276
|
-
*
|
|
277
|
-
* Example: endTimeOfAnimetion = getAnimationStartTime(store, 'mapid_1')
|
|
278
|
-
* @param {object} store store: object - store object
|
|
279
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
280
|
-
* @returns {string} returnType: string
|
|
281
|
-
*/
|
|
282
|
-
export declare const getAnimationStartTime: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
283
|
-
clearCache: () => void;
|
|
284
|
-
}> & {
|
|
285
|
-
clearCache: () => void;
|
|
286
|
-
};
|
|
287
|
-
/**
|
|
288
|
-
* Gets end time of animation
|
|
289
|
-
*
|
|
290
|
-
* Example: endTimeOfAnimation = getAnimationEndTime(store, 'mapid_1')
|
|
291
|
-
* @param {object} store store: object - store object
|
|
292
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
293
|
-
* @returns {string} returnType: string
|
|
294
|
-
*/
|
|
295
|
-
export declare const getAnimationEndTime: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
296
|
-
clearCache: () => void;
|
|
297
|
-
}> & {
|
|
298
|
-
clearCache: () => void;
|
|
299
|
-
};
|
|
300
|
-
/**
|
|
301
|
-
* Returns map is auto updating
|
|
302
|
-
*
|
|
303
|
-
* Example: isAutoUpdating = isAutoUpdating(store, 'mapid_1')
|
|
304
|
-
* @param {object} store store: object - store object
|
|
305
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
306
|
-
* @returns {boolean} returnType: boolean
|
|
307
|
-
*/
|
|
308
|
-
export declare const isAutoUpdating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
309
|
-
clearCache: () => void;
|
|
310
|
-
}> & {
|
|
311
|
-
clearCache: () => void;
|
|
312
|
-
};
|
|
313
|
-
/**
|
|
314
|
-
* Gets if endTime and duration of animationPayload are overriding maxValue and minValue of leading layer
|
|
315
|
-
*
|
|
316
|
-
* Example: shouldEndtimeOverride = shouldEndtimeOverride(store, 'mapid_1')
|
|
317
|
-
* @param {object} store store: object - store object
|
|
318
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
319
|
-
* @returns {boolean} returnType: boolean
|
|
320
|
-
*/
|
|
321
|
-
export declare const shouldEndtimeOverride: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
322
|
-
clearCache: () => void;
|
|
323
|
-
}> & {
|
|
324
|
-
clearCache: () => void;
|
|
325
|
-
};
|
|
326
|
-
/**
|
|
327
|
-
* Gets activeLayerId for map
|
|
328
|
-
*
|
|
329
|
-
* example: activeLayerId = getActiveLayerId(store, 'mapid_1')
|
|
330
|
-
* @param {object} store store: object - store object
|
|
331
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
332
|
-
*/
|
|
333
|
-
export declare const getActiveLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
334
|
-
clearCache: () => void;
|
|
335
|
-
}> & {
|
|
336
|
-
clearCache: () => void;
|
|
337
|
-
};
|
|
338
|
-
/**
|
|
339
|
-
* Gets autoUpdateLayerId for map
|
|
340
|
-
*
|
|
341
|
-
* example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
|
|
342
|
-
* @param {object} store store: object - store object
|
|
343
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
344
|
-
*/
|
|
345
|
-
export declare const getAutoUpdateLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
346
|
-
clearCache: () => void;
|
|
347
|
-
}> & {
|
|
348
|
-
clearCache: () => void;
|
|
349
|
-
};
|
|
350
|
-
/**
|
|
351
|
-
* Gets autoUpdateLayerId for map
|
|
352
|
-
*
|
|
353
|
-
* example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
|
|
354
|
-
* @param {object} store store: object - store object
|
|
355
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
356
|
-
*/
|
|
357
|
-
export declare const getAutoTimeStepLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
358
|
-
clearCache: () => void;
|
|
359
|
-
}> & {
|
|
360
|
-
clearCache: () => void;
|
|
361
|
-
};
|
|
362
|
-
/**
|
|
363
|
-
* Gets span of a time slider of a map
|
|
364
|
-
*
|
|
365
|
-
* Example: span = getSpan(store, 'mapid_1')
|
|
366
|
-
* @param {object} store store: object - store object
|
|
367
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
368
|
-
* @returns {Span} returnType: Span - span as an enum
|
|
369
|
-
*/
|
|
370
|
-
export declare const getMapTimeSliderSpan: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
371
|
-
clearCache: () => void;
|
|
372
|
-
}> & {
|
|
373
|
-
clearCache: () => void;
|
|
374
|
-
};
|
|
375
|
-
/**
|
|
376
|
-
* Gets time step of a map
|
|
377
|
-
*
|
|
378
|
-
* Example: timeStep = getTimeStep(store, 'mapid_1')
|
|
379
|
-
* @param {object} store store: object - store object
|
|
380
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
381
|
-
* @returns {number} returnType: number - time step as a number
|
|
382
|
-
*/
|
|
383
|
-
export declare const getMapTimeStep: ((state: any, mapId: any) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number, {
|
|
384
|
-
clearCache: () => void;
|
|
385
|
-
}> & {
|
|
386
|
-
clearCache: () => void;
|
|
387
|
-
};
|
|
388
|
-
export declare const getMapTimeStepWithoutDefault: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
389
|
-
clearCache: () => void;
|
|
390
|
-
}> & {
|
|
391
|
-
clearCache: () => void;
|
|
392
|
-
};
|
|
393
|
-
/**
|
|
394
|
-
* Returns the speed of animation
|
|
395
|
-
*
|
|
396
|
-
* Example: speed = getSpeed(store, 'mapid_1')
|
|
397
|
-
* @param {object} store store: object - store object
|
|
398
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
399
|
-
* @returns {number} returnType: number - speed as a number
|
|
400
|
-
*/
|
|
401
|
-
export declare const getMapAnimationDelay: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
402
|
-
clearCache: () => void;
|
|
403
|
-
}> & {
|
|
404
|
-
clearCache: () => void;
|
|
405
|
-
};
|
|
406
|
-
/**
|
|
407
|
-
* Returns the width of time slider
|
|
408
|
-
*
|
|
409
|
-
* Example: timeSliderWith = getMapTimeSliderWidth(store, 'mapid_1')
|
|
410
|
-
* @param {object} store store: object - store object
|
|
411
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
412
|
-
* @returns {number} returnType: number - center time as a unix timestamp
|
|
413
|
-
*/
|
|
414
|
-
export declare const getMapTimeSliderWidth: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
415
|
-
clearCache: () => void;
|
|
416
|
-
}> & {
|
|
417
|
-
clearCache: () => void;
|
|
418
|
-
};
|
|
419
|
-
/**
|
|
420
|
-
* Returns the center time of time slider
|
|
421
|
-
*
|
|
422
|
-
* Example: centerTime = getCenterTime(store, 'mapid_1')
|
|
423
|
-
* @param {object} store store: object - store object
|
|
424
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
425
|
-
* @returns {number} returnType: number - center time as a unix timestamp
|
|
426
|
-
*/
|
|
427
|
-
export declare const getMapTimeSliderCenterTime: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
428
|
-
clearCache: () => void;
|
|
429
|
-
}> & {
|
|
430
|
-
clearCache: () => void;
|
|
431
|
-
};
|
|
432
|
-
/**
|
|
433
|
-
* Returns the number of seconds per pixel on the time slider
|
|
434
|
-
*
|
|
435
|
-
* Example: secondsPerPx = getSecondsPerPx(store, 'mapid_1')
|
|
436
|
-
* @param {object} store store: object - store object
|
|
437
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
438
|
-
* @returns {number} returnType: number - the number of seconds per pixel
|
|
439
|
-
*/
|
|
440
|
-
export declare const getMapTimeSliderSecondsPerPx: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
441
|
-
clearCache: () => void;
|
|
442
|
-
}> & {
|
|
443
|
-
clearCache: () => void;
|
|
444
|
-
};
|
|
445
|
-
/**
|
|
446
|
-
* Returns map is timestep auto
|
|
447
|
-
*
|
|
448
|
-
* Example: isTimestepAuto = isTimestepAuto(store, 'mapid_1')
|
|
449
|
-
* @param {object} store store: object - store object
|
|
450
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
451
|
-
* @returns {boolean} returnType: boolean
|
|
452
|
-
*/
|
|
453
|
-
export declare const isTimestepAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
454
|
-
clearCache: () => void;
|
|
455
|
-
}> & {
|
|
456
|
-
clearCache: () => void;
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* Returns map is animation auto
|
|
460
|
-
* @param {object} store store: object - store object
|
|
461
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
462
|
-
* @returns {boolean} returnType: boolean
|
|
463
|
-
*/
|
|
464
|
-
export declare const isAnimationLengthAuto: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
465
|
-
clearCache: () => void;
|
|
466
|
-
}> & {
|
|
467
|
-
clearCache: () => void;
|
|
468
|
-
};
|
|
469
|
-
/**
|
|
470
|
-
* Returns map is timespan auto
|
|
471
|
-
*
|
|
472
|
-
* Example: isTimeSpanAuto = isTimeSpanAuto(store, 'mapid_1')
|
|
473
|
-
* @param {object} store store: object - store object
|
|
474
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
475
|
-
* @returns {boolean} returnType: boolean
|
|
476
|
-
*/
|
|
477
|
-
export declare const isTimeSpanAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
478
|
-
clearCache: () => void;
|
|
479
|
-
}> & {
|
|
480
|
-
clearCache: () => void;
|
|
481
|
-
};
|
|
482
|
-
/**
|
|
483
|
-
* Returns map is time slider hover
|
|
484
|
-
*
|
|
485
|
-
* Example: isTimeSliderHoverOn = isTimeSliderHoverOn(store, 'mapid_1')
|
|
486
|
-
* @param {object} store store: object - store object
|
|
487
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
488
|
-
* @returns {boolean} returnType: boolean
|
|
489
|
-
*/
|
|
490
|
-
export declare const isTimeSliderHoverOn: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
491
|
-
clearCache: () => void;
|
|
492
|
-
}> & {
|
|
493
|
-
clearCache: () => void;
|
|
494
|
-
};
|
|
495
|
-
/**
|
|
496
|
-
* Returns map if zoomcontrols are visible
|
|
497
|
-
*
|
|
498
|
-
* Example: isZoomControlsVisible = isZoomControlsVisible(store, 'mapid_1')
|
|
499
|
-
* @param {object} store store: object - store object
|
|
500
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
501
|
-
* @returns {boolean} returnType: boolean
|
|
502
|
-
*/
|
|
503
|
-
export declare const isZoomControlsVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
504
|
-
clearCache: () => void;
|
|
505
|
-
}> & {
|
|
506
|
-
clearCache: () => void;
|
|
507
|
-
};
|
|
508
|
-
/**
|
|
509
|
-
* Returns map is time slider visible
|
|
510
|
-
*
|
|
511
|
-
* Example: isTimeSliderHoverOn = isTimeSliderVisible(store, 'mapid_1')
|
|
512
|
-
* @param {object} store store: object - store object
|
|
513
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
514
|
-
* @returns {boolean} returnType: boolean
|
|
515
|
-
*/
|
|
516
|
-
export declare const isTimeSliderVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
517
|
-
clearCache: () => void;
|
|
518
|
-
}> & {
|
|
519
|
-
clearCache: () => void;
|
|
520
|
-
};
|
|
521
|
-
/**
|
|
522
|
-
* Returns is layer is active layer
|
|
523
|
-
*
|
|
524
|
-
* Example: isLayerActiveLayer = getIsLayerActiveLayer(store, 'mapid_1', 'layer_1)
|
|
525
|
-
* @param {object} store store: object - store object
|
|
526
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
527
|
-
* @param {string} mapId layerId: string - Id of the layer
|
|
528
|
-
* @returns {boolean} returnType: boolean
|
|
529
|
-
*/
|
|
530
|
-
export declare const getIsLayerActiveLayer: ((state: any, _mapId: any, layerId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string | undefined, args_1: string) => boolean, {
|
|
531
|
-
clearCache: () => void;
|
|
532
|
-
}> & {
|
|
533
|
-
clearCache: () => void;
|
|
534
|
-
};
|
|
535
|
-
/**
|
|
536
|
-
* Returns the mapId for given layerId
|
|
537
|
-
*
|
|
538
|
-
* Example const mapId = getMapIdFromLayerId(store 'layerId-A');
|
|
539
|
-
* @param {object} store store: object - store object
|
|
540
|
-
* @param {string} layerId layerId: string - Id of the layer
|
|
541
|
-
* @returns {string} returnType: string - the mapId, or null if not found
|
|
542
|
-
*/
|
|
543
|
-
export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: string | undefined) => string | null) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string | undefined) => string | null, {
|
|
544
|
-
clearCache: () => void;
|
|
545
|
-
}> & {
|
|
546
|
-
clearCache: () => void;
|
|
547
|
-
};
|
|
548
|
-
/**
|
|
549
|
-
* Returns the layerId for given layerName
|
|
550
|
-
*
|
|
551
|
-
* Example const layerId = getLayerIdByLayerName(store, 'mapid-1', 'precipitation');
|
|
552
|
-
* @param {object} store store: object - store object
|
|
553
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
554
|
-
* @param {string} layerId layerId: string - Id of the layer
|
|
555
|
-
* @returns {string} returnType: string - the layerId, or null if not found
|
|
556
|
-
*/
|
|
557
|
-
export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => string, {
|
|
558
|
-
clearCache: () => void;
|
|
559
|
-
}> & {
|
|
560
|
-
clearCache: () => void;
|
|
561
|
-
};
|
|
562
|
-
/**
|
|
563
|
-
* Returns the layerIndex in the map for given layerId
|
|
564
|
-
*
|
|
565
|
-
* Example const layerIndex = getLayerIndexByLayerId(store, 'mapid-1', 'precipitation');
|
|
566
|
-
* @param {object} store store: object - store object
|
|
567
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
568
|
-
* @param {string} layerId layerId: string - Id of the layer
|
|
569
|
-
* @returns {number} returnType: index number or -1 if not found
|
|
570
|
-
*/
|
|
571
|
-
export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string | undefined) => number, {
|
|
572
|
-
clearCache: () => void;
|
|
573
|
-
}> & {
|
|
574
|
-
clearCache: () => void;
|
|
575
|
-
};
|
|
576
|
-
/**
|
|
577
|
-
* Returns the Layer in the map for given layerIndex
|
|
578
|
-
*
|
|
579
|
-
* Example const layer = getLayerByLayerIndex(store, 'mapid-1', 0);
|
|
580
|
-
* @param {object} store store: object - store object
|
|
581
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
582
|
-
* @param {number} layerIndex layerId: number - Index of the layer in the map
|
|
583
|
-
* @returns {object} returnType: layer, or null if not found
|
|
584
|
-
*/
|
|
585
|
-
export declare const getLayerByLayerIndex: ((state: any, _mapId: any, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: number) => Layer, {
|
|
586
|
-
clearCache: () => void;
|
|
587
|
-
}> & {
|
|
588
|
-
clearCache: () => void;
|
|
589
|
-
};
|
|
590
|
-
/**
|
|
591
|
-
* Returns name of all unique dimensions present in all maps
|
|
592
|
-
*
|
|
593
|
-
* Example getAllUniqueDimensions(store);
|
|
594
|
-
* @param {object} store store: object - store object
|
|
595
|
-
* @returns {array} returnType: array of dimension names
|
|
596
|
-
*/
|
|
597
|
-
export declare const getAllUniqueDimensions: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: CoreAppStore) => string[], {
|
|
598
|
-
clearCache: () => void;
|
|
599
|
-
}> & {
|
|
600
|
-
clearCache: () => void;
|
|
601
|
-
};
|
|
602
|
-
/**
|
|
603
|
-
* Returns the mapPinLocation for the current map
|
|
604
|
-
*
|
|
605
|
-
* Example getPinLocation(store);
|
|
606
|
-
* @param {object} store store: object - store object
|
|
607
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
608
|
-
* @returns {object} returnType: latitude and longitude of pin
|
|
609
|
-
*/
|
|
610
|
-
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, {
|
|
611
|
-
clearCache: () => void;
|
|
612
|
-
}> & {
|
|
613
|
-
clearCache: () => void;
|
|
614
|
-
};
|
|
615
|
-
/**
|
|
616
|
-
* Returns the disable map pin boolean for the current map
|
|
617
|
-
*
|
|
618
|
-
* Example getDisableMapPin(store);
|
|
619
|
-
* @param {object} store store: object - store object
|
|
620
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
621
|
-
* @returns {boolean} returnType: boolean
|
|
622
|
-
*/
|
|
623
|
-
export declare const getDisableMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
624
|
-
clearCache: () => void;
|
|
625
|
-
}> & {
|
|
626
|
-
clearCache: () => void;
|
|
627
|
-
};
|
|
628
|
-
/**
|
|
629
|
-
* Returns the display map pin boolean for the current map
|
|
630
|
-
*
|
|
631
|
-
* Example getDisplayMapPin(store);
|
|
632
|
-
* @param {object} store store: object - store object
|
|
633
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
634
|
-
* @returns {boolean} returnType: boolean
|
|
635
|
-
*/
|
|
636
|
-
export declare const getDisplayMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
637
|
-
clearCache: () => void;
|
|
638
|
-
}> & {
|
|
639
|
-
clearCache: () => void;
|
|
640
|
-
};
|
|
641
|
-
/**
|
|
642
|
-
* Returns the legend id
|
|
643
|
-
*
|
|
644
|
-
* Example getLegendId(store, mapId);
|
|
645
|
-
* @param {object} store store: object - store object
|
|
646
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
647
|
-
* @returns {boolean} returnType: id or undefined
|
|
648
|
-
*/
|
|
649
|
-
export declare const getLegendId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
650
|
-
clearCache: () => void;
|
|
651
|
-
}> & {
|
|
652
|
-
clearCache: () => void;
|
|
653
|
-
};
|
|
654
|
-
/**
|
|
655
|
-
* Creates a MapPreset from mapId
|
|
656
|
-
*
|
|
657
|
-
* Example getMapPreset(store, mapId);
|
|
658
|
-
* @param {object} store store: object - store object
|
|
659
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
660
|
-
* @returns {MapPreset} returnType: MapPreset
|
|
661
|
-
*/
|
|
662
|
-
export declare const getMapPreset: ((state: any, mapId: any) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: ReduxLayer[], args_2: 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 | undefined, args_16: string | undefined, args_17: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
|
|
663
|
-
clearCache: () => void;
|
|
664
|
-
}> & {
|
|
665
|
-
clearCache: () => void;
|
|
666
|
-
};
|
|
667
|
-
/**
|
|
668
|
-
* Gets all enabled layerIds for map
|
|
669
|
-
*
|
|
670
|
-
* Example: getMapLayerIdsEnabled = getLayerIdsEnabled(store, 'mapId_1')
|
|
671
|
-
* @param {object} store store: object - store
|
|
672
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
673
|
-
* @returns {string[]} returnType: string[] - array of enabled layerIds
|
|
674
|
-
*/
|
|
675
|
-
export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => string[], {
|
|
676
|
-
clearCache: () => void;
|
|
677
|
-
}> & {
|
|
678
|
-
clearCache: () => void;
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* Returns if a map dimension is used for any enabled layers on that map
|
|
682
|
-
*
|
|
683
|
-
* Example getIsEnabledLayersForMapDimension(store, mapId);
|
|
684
|
-
* @param {object} store store: object - store object
|
|
685
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
686
|
-
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
687
|
-
* @returns {Boolean} returnType: boolean
|
|
688
|
-
*/
|
|
689
|
-
export declare const getIsEnabledLayersForMapDimension: ((state: any, _mapId: any, dimensionName: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: string[]) => boolean, {
|
|
690
|
-
clearCache: () => void;
|
|
691
|
-
}> & {
|
|
692
|
-
clearCache: () => void;
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
* Returns the dockedLayerManagerSize originally set in mapPresets
|
|
696
|
-
*
|
|
697
|
-
* Example getDockedLayerManagerSize(store);
|
|
698
|
-
* @param {object} store store: object - store object
|
|
699
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
700
|
-
* @returns {DockedLayerManagerSize} returnType: string
|
|
701
|
-
*/
|
|
702
|
-
export declare const getDockedLayerManagerSize: ((state: any, mapId: any) => import("./types").DockedLayerManagerSize | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").DockedLayerManagerSize | undefined, {
|
|
703
|
-
clearCache: () => void;
|
|
704
|
-
}> & {
|
|
705
|
-
clearCache: () => void;
|
|
706
|
-
};
|
|
707
|
-
/**
|
|
708
|
-
* Returns the animation list for given map id
|
|
709
|
-
* @param {object} store store: object - store object
|
|
710
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
711
|
-
* @returns {animationList} returnType: WebMapAnimationList, list of timesteps to animate for this map.
|
|
712
|
-
*/
|
|
713
|
-
export declare const getAnimationList: ((state: any, mapId: any) => WebMapAnimationList) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: WebMap | undefined, args_2: string | undefined, args_3: string | undefined, args_4: number) => WebMapAnimationList, {
|
|
714
|
-
clearCache: () => void;
|
|
715
|
-
}> & {
|
|
716
|
-
clearCache: () => void;
|
|
717
|
-
};
|
|
718
|
-
/**
|
|
719
|
-
* @param {object} store store: object - store object
|
|
720
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
721
|
-
* @returns {object} Returns min and max value of time dimension of autoTimeStep-layer. If no autoTimeStep-layer it returns default start/end time from store.
|
|
722
|
-
*/
|
|
723
|
-
export declare const getAnimationRange: ((state: any, mapId: any) => {
|
|
724
|
-
animationStartTime: string | undefined;
|
|
725
|
-
animationEndTime: string | undefined;
|
|
726
|
-
}) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: string | undefined, args_2: string | undefined, args_3: string | undefined, args_4: boolean) => {
|
|
727
|
-
animationStartTime: string | undefined;
|
|
728
|
-
animationEndTime: string | undefined;
|
|
729
|
-
}, {
|
|
730
|
-
clearCache: () => void;
|
|
731
|
-
}> & {
|
|
732
|
-
clearCache: () => void;
|
|
733
|
-
};
|
|
1
|
+
import type { Bbox, MapPreset, WebMap, WebMapState } from './types';
|
|
2
|
+
import type { CoreAppStore } from '../../types';
|
|
3
|
+
import type { Dimension, Layer, ReduxLayer, WebMapAnimationList } from '../types';
|
|
4
|
+
import type { uiTypes } from '../../ui';
|
|
5
|
+
/**
|
|
6
|
+
* Gets the map state by mapId
|
|
7
|
+
*
|
|
8
|
+
* Example: getMapById(store, 'mapid_1')
|
|
9
|
+
* @param {object} store store object from which the map state wll be extracted
|
|
10
|
+
* @param {string} mapId Id of the map
|
|
11
|
+
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
12
|
+
*/
|
|
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
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Gets all mapIds
|
|
25
|
+
*
|
|
26
|
+
* Example: getAllMapIds(store)
|
|
27
|
+
* @param {object} store store object from which the map state wll be extracted
|
|
28
|
+
* @returns {array} array containing all map ids
|
|
29
|
+
*/
|
|
30
|
+
export declare const getAllMapIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined) => string[], {
|
|
31
|
+
clearCache: () => void;
|
|
32
|
+
}> & {
|
|
33
|
+
clearCache: () => void;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Gets the map state of the first map in the store
|
|
37
|
+
*
|
|
38
|
+
* Example: getFirstMap(store)
|
|
39
|
+
* @param {object} store store object from which the map state wll be extracted
|
|
40
|
+
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
41
|
+
*/
|
|
42
|
+
export declare const getFirstMap: ((state: CoreAppStore) => WebMap | null) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, WebMap>) => WebMap | null, {
|
|
43
|
+
clearCache: () => void;
|
|
44
|
+
}> & {
|
|
45
|
+
clearCache: () => void;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Gets the id of first map in store
|
|
49
|
+
*
|
|
50
|
+
* Example: getFirstMapId(store)
|
|
51
|
+
* @param {object} store store: object from which the map state wll be extracted
|
|
52
|
+
* @returns {string} returnType:string - map id
|
|
53
|
+
*/
|
|
54
|
+
export declare const getFirstMapId: ((state: CoreAppStore) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | null) => string, {
|
|
55
|
+
clearCache: () => void;
|
|
56
|
+
}> & {
|
|
57
|
+
clearCache: () => void;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Determines if map is present
|
|
61
|
+
*
|
|
62
|
+
* @param {object} store store: object - store object
|
|
63
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
64
|
+
* @returns {boolean} returnType:boolean - true if map is present
|
|
65
|
+
*/
|
|
66
|
+
export declare const getIsMapPresent: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
67
|
+
clearCache: () => void;
|
|
68
|
+
}> & {
|
|
69
|
+
clearCache: () => void;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Gets all layerIds for a map that aren't baselayers or overlayers
|
|
73
|
+
*
|
|
74
|
+
* Example: layerIds = getLayerIds(store, 'mapid_1')
|
|
75
|
+
* @param {object} store store: object - store object
|
|
76
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
77
|
+
* @returns {array} returnType: array - array containing all layerIds
|
|
78
|
+
*/
|
|
79
|
+
export declare const getLayerIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
80
|
+
clearCache: () => void;
|
|
81
|
+
}> & {
|
|
82
|
+
clearCache: () => void;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Gets all layer states for a map
|
|
86
|
+
*
|
|
87
|
+
* Example: layers = getMapLayers(store, 'mapid_1')
|
|
88
|
+
* @param {object} store store: object - store object
|
|
89
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
90
|
+
* @returns {array} returnType: array - array containing all layer states for the map
|
|
91
|
+
*/
|
|
92
|
+
export declare const getMapLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
93
|
+
clearCache: () => void;
|
|
94
|
+
}> & {
|
|
95
|
+
clearCache: () => void;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Gets all layer states for a map, but where Dimensions have no currentValue set
|
|
99
|
+
*
|
|
100
|
+
* Use this instead of getMapLayers to prevent unnecessary re-renders
|
|
101
|
+
*
|
|
102
|
+
* Example: layers = getMapLayers(store, 'mapid_1')
|
|
103
|
+
* @param {object} store store: object - store object
|
|
104
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
105
|
+
* @returns {array} returnType: array - array containing all layer states for the map
|
|
106
|
+
*/
|
|
107
|
+
export declare const getMapLayersWithoutDimensionCurrentValue: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
108
|
+
clearCache: () => void;
|
|
109
|
+
}> & {
|
|
110
|
+
clearCache: () => void;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Gets an array of baselayers ids for a map
|
|
114
|
+
*
|
|
115
|
+
* Example: baseLayersId = getMapBaseLayersIds(store, 'mapid_1')
|
|
116
|
+
* @param {object} store store: object - store object
|
|
117
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
118
|
+
* @returns {array} returnType: array - array containing an array of baselayers ids
|
|
119
|
+
*/
|
|
120
|
+
export declare const getMapBaseLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
121
|
+
clearCache: () => void;
|
|
122
|
+
}> & {
|
|
123
|
+
clearCache: () => void;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Gets all baselayers for a map
|
|
127
|
+
*
|
|
128
|
+
* Example: baseLayers = getMapBaseLayers(store, 'mapid_1')
|
|
129
|
+
* @param {object} store store: object - store object
|
|
130
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
131
|
+
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
132
|
+
*/
|
|
133
|
+
export declare const getMapBaseLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
134
|
+
clearCache: () => void;
|
|
135
|
+
}> & {
|
|
136
|
+
clearCache: () => void;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Gets and array of overLayers ids for a map
|
|
140
|
+
*
|
|
141
|
+
* Example: overLayersId = getMapOverLayersIds(store, 'mapid_1')
|
|
142
|
+
* @param {object} store store: object - store object
|
|
143
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
144
|
+
* @returns {array} returnType: array - array containing an array of overLayers ids
|
|
145
|
+
*/
|
|
146
|
+
export declare const getMapOverLayersIds: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
147
|
+
clearCache: () => void;
|
|
148
|
+
}> & {
|
|
149
|
+
clearCache: () => void;
|
|
150
|
+
};
|
|
151
|
+
export declare const getMapFeatureLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: ReduxLayer[]) => ReduxLayer[], {
|
|
152
|
+
clearCache: () => void;
|
|
153
|
+
}> & {
|
|
154
|
+
clearCache: () => void;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Gets all overLayers for a map
|
|
158
|
+
*
|
|
159
|
+
* Example: overLayers = getMapOverLayers(store, 'mapid_1')
|
|
160
|
+
* @param {object} store store: object - store object
|
|
161
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
162
|
+
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
163
|
+
*/
|
|
164
|
+
export declare const getMapOverLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
165
|
+
clearCache: () => void;
|
|
166
|
+
}> & {
|
|
167
|
+
clearCache: () => void;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Gets map dimensions
|
|
171
|
+
*
|
|
172
|
+
* Example: mapDimensions = getMapDimensions(store, 'mapid_1')
|
|
173
|
+
* @param {object} store store: object - store object
|
|
174
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
175
|
+
* @returns {array} returnType: array - array containing map dimensions
|
|
176
|
+
*/
|
|
177
|
+
export declare const getMapDimensions: ((state: any, mapId: any) => Dimension[] | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Dimension[] | undefined, {
|
|
178
|
+
clearCache: () => void;
|
|
179
|
+
}> & {
|
|
180
|
+
clearCache: () => void;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Gets the map dimension requested
|
|
184
|
+
*
|
|
185
|
+
* Example: mapDimensions = getMapDimension(store, 'mapid_1', 'elevation')
|
|
186
|
+
* @param {object} store store: object - store object
|
|
187
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
188
|
+
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
189
|
+
* @returns {object} returnType: object - object containing the map dimension details
|
|
190
|
+
*/
|
|
191
|
+
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, {
|
|
192
|
+
clearCache: () => void;
|
|
193
|
+
}> & {
|
|
194
|
+
clearCache: () => void;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Returns the current time in unix time for the given map
|
|
198
|
+
*
|
|
199
|
+
* @param {object} store store: object - store object
|
|
200
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
201
|
+
* @returns {object} returnType: unix time as number
|
|
202
|
+
*/
|
|
203
|
+
export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => number) & import("reselect").OutputSelectorFields<(args_0: Dimension | undefined) => number, {
|
|
204
|
+
clearCache: () => void;
|
|
205
|
+
}> & {
|
|
206
|
+
clearCache: () => void;
|
|
207
|
+
};
|
|
208
|
+
export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => number[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => number[], {
|
|
209
|
+
clearCache: () => void;
|
|
210
|
+
}> & {
|
|
211
|
+
clearCache: () => void;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Gets map srs
|
|
215
|
+
*
|
|
216
|
+
* Example: mapSrs = getSrs(store, 'mapid_1')
|
|
217
|
+
* @param {object} store store: object - store object
|
|
218
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
219
|
+
* @returns {string} returnType: string - string containing srs
|
|
220
|
+
*/
|
|
221
|
+
export declare const getSrs: ((state: any, mapId: any) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
222
|
+
clearCache: () => void;
|
|
223
|
+
}> & {
|
|
224
|
+
clearCache: () => void;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Gets map bounding box
|
|
228
|
+
*
|
|
229
|
+
* Example: mapBbox = getBbox(store, 'mapid_1')
|
|
230
|
+
* @param {object} store store: object - store object
|
|
231
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
232
|
+
* @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
|
|
233
|
+
*/
|
|
234
|
+
export declare const getBbox: ((state: any, mapId: any) => Bbox) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Bbox, {
|
|
235
|
+
clearCache: () => void;
|
|
236
|
+
}> & {
|
|
237
|
+
clearCache: () => void;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Gets if map is animating
|
|
241
|
+
*
|
|
242
|
+
* Example: mapIsAnimating = isAnimating(store, 'mapid_1')
|
|
243
|
+
* @param {object} store store: object - store object
|
|
244
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
245
|
+
* @returns {boolean} returnType: boolean
|
|
246
|
+
*/
|
|
247
|
+
export declare const isAnimating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
248
|
+
clearCache: () => void;
|
|
249
|
+
}> & {
|
|
250
|
+
clearCache: () => void;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Gets if any linked map is animating
|
|
254
|
+
*
|
|
255
|
+
* Example: linkedMapIsAnimating = linkedMapAnimationInfo(store, 'mapid_1')
|
|
256
|
+
* @param {object} store store: object - store object
|
|
257
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
258
|
+
* @returns {object} returnType: object - object containing isAnimating boolean and id string
|
|
259
|
+
*/
|
|
260
|
+
export declare const linkedMapAnimationInfo: ((state: CoreAppStore, mapId: string) => {
|
|
261
|
+
isAnimating: boolean;
|
|
262
|
+
id: string;
|
|
263
|
+
}) & import("reselect").OutputSelectorFields<(args_0: {
|
|
264
|
+
isAnimating: boolean;
|
|
265
|
+
id: string;
|
|
266
|
+
}) => {
|
|
267
|
+
isAnimating: boolean;
|
|
268
|
+
id: string;
|
|
269
|
+
}, {
|
|
270
|
+
clearCache: () => void;
|
|
271
|
+
}> & {
|
|
272
|
+
clearCache: () => void;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Gets start time of animation
|
|
276
|
+
*
|
|
277
|
+
* Example: endTimeOfAnimetion = getAnimationStartTime(store, 'mapid_1')
|
|
278
|
+
* @param {object} store store: object - store object
|
|
279
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
280
|
+
* @returns {string} returnType: string
|
|
281
|
+
*/
|
|
282
|
+
export declare const getAnimationStartTime: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
283
|
+
clearCache: () => void;
|
|
284
|
+
}> & {
|
|
285
|
+
clearCache: () => void;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Gets end time of animation
|
|
289
|
+
*
|
|
290
|
+
* Example: endTimeOfAnimation = getAnimationEndTime(store, 'mapid_1')
|
|
291
|
+
* @param {object} store store: object - store object
|
|
292
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
293
|
+
* @returns {string} returnType: string
|
|
294
|
+
*/
|
|
295
|
+
export declare const getAnimationEndTime: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
296
|
+
clearCache: () => void;
|
|
297
|
+
}> & {
|
|
298
|
+
clearCache: () => void;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* Returns map is auto updating
|
|
302
|
+
*
|
|
303
|
+
* Example: isAutoUpdating = isAutoUpdating(store, 'mapid_1')
|
|
304
|
+
* @param {object} store store: object - store object
|
|
305
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
306
|
+
* @returns {boolean} returnType: boolean
|
|
307
|
+
*/
|
|
308
|
+
export declare const isAutoUpdating: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
309
|
+
clearCache: () => void;
|
|
310
|
+
}> & {
|
|
311
|
+
clearCache: () => void;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Gets if endTime and duration of animationPayload are overriding maxValue and minValue of leading layer
|
|
315
|
+
*
|
|
316
|
+
* Example: shouldEndtimeOverride = shouldEndtimeOverride(store, 'mapid_1')
|
|
317
|
+
* @param {object} store store: object - store object
|
|
318
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
319
|
+
* @returns {boolean} returnType: boolean
|
|
320
|
+
*/
|
|
321
|
+
export declare const shouldEndtimeOverride: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
322
|
+
clearCache: () => void;
|
|
323
|
+
}> & {
|
|
324
|
+
clearCache: () => void;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Gets activeLayerId for map
|
|
328
|
+
*
|
|
329
|
+
* example: activeLayerId = getActiveLayerId(store, 'mapid_1')
|
|
330
|
+
* @param {object} store store: object - store object
|
|
331
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
332
|
+
*/
|
|
333
|
+
export declare const getActiveLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
334
|
+
clearCache: () => void;
|
|
335
|
+
}> & {
|
|
336
|
+
clearCache: () => void;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Gets autoUpdateLayerId for map
|
|
340
|
+
*
|
|
341
|
+
* example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
|
|
342
|
+
* @param {object} store store: object - store object
|
|
343
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
344
|
+
*/
|
|
345
|
+
export declare const getAutoUpdateLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
346
|
+
clearCache: () => void;
|
|
347
|
+
}> & {
|
|
348
|
+
clearCache: () => void;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Gets autoUpdateLayerId for map
|
|
352
|
+
*
|
|
353
|
+
* example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
|
|
354
|
+
* @param {object} store store: object - store object
|
|
355
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
356
|
+
*/
|
|
357
|
+
export declare const getAutoTimeStepLayerId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
358
|
+
clearCache: () => void;
|
|
359
|
+
}> & {
|
|
360
|
+
clearCache: () => void;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Gets span of a time slider of a map
|
|
364
|
+
*
|
|
365
|
+
* Example: span = getSpan(store, 'mapid_1')
|
|
366
|
+
* @param {object} store store: object - store object
|
|
367
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
368
|
+
* @returns {Span} returnType: Span - span as an enum
|
|
369
|
+
*/
|
|
370
|
+
export declare const getMapTimeSliderSpan: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
371
|
+
clearCache: () => void;
|
|
372
|
+
}> & {
|
|
373
|
+
clearCache: () => void;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Gets time step of a map
|
|
377
|
+
*
|
|
378
|
+
* Example: timeStep = getTimeStep(store, 'mapid_1')
|
|
379
|
+
* @param {object} store store: object - store object
|
|
380
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
381
|
+
* @returns {number} returnType: number - time step as a number
|
|
382
|
+
*/
|
|
383
|
+
export declare const getMapTimeStep: ((state: any, mapId: any) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number, {
|
|
384
|
+
clearCache: () => void;
|
|
385
|
+
}> & {
|
|
386
|
+
clearCache: () => void;
|
|
387
|
+
};
|
|
388
|
+
export declare const getMapTimeStepWithoutDefault: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
389
|
+
clearCache: () => void;
|
|
390
|
+
}> & {
|
|
391
|
+
clearCache: () => void;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Returns the speed of animation
|
|
395
|
+
*
|
|
396
|
+
* Example: speed = getSpeed(store, 'mapid_1')
|
|
397
|
+
* @param {object} store store: object - store object
|
|
398
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
399
|
+
* @returns {number} returnType: number - speed as a number
|
|
400
|
+
*/
|
|
401
|
+
export declare const getMapAnimationDelay: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
402
|
+
clearCache: () => void;
|
|
403
|
+
}> & {
|
|
404
|
+
clearCache: () => void;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* Returns the width of time slider
|
|
408
|
+
*
|
|
409
|
+
* Example: timeSliderWith = getMapTimeSliderWidth(store, 'mapid_1')
|
|
410
|
+
* @param {object} store store: object - store object
|
|
411
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
412
|
+
* @returns {number} returnType: number - center time as a unix timestamp
|
|
413
|
+
*/
|
|
414
|
+
export declare const getMapTimeSliderWidth: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
415
|
+
clearCache: () => void;
|
|
416
|
+
}> & {
|
|
417
|
+
clearCache: () => void;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Returns the center time of time slider
|
|
421
|
+
*
|
|
422
|
+
* Example: centerTime = getCenterTime(store, 'mapid_1')
|
|
423
|
+
* @param {object} store store: object - store object
|
|
424
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
425
|
+
* @returns {number} returnType: number - center time as a unix timestamp
|
|
426
|
+
*/
|
|
427
|
+
export declare const getMapTimeSliderCenterTime: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
428
|
+
clearCache: () => void;
|
|
429
|
+
}> & {
|
|
430
|
+
clearCache: () => void;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Returns the number of seconds per pixel on the time slider
|
|
434
|
+
*
|
|
435
|
+
* Example: secondsPerPx = getSecondsPerPx(store, 'mapid_1')
|
|
436
|
+
* @param {object} store store: object - store object
|
|
437
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
438
|
+
* @returns {number} returnType: number - the number of seconds per pixel
|
|
439
|
+
*/
|
|
440
|
+
export declare const getMapTimeSliderSecondsPerPx: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
441
|
+
clearCache: () => void;
|
|
442
|
+
}> & {
|
|
443
|
+
clearCache: () => void;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Returns map is timestep auto
|
|
447
|
+
*
|
|
448
|
+
* Example: isTimestepAuto = isTimestepAuto(store, 'mapid_1')
|
|
449
|
+
* @param {object} store store: object - store object
|
|
450
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
451
|
+
* @returns {boolean} returnType: boolean
|
|
452
|
+
*/
|
|
453
|
+
export declare const isTimestepAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
454
|
+
clearCache: () => void;
|
|
455
|
+
}> & {
|
|
456
|
+
clearCache: () => void;
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* Returns map is animation auto
|
|
460
|
+
* @param {object} store store: object - store object
|
|
461
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
462
|
+
* @returns {boolean} returnType: boolean
|
|
463
|
+
*/
|
|
464
|
+
export declare const isAnimationLengthAuto: ((state: any, mapId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
465
|
+
clearCache: () => void;
|
|
466
|
+
}> & {
|
|
467
|
+
clearCache: () => void;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Returns map is timespan auto
|
|
471
|
+
*
|
|
472
|
+
* Example: isTimeSpanAuto = isTimeSpanAuto(store, 'mapid_1')
|
|
473
|
+
* @param {object} store store: object - store object
|
|
474
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
475
|
+
* @returns {boolean} returnType: boolean
|
|
476
|
+
*/
|
|
477
|
+
export declare const isTimeSpanAuto: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
478
|
+
clearCache: () => void;
|
|
479
|
+
}> & {
|
|
480
|
+
clearCache: () => void;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Returns map is time slider hover
|
|
484
|
+
*
|
|
485
|
+
* Example: isTimeSliderHoverOn = isTimeSliderHoverOn(store, 'mapid_1')
|
|
486
|
+
* @param {object} store store: object - store object
|
|
487
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
488
|
+
* @returns {boolean} returnType: boolean
|
|
489
|
+
*/
|
|
490
|
+
export declare const isTimeSliderHoverOn: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
491
|
+
clearCache: () => void;
|
|
492
|
+
}> & {
|
|
493
|
+
clearCache: () => void;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Returns map if zoomcontrols are visible
|
|
497
|
+
*
|
|
498
|
+
* Example: isZoomControlsVisible = isZoomControlsVisible(store, 'mapid_1')
|
|
499
|
+
* @param {object} store store: object - store object
|
|
500
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
501
|
+
* @returns {boolean} returnType: boolean
|
|
502
|
+
*/
|
|
503
|
+
export declare const isZoomControlsVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
504
|
+
clearCache: () => void;
|
|
505
|
+
}> & {
|
|
506
|
+
clearCache: () => void;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Returns map is time slider visible
|
|
510
|
+
*
|
|
511
|
+
* Example: isTimeSliderHoverOn = isTimeSliderVisible(store, 'mapid_1')
|
|
512
|
+
* @param {object} store store: object - store object
|
|
513
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
514
|
+
* @returns {boolean} returnType: boolean
|
|
515
|
+
*/
|
|
516
|
+
export declare const isTimeSliderVisible: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
517
|
+
clearCache: () => void;
|
|
518
|
+
}> & {
|
|
519
|
+
clearCache: () => void;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Returns is layer is active layer
|
|
523
|
+
*
|
|
524
|
+
* Example: isLayerActiveLayer = getIsLayerActiveLayer(store, 'mapid_1', 'layer_1)
|
|
525
|
+
* @param {object} store store: object - store object
|
|
526
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
527
|
+
* @param {string} mapId layerId: string - Id of the layer
|
|
528
|
+
* @returns {boolean} returnType: boolean
|
|
529
|
+
*/
|
|
530
|
+
export declare const getIsLayerActiveLayer: ((state: any, _mapId: any, layerId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string | undefined, args_1: string) => boolean, {
|
|
531
|
+
clearCache: () => void;
|
|
532
|
+
}> & {
|
|
533
|
+
clearCache: () => void;
|
|
534
|
+
};
|
|
535
|
+
/**
|
|
536
|
+
* Returns the mapId for given layerId
|
|
537
|
+
*
|
|
538
|
+
* Example const mapId = getMapIdFromLayerId(store 'layerId-A');
|
|
539
|
+
* @param {object} store store: object - store object
|
|
540
|
+
* @param {string} layerId layerId: string - Id of the layer
|
|
541
|
+
* @returns {string} returnType: string - the mapId, or null if not found
|
|
542
|
+
*/
|
|
543
|
+
export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: string | undefined) => string | null) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string | undefined) => string | null, {
|
|
544
|
+
clearCache: () => void;
|
|
545
|
+
}> & {
|
|
546
|
+
clearCache: () => void;
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* Returns the layerId for given layerName
|
|
550
|
+
*
|
|
551
|
+
* Example const layerId = getLayerIdByLayerName(store, 'mapid-1', 'precipitation');
|
|
552
|
+
* @param {object} store store: object - store object
|
|
553
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
554
|
+
* @param {string} layerId layerId: string - Id of the layer
|
|
555
|
+
* @returns {string} returnType: string - the layerId, or null if not found
|
|
556
|
+
*/
|
|
557
|
+
export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => string, {
|
|
558
|
+
clearCache: () => void;
|
|
559
|
+
}> & {
|
|
560
|
+
clearCache: () => void;
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* Returns the layerIndex in the map for given layerId
|
|
564
|
+
*
|
|
565
|
+
* Example const layerIndex = getLayerIndexByLayerId(store, 'mapid-1', 'precipitation');
|
|
566
|
+
* @param {object} store store: object - store object
|
|
567
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
568
|
+
* @param {string} layerId layerId: string - Id of the layer
|
|
569
|
+
* @returns {number} returnType: index number or -1 if not found
|
|
570
|
+
*/
|
|
571
|
+
export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string | undefined) => number, {
|
|
572
|
+
clearCache: () => void;
|
|
573
|
+
}> & {
|
|
574
|
+
clearCache: () => void;
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Returns the Layer in the map for given layerIndex
|
|
578
|
+
*
|
|
579
|
+
* Example const layer = getLayerByLayerIndex(store, 'mapid-1', 0);
|
|
580
|
+
* @param {object} store store: object - store object
|
|
581
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
582
|
+
* @param {number} layerIndex layerId: number - Index of the layer in the map
|
|
583
|
+
* @returns {object} returnType: layer, or null if not found
|
|
584
|
+
*/
|
|
585
|
+
export declare const getLayerByLayerIndex: ((state: any, _mapId: any, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: number) => Layer, {
|
|
586
|
+
clearCache: () => void;
|
|
587
|
+
}> & {
|
|
588
|
+
clearCache: () => void;
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Returns name of all unique dimensions present in all maps
|
|
592
|
+
*
|
|
593
|
+
* Example getAllUniqueDimensions(store);
|
|
594
|
+
* @param {object} store store: object - store object
|
|
595
|
+
* @returns {array} returnType: array of dimension names
|
|
596
|
+
*/
|
|
597
|
+
export declare const getAllUniqueDimensions: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: CoreAppStore) => string[], {
|
|
598
|
+
clearCache: () => void;
|
|
599
|
+
}> & {
|
|
600
|
+
clearCache: () => void;
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* Returns the mapPinLocation for the current map
|
|
604
|
+
*
|
|
605
|
+
* Example getPinLocation(store);
|
|
606
|
+
* @param {object} store store: object - store object
|
|
607
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
608
|
+
* @returns {object} returnType: latitude and longitude of pin
|
|
609
|
+
*/
|
|
610
|
+
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, {
|
|
611
|
+
clearCache: () => void;
|
|
612
|
+
}> & {
|
|
613
|
+
clearCache: () => void;
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* Returns the disable map pin boolean for the current map
|
|
617
|
+
*
|
|
618
|
+
* Example getDisableMapPin(store);
|
|
619
|
+
* @param {object} store store: object - store object
|
|
620
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
621
|
+
* @returns {boolean} returnType: boolean
|
|
622
|
+
*/
|
|
623
|
+
export declare const getDisableMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
624
|
+
clearCache: () => void;
|
|
625
|
+
}> & {
|
|
626
|
+
clearCache: () => void;
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Returns the display map pin boolean for the current map
|
|
630
|
+
*
|
|
631
|
+
* Example getDisplayMapPin(store);
|
|
632
|
+
* @param {object} store store: object - store object
|
|
633
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
634
|
+
* @returns {boolean} returnType: boolean
|
|
635
|
+
*/
|
|
636
|
+
export declare const getDisplayMapPin: ((state: any, mapId: any) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
637
|
+
clearCache: () => void;
|
|
638
|
+
}> & {
|
|
639
|
+
clearCache: () => void;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Returns the legend id
|
|
643
|
+
*
|
|
644
|
+
* Example getLegendId(store, mapId);
|
|
645
|
+
* @param {object} store store: object - store object
|
|
646
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
647
|
+
* @returns {boolean} returnType: id or undefined
|
|
648
|
+
*/
|
|
649
|
+
export declare const getLegendId: ((state: any, mapId: any) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
650
|
+
clearCache: () => void;
|
|
651
|
+
}> & {
|
|
652
|
+
clearCache: () => void;
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Creates a MapPreset from mapId
|
|
656
|
+
*
|
|
657
|
+
* Example getMapPreset(store, mapId);
|
|
658
|
+
* @param {object} store store: object - store object
|
|
659
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
660
|
+
* @returns {MapPreset} returnType: MapPreset
|
|
661
|
+
*/
|
|
662
|
+
export declare const getMapPreset: ((state: any, mapId: any) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: ReduxLayer[], args_2: 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 | undefined, args_16: string | undefined, args_17: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
|
|
663
|
+
clearCache: () => void;
|
|
664
|
+
}> & {
|
|
665
|
+
clearCache: () => void;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* Gets all enabled layerIds for map
|
|
669
|
+
*
|
|
670
|
+
* Example: getMapLayerIdsEnabled = getLayerIdsEnabled(store, 'mapId_1')
|
|
671
|
+
* @param {object} store store: object - store
|
|
672
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
673
|
+
* @returns {string[]} returnType: string[] - array of enabled layerIds
|
|
674
|
+
*/
|
|
675
|
+
export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => string[], {
|
|
676
|
+
clearCache: () => void;
|
|
677
|
+
}> & {
|
|
678
|
+
clearCache: () => void;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* Returns if a map dimension is used for any enabled layers on that map
|
|
682
|
+
*
|
|
683
|
+
* Example getIsEnabledLayersForMapDimension(store, mapId);
|
|
684
|
+
* @param {object} store store: object - store object
|
|
685
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
686
|
+
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
687
|
+
* @returns {Boolean} returnType: boolean
|
|
688
|
+
*/
|
|
689
|
+
export declare const getIsEnabledLayersForMapDimension: ((state: any, _mapId: any, dimensionName: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: string[]) => boolean, {
|
|
690
|
+
clearCache: () => void;
|
|
691
|
+
}> & {
|
|
692
|
+
clearCache: () => void;
|
|
693
|
+
};
|
|
694
|
+
/**
|
|
695
|
+
* Returns the dockedLayerManagerSize originally set in mapPresets
|
|
696
|
+
*
|
|
697
|
+
* Example getDockedLayerManagerSize(store);
|
|
698
|
+
* @param {object} store store: object - store object
|
|
699
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
700
|
+
* @returns {DockedLayerManagerSize} returnType: string
|
|
701
|
+
*/
|
|
702
|
+
export declare const getDockedLayerManagerSize: ((state: any, mapId: any) => import("./types").DockedLayerManagerSize | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").DockedLayerManagerSize | undefined, {
|
|
703
|
+
clearCache: () => void;
|
|
704
|
+
}> & {
|
|
705
|
+
clearCache: () => void;
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* Returns the animation list for given map id
|
|
709
|
+
* @param {object} store store: object - store object
|
|
710
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
711
|
+
* @returns {animationList} returnType: WebMapAnimationList, list of timesteps to animate for this map.
|
|
712
|
+
*/
|
|
713
|
+
export declare const getAnimationList: ((state: any, mapId: any) => WebMapAnimationList) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: WebMap | undefined, args_2: string | undefined, args_3: string | undefined, args_4: number) => WebMapAnimationList, {
|
|
714
|
+
clearCache: () => void;
|
|
715
|
+
}> & {
|
|
716
|
+
clearCache: () => void;
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* @param {object} store store: object - store object
|
|
720
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
721
|
+
* @returns {object} Returns min and max value of time dimension of autoTimeStep-layer. If no autoTimeStep-layer it returns default start/end time from store.
|
|
722
|
+
*/
|
|
723
|
+
export declare const getAnimationRange: ((state: any, mapId: any) => {
|
|
724
|
+
animationStartTime: string | undefined;
|
|
725
|
+
animationEndTime: string | undefined;
|
|
726
|
+
}) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: string | undefined, args_2: string | undefined, args_3: string | undefined, args_4: boolean) => {
|
|
727
|
+
animationStartTime: string | undefined;
|
|
728
|
+
animationEndTime: string | undefined;
|
|
729
|
+
}, {
|
|
730
|
+
clearCache: () => void;
|
|
731
|
+
}> & {
|
|
732
|
+
clearCache: () => void;
|
|
733
|
+
};
|