@opengeoweb/core 1.2.3 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/README.md +11 -12
  2. package/core.esm.js +12582 -10424
  3. package/core.umd.js +10347 -7869
  4. package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +47 -0
  5. package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
  6. package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DeleteLayer/DeleteButton.spec.d.ts → ComponentsLookUp/componentsLookup.spec.d.ts} +0 -0
  7. package/lib/components/ComponentsLookUp/index.d.ts +1 -0
  8. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +35 -0
  9. package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DeleteLayer/DeleteLayerConnect.spec.d.ts → ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts} +0 -0
  10. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +6 -0
  11. package/lib/components/ConfigurableConnectedMap/index.d.ts +1 -0
  12. package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +17 -0
  13. package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateButton.spec.d.ts → ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts} +0 -0
  14. package/lib/components/ConfigurableMapWithSlider/index.d.ts +1 -0
  15. package/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +1 -0
  16. package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
  17. package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +12 -0
  18. package/lib/components/LayerManager/LayerContainerRow/{LayerRow/Menubutton/DuplicateLayer/DuplicateLayerConnect.spec.d.ts → LayerManagerButton.spec.d.ts} +0 -0
  19. package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +9 -0
  20. package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/LayerManagerMenuButton.spec.d.ts → ActivateLayer/ActivateLayer.spec.d.ts} +0 -0
  21. package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +16 -0
  22. package/lib/components/LayerManager/LayerContainerRow/{SortableRowContainer/SortableRowContainer.spec.d.ts → LayerRow/ActivateLayer/ActivateLayerConnect.spec.d.ts} +0 -0
  23. package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/DeleteLayer/DeleteButton.d.ts → DeleteLayer/DeleteLayer.d.ts} +2 -1
  24. package/lib/components/{MultiDimensionSelect/MultiDimensionSelectConnect.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayer.spec.d.ts} +0 -0
  25. package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/DeleteLayer → DeleteLayer}/DeleteLayerConnect.d.ts +1 -0
  26. package/lib/components/{MultiDimensionSelect/MultiDimensionSelectDialog.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.spec.d.ts} +0 -0
  27. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +1 -1
  28. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +7 -3
  29. package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayer.d.ts +1 -2
  30. package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +0 -1
  31. package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +4 -2
  32. package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +11 -0
  33. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/{LayerManagerMenuButton.d.ts → MenuButton.d.ts} +1 -7
  34. package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.spec.d.ts} +0 -0
  35. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +7 -0
  36. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.spec.d.ts +1 -0
  37. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuItemButton.d.ts +8 -0
  38. package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +1 -1
  39. package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +0 -1
  40. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +1 -1
  41. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +0 -1
  42. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +1 -1
  43. package/lib/components/LayerManager/LayerContainerRow/LayerRow/styles.d.ts +4 -0
  44. package/lib/components/LayerManager/LayerManager.d.ts +7 -1
  45. package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -7
  46. package/lib/components/LayerManager/LayerManagerConnect.d.ts +2 -1
  47. package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
  48. package/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +2 -0
  49. package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
  50. package/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +14 -0
  51. package/lib/components/LayerManager/LayerSelect/LayerSelect.spec.d.ts +1 -0
  52. package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +9 -0
  53. package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +8 -0
  54. package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.spec.d.ts +1 -0
  55. package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +16 -0
  56. package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.spec.d.ts +1 -0
  57. package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +11 -0
  58. package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.spec.d.ts +1 -0
  59. package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.stories.d.ts +13 -0
  60. package/lib/components/LayerManager/{tooltipSelectContainerStyles.d.ts → tooltipContainerStyles.d.ts} +0 -0
  61. package/lib/components/Legend/LegendConnect.d.ts +1 -2
  62. package/lib/components/Legend/LegendDialog.d.ts +2 -0
  63. package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
  64. package/lib/components/Mapcontrols/MapControlButton.d.ts +11 -0
  65. package/lib/components/Mapcontrols/MapControlButton.spec.d.ts +1 -0
  66. package/lib/components/Mapcontrols/MapControls.d.ts +7 -0
  67. package/lib/components/Mapcontrols/MapControls.spec.d.ts +1 -0
  68. package/lib/components/Mapcontrols/ZoomControls.d.ts +0 -8
  69. package/lib/components/Mapcontrols/ZoomControlsConnect.d.ts +6 -0
  70. package/lib/components/Mapcontrols/ZoomControlsConnect.spec.d.ts +1 -0
  71. package/lib/components/Mapcontrols/index.d.ts +4 -0
  72. package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.d.ts +8 -0
  73. package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.spec.d.ts +1 -0
  74. package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +7 -0
  75. package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.spec.d.ts +1 -0
  76. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +12 -0
  77. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.spec.d.ts +1 -0
  78. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
  79. package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.d.ts → MultiMapDimensionSelect/DimensionSelectSlider.d.ts} +5 -4
  80. package/lib/components/MultiMapDimensionSelect/DimensionSelectSlider.spec.d.ts +1 -0
  81. package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.d.ts +11 -0
  82. package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.spec.d.ts +1 -0
  83. package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/EnsembleDimensionExample.stories.d.ts +0 -0
  84. package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelect.stories.d.ts +2 -0
  85. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +11 -0
  86. package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelectConnect.stories.d.ts +0 -1
  87. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +6 -0
  88. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.spec.d.ts +1 -0
  89. package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelect.stories.d.ts +2 -0
  90. package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.d.ts +9 -0
  91. package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.spec.d.ts +1 -0
  92. package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.d.ts +8 -0
  93. package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.spec.d.ts +1 -0
  94. package/lib/components/MultiMapDimensionSelect/index.d.ts +2 -0
  95. package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +9 -0
  96. package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts +1 -0
  97. package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +11 -0
  98. package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +2 -0
  99. package/lib/components/MultiMapView/MultiMapView.stories.d.ts +0 -2
  100. package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +5 -2
  101. package/lib/components/MultiMapView/storyUtils/mapPresets.d.ts +23 -11
  102. package/lib/components/Providers/Providers.d.ts +2 -1
  103. package/lib/components/ReactMapView/ReactMapView.d.ts +9 -9
  104. package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +3 -2
  105. package/lib/components/ReactMapView/types.d.ts +3 -4
  106. package/lib/components/SyncGroups/SyncGroupList.d.ts +11 -0
  107. package/lib/components/SyncGroups/SyncGroupListItem.d.ts +10 -0
  108. package/lib/components/SyncGroups/SyncGroupViewer.d.ts +11 -7
  109. package/lib/components/SyncGroups/SyncGroupViewer.spec.d.ts +1 -0
  110. package/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +7 -1
  111. package/lib/components/SyncGroups/selector.d.ts +10 -0
  112. package/lib/components/SyncGroups/types.d.ts +17 -0
  113. package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +1 -0
  114. package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButton.d.ts +0 -2
  115. package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtonComponents.stories.d.ts +5 -0
  116. package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtons.stories.d.ts +0 -4
  117. package/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.d.ts +2 -2
  118. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +1 -1
  119. package/lib/components/TimeSlider/TimeSliderUtils.d.ts +18 -13
  120. package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +9 -0
  121. package/lib/components/ToggleIconButton/ToggleIconButton.spec.d.ts +1 -0
  122. package/lib/components/ToggleIconButton/ToggleIconButton.stories.d.ts +13 -0
  123. package/lib/components/ToggleIconButton/index.d.ts +1 -0
  124. package/lib/components/TooltipSelect/TooltipSelect.d.ts +7 -0
  125. package/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +1 -0
  126. package/lib/components/WMSLoader/services.d.ts +0 -1
  127. package/lib/index.d.ts +18 -5
  128. package/lib/store/generic/sagas.d.ts +7 -0
  129. package/lib/store/generic/synchronizationActions/actions.d.ts +5 -4
  130. package/lib/store/generic/synchronizationActions/constants.d.ts +1 -0
  131. package/lib/store/generic/synchronizationActions/types.d.ts +25 -11
  132. package/lib/store/generic/synchronizationGroups/actions.d.ts +4 -0
  133. package/lib/store/generic/synchronizationGroups/constants.d.ts +2 -0
  134. package/lib/store/generic/synchronizationGroups/index.d.ts +2 -1
  135. package/lib/store/generic/synchronizationGroups/selectors.d.ts +2 -1
  136. package/lib/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -0
  137. package/lib/store/generic/synchronizationGroups/types.d.ts +7 -3
  138. package/lib/store/generic/synchronizationGroups/utils.d.ts +81 -0
  139. package/lib/store/generic/synchronizationGroups/utils.spec.d.ts +1 -0
  140. package/lib/store/generic/types.d.ts +7 -4
  141. package/lib/store/mapStore/layers/actions.d.ts +0 -3
  142. package/lib/store/mapStore/layers/selectors.d.ts +21 -1
  143. package/lib/store/mapStore/layers/types.d.ts +7 -0
  144. package/lib/store/mapStore/layers/utils.d.ts +4 -2
  145. package/lib/store/mapStore/layers/utils.spec.d.ts +1 -0
  146. package/lib/store/mapStore/map/actions.d.ts +2 -2
  147. package/lib/store/mapStore/map/reducer.d.ts +7 -0
  148. package/lib/store/mapStore/map/selectors.d.ts +86 -4
  149. package/lib/store/mapStore/map/types.d.ts +2 -0
  150. package/lib/store/mapStore/service/actions.d.ts +1 -10
  151. package/lib/store/mapStore/service/constants.d.ts +0 -1
  152. package/lib/store/mapStore/service/reducer.d.ts +4 -2
  153. package/lib/store/mapStore/service/selectors.d.ts +9 -39
  154. package/lib/store/mapStore/service/types.d.ts +4 -15
  155. package/lib/store/mapStore/types.d.ts +1 -1
  156. package/lib/store/mapStore/utils/helpers.d.ts +2 -0
  157. package/lib/store/ui/actions.d.ts +12 -5
  158. package/lib/store/ui/constants.d.ts +1 -0
  159. package/lib/store/ui/reducer.d.ts +12 -4
  160. package/lib/store/ui/sagas.d.ts +5 -0
  161. package/lib/store/ui/sagas.test.d.ts +1 -0
  162. package/lib/store/ui/selectors.d.ts +21 -4
  163. package/lib/store/ui/types.d.ts +17 -4
  164. package/lib/storybookUtils/defaultStorySettings.d.ts +1 -0
  165. package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
  166. package/lib/utils/defaultConfigurations.d.ts +21 -0
  167. package/lib/utils/defaultTestSettings.d.ts +0 -44
  168. package/lib/utils/dimensionUtils.d.ts +13 -0
  169. package/lib/utils/dimensionUtils.spec.d.ts +1 -0
  170. package/lib/utils/getCapabilities.d.ts +8 -0
  171. package/lib/utils/{exampleLayers.d.ts → publicLayers.d.ts} +148 -70
  172. package/lib/utils/publicServices.d.ts +100 -0
  173. package/lib/utils/testLayers.d.ts +17 -0
  174. package/lib/utils/testUtils.d.ts +1 -0
  175. package/package.json +12 -12
  176. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateButton.d.ts +0 -7
  177. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateLayerConnect.d.ts +0 -7
  178. package/lib/components/LayerManager/LayerContainerRow/SortableRowContainer/SortableRowContainer.d.ts +0 -6
  179. package/lib/components/MultiDimensionSelect/MultiDimensionSelectConfig.d.ts +0 -3
  180. package/lib/components/MultiDimensionSelect/MultiDimensionSelectConnect.d.ts +0 -10
  181. package/lib/components/MultiDimensionSelect/MultiDimensionSelectDialog.d.ts +0 -12
  182. package/lib/components/MultiDimensionSelect/index.d.ts +0 -2
  183. package/lib/components/MultiDimensionSelect/types.d.ts +0 -18
  184. package/lib/components/MultiMapView/MultiMapViewHarmonie.stories.d.ts +0 -2
  185. package/lib/components/MultiMapView/storyUtils/HarmonieTempAndPrecipPreset.d.ts +0 -6
  186. package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -15
  187. package/lib/components/SyncGroups/SyncGroupComponent.d.ts +0 -13
  188. package/lib/components/SyncGroups/SyncGroupDialog.d.ts +0 -7
  189. package/lib/utils/DimensionUtils.d.ts +0 -3
@@ -1,6 +1,7 @@
1
1
  import moment from 'moment';
2
- import { Scale, WebMap } from './types';
2
+ import { Scale, WebMap, WebMapState } from './types';
3
3
  import { AppStore } from '../../../types/types';
4
+ import { Layer } from '../types';
4
5
  /**
5
6
  * Gets the map state by mapId
6
7
  *
@@ -10,6 +11,30 @@ import { AppStore } from '../../../types/types';
10
11
  * @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
11
12
  */
12
13
  export declare const getMapById: (store: AppStore, mapId: string) => WebMap;
14
+ /**
15
+ * Gets all mapIds
16
+ *
17
+ * Example: getAllMapIds(store)
18
+ * @param {object} store store object from which the map state wll be extracted
19
+ * @returns {array} array containing all map ids
20
+ */
21
+ export declare const getAllMapIds: (store: AppStore) => string[];
22
+ /**
23
+ * Gets the map state of the first map in the store
24
+ *
25
+ * Example: getFirstMap(store)
26
+ * @param {object} store store object from which the map state wll be extracted
27
+ * @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
28
+ */
29
+ export declare const getFirstMap: (store: AppStore) => WebMap;
30
+ /**
31
+ * Gets the id of first map in store
32
+ *
33
+ * Example: getFirstMapId(store)
34
+ * @param {object} store store object from which the map state wll be extracted
35
+ * @returns {object} map id
36
+ */
37
+ export declare const getFirstMapId: import("reselect").OutputSelector<AppStore, string, (res: WebMap) => string>;
13
38
  /**
14
39
  * Determines if map is present
15
40
  *
@@ -35,7 +60,7 @@ export declare const getLayerIds: import("reselect").OutputParametricSelector<Ap
35
60
  * @param {string} mapId mapId: string - Id of the map
36
61
  * @returns {array} returnType: array - array containing all layer states for the map
37
62
  */
38
- export declare const getMapLayers: import("reselect").OutputParametricSelector<AppStore, string, import("../types").Layer[], (res1: string[], res2: Record<string, import("../types").Layer>) => import("../types").Layer[]>;
63
+ export declare const getMapLayers: import("reselect").OutputParametricSelector<AppStore, string, Layer[], (res1: string[], res2: Record<string, Layer>) => Layer[]>;
39
64
  /**
40
65
  * Gets an array of baselayers ids for a map
41
66
  *
@@ -53,7 +78,7 @@ export declare const getMapBaseLayersIds: import("reselect").OutputParametricSel
53
78
  * @param {string} mapId mapId: string - Id of the map
54
79
  * @returns {array} returnType: array - array containing all baselayers for the map
55
80
  */
56
- export declare const getMapBaseLayers: import("reselect").OutputParametricSelector<AppStore, string, import("../types").Layer[], (res1: string[], res2: Record<string, import("../types").Layer>) => import("../types").Layer[]>;
81
+ export declare const getMapBaseLayers: import("reselect").OutputParametricSelector<AppStore, string, Layer[], (res1: string[], res2: Record<string, Layer>) => Layer[]>;
57
82
  /**
58
83
  * Gets and array of overLayers ids for a map
59
84
  *
@@ -71,7 +96,7 @@ export declare const getMapOverLayersIds: import("reselect").OutputParametricSel
71
96
  * @param {string} mapId mapId: string - Id of the map
72
97
  * @returns {array} returnType: array - array containing all overLayers for the map
73
98
  */
74
- export declare const getMapOverLayers: import("reselect").OutputParametricSelector<AppStore, string, import("../types").Layer[], (res1: string[], res2: Record<string, import("../types").Layer>) => import("../types").Layer[]>;
99
+ export declare const getMapOverLayers: import("reselect").OutputParametricSelector<AppStore, string, Layer[], (res1: string[], res2: Record<string, Layer>) => Layer[]>;
75
100
  /**
76
101
  * Gets map dimensions
77
102
  *
@@ -81,6 +106,16 @@ export declare const getMapOverLayers: import("reselect").OutputParametricSelect
81
106
  * @returns {array} returnType: array - array containing map dimensions
82
107
  */
83
108
  export declare const getMapDimensions: import("reselect").OutputParametricSelector<AppStore, string, import("./types").Dimension[], (res: WebMap) => import("./types").Dimension[]>;
109
+ /**
110
+ * Gets the map dimension requested
111
+ *
112
+ * Example: mapDimensions = getMapDimension(store, 'mapid_1', 'elevation')
113
+ * @param {object} store store: object - store object
114
+ * @param {string} mapId mapId: string - Id of the map
115
+ * @param {string} dimensionName dimensionName: string - name of the dimension
116
+ * @returns {object} returnType: object - object containing the map dimension details
117
+ */
118
+ export declare const getMapDimension: import("reselect").OutputParametricSelector<AppStore, string, import("./types").Dimension, (res1: WebMap, res2: string) => import("./types").Dimension>;
84
119
  /**
85
120
  * Gets map srs
86
121
  *
@@ -234,3 +269,50 @@ export declare const isTimeSliderHoverOn: import("reselect").OutputParametricSel
234
269
  * @returns {boolean} returnType: boolean
235
270
  */
236
271
  export declare const getIsLayerActiveLayer: import("reselect").OutputParametricSelector<AppStore, string, boolean, (res1: string, res2: any) => boolean>;
272
+ /**
273
+ * Returns the mapId for given layerId
274
+ *
275
+ * Example const mapId = getMapIdFromLayerId(store 'layerId-A');
276
+ * @param {object} store store: object - store object
277
+ * @param {string} layerId layerId: string - Id of the layer
278
+ * @returns {string} returnType: the mapId, or null if not found
279
+ */
280
+ export declare const getMapIdFromLayerId: import("reselect").OutputParametricSelector<AppStore, string, string, (res1: WebMapState, res2: string) => string>;
281
+ /**
282
+ * Returns the layerId for given layerName
283
+ *
284
+ * Example const layerId = getLayerIdByLayerName(store, 'mapid-1', 'precipitation');
285
+ * @param {object} store store: object - store object
286
+ * @param {string} mapId mapId: string - Id of the map
287
+ * @param {string} layerId layerId: string - Id of the layer
288
+ * @returns {string} returnType: the layerId, or null if not found
289
+ */
290
+ export declare const getLayerIdByLayerName: import("reselect").OutputParametricSelector<AppStore, string, string, (res1: Layer[], res2: string) => string>;
291
+ /**
292
+ * Returns the layerIndex in the map for given layerId
293
+ *
294
+ * Example const layerIndex = getLayerIndexByLayerId(store, 'mapid-1', 'precipitation');
295
+ * @param {object} store store: object - store object
296
+ * @param {string} mapId mapId: string - Id of the map
297
+ * @param {string} layerId layerId: string - Id of the layer
298
+ * @returns {number} returnType: index number or -1 if not found
299
+ */
300
+ export declare const getLayerIndexByLayerId: import("reselect").OutputParametricSelector<AppStore, string, number, (res1: Layer[], res2: string) => number>;
301
+ /**
302
+ * Returns the Layer in the map for given layerIndex
303
+ *
304
+ * Example const layer = getLayerByLayerIndex(store, 'mapid-1', 0);
305
+ * @param {object} store store: object - store object
306
+ * @param {string} mapId mapId: string - Id of the map
307
+ * @param {number} layerIndex layerId: number - Index of the layer in the map
308
+ * @returns {object} returnType: layer, or null if not found
309
+ */
310
+ export declare const getLayerByLayerIndex: import("reselect").OutputParametricSelector<AppStore, string, Layer, (res1: Layer[], res2: number) => Layer>;
311
+ /**
312
+ * Returns name of all unique dimensions present in all maps
313
+ *
314
+ * Example getAllUniqueDimensions(store);
315
+ * @param {object} store store: object - store object
316
+ * @returns {array} returnType: array of dimension names
317
+ */
318
+ export declare const getAllUniqueDimensions: import("reselect").OutputSelector<AppStore, string[], (res1: string[], res2: AppStore) => string[]>;
@@ -10,6 +10,7 @@ export interface Dimension {
10
10
  minValue?: string;
11
11
  timeInterval?: DateInterval;
12
12
  synced?: boolean;
13
+ validSyncSelection?: boolean;
13
14
  values?: string;
14
15
  }
15
16
  export interface WebMap {
@@ -73,6 +74,7 @@ export interface MoveLayerPayload {
73
74
  mapId: string;
74
75
  oldIndex: number;
75
76
  newIndex: number;
77
+ origin: string;
76
78
  }
77
79
  export interface MoveLayer extends Action {
78
80
  type: typeof WEBMAP_LAYER_MOVE;
@@ -1,13 +1,4 @@
1
- import { ServiceActions, SetLayerDimensionsForServicePayload, SetLayersForServicePayload, SetLayerStylesForServicePayload } from './types';
2
- /**
3
- * Action setLayerDimensionsForService is used automatically after calling the setLayers action.
4
- * It is populating the intial list of dimensions for the layer.
5
- * Contents is based on WMS GetCapabilities
6
- *
7
- * Example: setLayerDimensionsForService({origin: 'someOrigin', service: someService, name: 'layerName', dimensions: dimensionObjecttArray})
8
- * @param {object} payload consisting of service: string, name: string (layerName) and dimensions: Dimension[]
9
- */
10
- export declare const setLayerDimensionsForService: (payload: SetLayerDimensionsForServicePayload) => ServiceActions;
1
+ import { ServiceActions, SetLayersForServicePayload, SetLayerStylesForServicePayload } from './types';
11
2
  /**
12
3
  * Action serviceSetLayers is used automatically after calling the setLayers action. Contents is based on WMS GetCapabilities
13
4
  *
@@ -1,3 +1,2 @@
1
1
  export declare const MAP_SERVICES_SET_LAYERS = "MAP_SERVICES_SET_LAYERS";
2
2
  export declare const MAP_SERVICES_LAYER_SET_STYLES = "MAP_SERVICES_LAYER_SET_STYLES";
3
- export declare const MAP_SERVICES_LAYER_SET_DIMENSIONS = "MAP_SERVICES_LAYER_SET_DIMENSIONS";
@@ -1,9 +1,11 @@
1
1
  import { ServiceActions } from '../types';
2
2
  import { ServiceState } from './types';
3
3
  export declare const initialState: {
4
- services: {};
4
+ byId: {};
5
+ allIds: any[];
5
6
  };
6
7
  export declare const WEBMAPJS_REDUCERNAME = "react-webmapjs";
7
8
  export declare const reducer: (state: {
8
- services: {};
9
+ byId: {};
10
+ allIds: any[];
9
11
  }, action: ServiceActions) => ServiceState;
@@ -1,6 +1,13 @@
1
1
  import { AppStore } from '../../../types/types';
2
2
  import { ServiceState, ServiceLayer } from './types';
3
- import { Dimension, Layer } from '../types';
3
+ /**
4
+ * Retrieves all serviceIds
5
+ *
6
+ * Example: serviceIds = getServiceIds(store)
7
+ * @param {object} store store: object - object from which the service state will be extracted
8
+ * @returns {array} returnType: array - an array of all serviceIds
9
+ */
10
+ export declare const getServiceIds: import("reselect").OutputSelector<AppStore, string[], (res: ServiceState) => string[]>;
4
11
  /**
5
12
  * Gets map services
6
13
  *
@@ -8,7 +15,7 @@ import { Dimension, Layer } from '../types';
8
15
  * @param {object} store store: object - Store object
9
16
  * @returns {object} returnType: ServiceState
10
17
  */
11
- export declare const getServices: import("reselect").OutputSelector<AppStore, any[] | import("./types").Services, (res: ServiceState) => any[] | import("./types").Services>;
18
+ export declare const getServices: import("reselect").OutputSelector<AppStore, import("./types").Services, (res: ServiceState) => import("./types").Services>;
12
19
  /**
13
20
  * Gets map layers from servicename
14
21
  *
@@ -17,40 +24,3 @@ export declare const getServices: import("reselect").OutputSelector<AppStore, an
17
24
  * @returns {array} returnType: ServiceLayer[]
18
25
  */
19
26
  export declare const getServiceLayersByName: (store: AppStore, serviceName: string) => ServiceLayer[];
20
- /**
21
- * Gets all dimensions of a layer from a service
22
- *
23
- * Example: dimensions = getServiceLayerDimensions(store, 'layer-id')
24
- * @param {object} store store: object - Store object
25
- * @param {string} layerId layerId: string - Id of the layer
26
- * @returns {array} returnType: Dimension[]
27
- */
28
- export declare const getServiceLayerDimensions: (store: AppStore, layerId: string) => Dimension[];
29
- /**
30
- * Gets all non time dimensions of a layer from a service
31
- *
32
- * Example: nonTimeDimensions = getServiceLayerNonTimeDimensions(store, 'layer-id')
33
- * @param {object} store store: object - Store object
34
- * @param {string} layerId layerId: string - Id of the layer
35
- * @returns {array} returnType: Dimension[]
36
- */
37
- export declare const getServiceLayerNonTimeDimensions: import("reselect").OutputParametricSelector<AppStore, string, Dimension[], (res: Dimension[]) => Dimension[]>;
38
- /**
39
- * Gets layers from store by dimension name
40
- *
41
- * Example: layer = getServiceLayersByDimension(store, 'dimName')
42
- * @param {object} store object from which the layer state will be extracted
43
- * @param {string} dimName dimension Name that the returned layers should contain
44
- * @returns {array} returnType:Layer[] array containing layers with desired dimension name
45
- */
46
- export declare const getServiceLayersByDimension: (store: AppStore, dimName: string) => Layer[];
47
- /**
48
- * Gets layers from store by dimension name for a certain map
49
- *
50
- * Example: layer = getMapServiceLayersByDimension(store, 'dimName')
51
- * @param {object} store object from which the layer state will be extracted
52
- * @param {string} mapId ]Id of the map
53
- * @param {string} dimName dimension Name that the returned layers should contain
54
- * @returns {array} returnType:Layer[] array containing layers containting requested dimension for specified map
55
- */
56
- export declare const getMapServiceLayersByDimension: (store: AppStore, mapId: string, dimName: string) => Layer[];
@@ -1,10 +1,8 @@
1
1
  import { Style } from '@opengeoweb/webmap';
2
2
  import { Action } from 'redux';
3
- import { Dimension } from '../map/types';
4
- import { MAP_SERVICES_SET_LAYERS, MAP_SERVICES_LAYER_SET_STYLES, MAP_SERVICES_LAYER_SET_DIMENSIONS } from './constants';
3
+ import { MAP_SERVICES_SET_LAYERS, MAP_SERVICES_LAYER_SET_STYLES } from './constants';
5
4
  export interface ServicesLayerStyles {
6
5
  styles: Record<string, unknown>[];
7
- dimensions?: Dimension[];
8
6
  }
9
7
  export interface Services {
10
8
  [key: string]: Service;
@@ -23,17 +21,8 @@ export interface ServiceLayer {
23
21
  path: string;
24
22
  }
25
23
  export interface ServiceState {
26
- services: Services;
27
- }
28
- export interface SetLayerDimensionsForServicePayload {
29
- origin?: string;
30
- service: string;
31
- name: string;
32
- dimensions: Dimension[];
33
- }
34
- interface SetLayerDimensionsForService extends Action {
35
- type: typeof MAP_SERVICES_LAYER_SET_DIMENSIONS;
36
- payload: SetLayerDimensionsForServicePayload;
24
+ byId: Services;
25
+ allIds: string[];
37
26
  }
38
27
  export interface SetLayersForServicePayload {
39
28
  service: string;
@@ -53,5 +42,5 @@ interface SetLayerStylesForService extends Action {
53
42
  type: typeof MAP_SERVICES_LAYER_SET_STYLES;
54
43
  payload: SetLayerStylesForServicePayload;
55
44
  }
56
- export declare type ServiceActions = SetLayerDimensionsForService | SetLayersForService | SetLayerStylesForService;
45
+ export declare type ServiceActions = SetLayersForService | SetLayerStylesForService;
57
46
  export {};
@@ -6,6 +6,6 @@ export * from './layers/types';
6
6
  export * from './service/types';
7
7
  export interface WebMapStateModuleState {
8
8
  webmap?: WebMapState;
9
- mapServices?: ServiceState;
9
+ services?: ServiceState;
10
10
  layers?: LayerState;
11
11
  }
@@ -2,6 +2,8 @@ import { WMJSMap, WMLayer } from '@opengeoweb/webmap';
2
2
  import { Dimension, WMJSDimension } from '../types';
3
3
  export declare const generateLayerId: () => string;
4
4
  export declare const generateMapId: () => string;
5
+ export declare const generateTimesliderId: () => string;
6
+ export declare const generateScreenId: () => string;
5
7
  /**
6
8
  * Registers a WMJSLayer in a lookuptable with a layerId
7
9
  * @param {WMLayer} wmLayer
@@ -1,29 +1,36 @@
1
- import { SetActiveMapIdForDialogPayload, UIActions, UIRegisterDialogPayload, UIToggleDialogPayload, UIUnRegisterDialogPayload } from './types';
1
+ import { SetActiveMapIdForDialogPayload, UIActions, UIOrderDialogPayload, UIRegisterDialogPayload, UIToggleDialogPayload, UIUnRegisterDialogPayload } from './types';
2
2
  /**
3
3
  * Registers the dialog in the store and creates the dialog state
4
4
  *
5
5
  * Example: registerDialog({'dialogId1', type: 'legend}) you can optionally specify the activeMapId and whether the dialog is open
6
- * @param {string} payload {type: 'legend' | 'layerManager' | 'verticalDimensionSelect', activeMapId?: string, setOpen?: boolean}
6
+ * @param {string} payload {type: 'legend' | 'layerManager' | 'dimensionSelect-elevation', activeMapId?: string, setOpen?: boolean}
7
7
  */
8
8
  export declare const registerDialog: (payload: UIRegisterDialogPayload) => UIActions;
9
9
  /**
10
10
  * Deletes the dialog from the store (from both allIds and byId)
11
11
  *
12
12
  * Example: unregisterDialog({type: 'legend'})
13
- * @param {string} payload {type: 'legend' | 'layerManager' | 'verticalDimensionSelect'}
13
+ * @param {string} payload {type: 'legend' | 'layerManager' | 'dimensionSelect-elevation'}
14
14
  */
15
15
  export declare const unregisterDialog: (payload: UIUnRegisterDialogPayload) => UIActions;
16
16
  /**
17
17
  * Sets the active map id for a dialogtype
18
18
  *
19
19
  * Example: setActiveMapIdForDialog({ activeMapId: 'mapId1', type: 'legend'})
20
- * @param {object} payload object with activeMapId: string, type: 'legend' | 'layerManager' | 'verticalDimensionSelect'
20
+ * @param {object} payload object with activeMapId: string, type: 'legend' | 'layerManager' | 'dimensionSelect-elevation'
21
21
  */
22
22
  export declare const setActiveMapIdForDialog: (payload: SetActiveMapIdForDialogPayload) => UIActions;
23
23
  /**
24
24
  * Toggles the open state to the boolean you pass in
25
25
  *
26
26
  * Example: setToggleOpenDialog({ type: 'legend', setOpen: true})
27
- * @param {object} payload object with type: 'legend' | 'layerManager' | 'verticalDimensionSelect', setOpen: boolean (new state of dialog)
27
+ * @param {object} payload object with type: 'legend' | 'layerManager' | 'dimensionSelect-elevation', setOpen: boolean (new state of dialog)
28
28
  */
29
29
  export declare const setToggleOpenDialog: (payload: UIToggleDialogPayload) => UIActions;
30
+ /**
31
+ * Orders UI element to top
32
+ *
33
+ * Example: orderDialog({ type: 'legend'})
34
+ * @param {object} payload object with type: 'legend' | 'layerManager' | 'dimensionSelect-elevation'
35
+ */
36
+ export declare const orderDialog: (payload: UIOrderDialogPayload) => UIActions;
@@ -2,3 +2,4 @@ export declare const UI_SET_ACTIVE_MAPID_FOR_DIALOG = "UI_SET_ACTIVE_MAPID_FOR_D
2
2
  export declare const UI_REGISTER_DIALOG = "UI_REGISTER_DIALOG";
3
3
  export declare const UI_UNREGISTER_DIALOG = "UI_UNREGISTER_DIALOG";
4
4
  export declare const UI_TOGGLE_DIALOG = "UI_TOGGLE_DIALOG";
5
+ export declare const UI_ORDER_DIALOG = "UI_ORDER_DIALOG";
@@ -1,10 +1,18 @@
1
- import { DialogType, UIActions, UIStoreType, UIType } from './types';
1
+ import { DialogType, Source, UIActions, UIStoreType, UIType } from './types';
2
2
  interface CreateUIDialogElementProps {
3
3
  activeMapId: string;
4
4
  type: DialogType;
5
5
  setOpen: boolean;
6
+ source?: Source;
6
7
  }
7
- export declare const createUIDialogElement: ({ activeMapId, type, setOpen, }: CreateUIDialogElementProps) => UIType;
8
- export declare const initialState: {};
9
- export declare const reducer: (state: {}, action: UIActions) => UIStoreType;
8
+ export declare const moveToTop: <Type>(list: Type[], element: Type) => Type[];
9
+ export declare const createUIDialogElement: ({ activeMapId, type, setOpen, source, }: CreateUIDialogElementProps) => UIType;
10
+ export declare const initialState: {
11
+ order: any[];
12
+ dialogs: {};
13
+ };
14
+ export declare const reducer: (state: {
15
+ order: any[];
16
+ dialogs: {};
17
+ }, action: UIActions) => UIStoreType;
10
18
  export {};
@@ -0,0 +1,5 @@
1
+ import { SagaIterator } from 'redux-saga';
2
+ export declare function registerMapUISaga(): SagaIterator;
3
+ export declare function unregisterUIMapSaga(): SagaIterator;
4
+ export declare function rootSaga(): SagaIterator;
5
+ export default rootSaga;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,11 +1,11 @@
1
1
  import { AppStore } from '../../types/types';
2
- import { UIType } from './types';
2
+ import { DialogType, UIType } from './types';
3
3
  /**
4
4
  * Gets the active map Id and wether a dialog is open or closed
5
5
  *
6
6
  * Example: getDialogDetailsByType(store, 'legend')
7
7
  * @param {object} store store object from which the ui state wll be extracted
8
- * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'verticalDimensionSelect'
8
+ * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation'
9
9
  * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
10
10
  */
11
11
  export declare const getDialogDetailsByType: (store: AppStore, dialogType: string) => UIType;
@@ -13,7 +13,7 @@ export declare const getDialogDetailsByType: (store: AppStore, dialogType: strin
13
13
  * For a given ui component: gets wether the dialog is open or closed
14
14
  *
15
15
  * @param {object} store store object from which the ui state wll be extracted
16
- * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'verticalDimensionSelect'
16
+ * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation'
17
17
  * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
18
18
  */
19
19
  export declare const getisDialogOpen: import("reselect").OutputParametricSelector<AppStore, string, boolean, (res: UIType) => boolean>;
@@ -21,7 +21,24 @@ export declare const getisDialogOpen: import("reselect").OutputParametricSelecto
21
21
  *For a given ui component: gets the active map Id
22
22
  *
23
23
  * @param {object} store store object from which the ui state wll be extracted
24
- * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'verticalDimensionSelect'
24
+ * @param {string} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation'
25
25
  * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
26
26
  */
27
27
  export declare const getDialogMapId: import("reselect").OutputParametricSelector<AppStore, string, string, (res: UIType) => string>;
28
+ /**
29
+ *For a given ui component: gets the order of visible dialog
30
+ *
31
+ * @param {object} store store object from which the ui state wll be extracted
32
+ * @param {DialogType} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation' | dimensionSelect-ensemble_member
33
+ * @returns {number} the higher the order number the higher the zIndex
34
+ */
35
+ export declare const getDialogOrder: import("reselect").OutputParametricSelector<AppStore, DialogType, number, (res: number) => number>;
36
+ /**
37
+ *For a given ui component: returns if ordered on top
38
+ *
39
+ * @param {object} store store object from which the ui state wll be extracted
40
+ * @param {DialogType} dialogType type of the dialog 'legend' | 'layerManager' | 'dimensionSelect-elevation' | dimensionSelect-ensemble_member
41
+ * @returns {boolean}
42
+ */
43
+ export declare const getDialogIsOrderedOnTop: import("reselect").OutputParametricSelector<AppStore, DialogType, boolean, (res: boolean) => boolean>;
44
+ export declare const getDialogSource: import("reselect").OutputParametricSelector<AppStore, string, import("./types").Source, (res: UIType) => import("./types").Source>;
@@ -1,12 +1,17 @@
1
1
  import { Action } from 'redux';
2
- import { UI_SET_ACTIVE_MAPID_FOR_DIALOG, UI_REGISTER_DIALOG, UI_TOGGLE_DIALOG, UI_UNREGISTER_DIALOG } from './constants';
3
- export declare type DialogType = 'legend' | 'layerManager' | 'verticalDimensionSelect';
2
+ import { UI_SET_ACTIVE_MAPID_FOR_DIALOG, UI_REGISTER_DIALOG, UI_TOGGLE_DIALOG, UI_UNREGISTER_DIALOG, UI_ORDER_DIALOG } from './constants';
3
+ export declare type DialogType = 'legend' | 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member';
4
+ export declare type Source = 'app' | 'module';
4
5
  export interface UIType {
5
6
  type: DialogType;
6
7
  activeMapId: string;
7
8
  isOpen: boolean;
9
+ source?: Source;
10
+ }
11
+ export interface UIStoreType {
12
+ order: DialogType[];
13
+ dialogs: Partial<Record<DialogType, UIType>>;
8
14
  }
9
- export declare type UIStoreType = Partial<Record<DialogType, UIType>>;
10
15
  export interface UIModuleState {
11
16
  ui?: UIStoreType;
12
17
  }
@@ -14,6 +19,7 @@ export interface SetActiveMapIdForDialogPayload {
14
19
  type: DialogType;
15
20
  activeMapId: string;
16
21
  setOpen?: boolean;
22
+ source?: Source;
17
23
  }
18
24
  export interface SetActiveMapIdForDialog extends Action {
19
25
  type: typeof UI_SET_ACTIVE_MAPID_FOR_DIALOG;
@@ -43,4 +49,11 @@ export interface UIToggleDialog extends Action {
43
49
  type: typeof UI_TOGGLE_DIALOG;
44
50
  payload: UIToggleDialogPayload;
45
51
  }
46
- export declare type UIActions = SetActiveMapIdForDialog | UIRegisterDialog | UIUnRegisterDialog | UIToggleDialog;
52
+ export interface UIOrderDialogPayload {
53
+ type: DialogType;
54
+ }
55
+ export interface UIOrderDialog extends Action {
56
+ type: typeof UI_ORDER_DIALOG;
57
+ payload: UIOrderDialogPayload;
58
+ }
59
+ export declare type UIActions = SetActiveMapIdForDialog | UIRegisterDialog | UIUnRegisterDialog | UIToggleDialog | UIOrderDialog;
@@ -16,6 +16,7 @@ interface UseDefaultMapSettingsProps {
16
16
  baseLayers?: Layer[];
17
17
  bbox?: Bbox;
18
18
  srs?: string;
19
+ shouldAutoUpdate?: boolean;
19
20
  }
20
21
  export declare const useDefaultMapSettings: (props?: UseDefaultMapSettingsProps) => void;
21
22
  export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
2
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export declare const availableDefaultBaseLayers: ({
2
+ id: string;
3
+ name: string;
4
+ type: string;
5
+ layerType: import("../store/mapStore/types").LayerType;
6
+ } | {
7
+ service: string;
8
+ id: string;
9
+ name: string;
10
+ layerType: import("../store/mapStore/types").LayerType;
11
+ })[];
12
+ export declare const preloadedDefaultBaseServices: {
13
+ name: string;
14
+ url: string;
15
+ id: string;
16
+ }[];
17
+ export declare const preloadedDefaultMapServices: {
18
+ name: string;
19
+ url: string;
20
+ id: string;
21
+ }[];
@@ -107,11 +107,6 @@ export declare const defaultReduxServices: {
107
107
  legendURL: string;
108
108
  abstracttext: string;
109
109
  }[];
110
- dimensions: {
111
- name: string;
112
- units: string;
113
- currentValue: string;
114
- }[];
115
110
  };
116
111
  MULTI_DIMENSION_LAYER: {
117
112
  styles: {
@@ -147,17 +142,6 @@ export declare const defaultReduxServices: {
147
142
  legendURL: string;
148
143
  abstracttext: string;
149
144
  }[];
150
- dimensions: ({
151
- name: string;
152
- units: string;
153
- currentValue: string;
154
- values?: undefined;
155
- } | {
156
- name: string;
157
- units: string;
158
- currentValue: string;
159
- values: string;
160
- })[];
161
145
  };
162
146
  LAYER_WITHOUT_TIME: {
163
147
  styles: {
@@ -193,12 +177,6 @@ export declare const defaultReduxServices: {
193
177
  legendURL: string;
194
178
  abstracttext: string;
195
179
  }[];
196
- dimensions: {
197
- name: string;
198
- units: string;
199
- currentValue: string;
200
- values: string;
201
- }[];
202
180
  };
203
181
  };
204
182
  };
@@ -333,17 +311,6 @@ export declare const WmMultiDimensionServices: {
333
311
  legendURL: string;
334
312
  abstracttext: string;
335
313
  }[];
336
- dimensions: ({
337
- name: string;
338
- units: string;
339
- currentValue: string;
340
- values: string;
341
- } | {
342
- name: string;
343
- units: string;
344
- currentValue: string;
345
- values?: undefined;
346
- })[];
347
314
  };
348
315
  };
349
316
  };
@@ -357,20 +324,9 @@ export declare const WmMultiDimensionServices: {
357
324
  layer: {
358
325
  RADNL_OPER_R___25PCPRR_L3_KNMI: {
359
326
  styles: any[];
360
- dimensions: {
361
- name: string;
362
- units: string;
363
- currentValue: string;
364
- }[];
365
327
  };
366
328
  LAYER_WITHOUT_TIME: {
367
329
  styles: any[];
368
- dimensions: {
369
- name: string;
370
- units: string;
371
- currentValue: string;
372
- values: string;
373
- }[];
374
330
  };
375
331
  };
376
332
  };