@opengeoweb/webmap-react 9.17.0 → 9.19.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 CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { legendImageStore, WMImageEventType, webmapUtils, getLegendGraphicURLForLayer, LayerType, getWMJSMapById, debugLogger, DebugType, WMLayer, registerWMLayer, WMBBOX, getWMLayerById, WMJSMap, tilesettings } from '@opengeoweb/webmap';
4
- import { CustomTooltip, CanvasComponent, ToolContainerDraggable, dateUtils, CustomIconButton } from '@opengeoweb/shared';
5
- import 'i18next';
6
- import { useTranslation } from 'react-i18next';
4
+ import { CustomTooltip, CanvasComponent, ToolContainerDraggable, CustomIconButton, dateUtils } from '@opengeoweb/shared';
5
+ import i18n from 'i18next';
6
+ import { initReactI18next, useTranslation } from 'react-i18next';
7
7
  import { Paper, Box, Typography, Grid, TextField, FormControl, InputLabel, Select, MenuItem, Icon as Icon$1, FormLabel, Switch, styled, Slider } from '@mui/material';
8
+ import { Home, Add, Minus, List, Delete, Edit, DrawRegion, DrawPolygon, Location, DrawFIRLand, ArrowUp, Equalizer, DimensionsElevation, Link, LinkOff, Info, DimensionsOther, DimensionsRefTime, DimensionsTime } from '@opengeoweb/theme';
8
9
  import _, { cloneDeep } from 'lodash';
9
10
  import proj4 from 'proj4';
10
11
  import * as turf from '@turf/turf';
11
12
  import { polygonToLineString, booleanClockwise, rewind } from '@turf/turf';
12
- import { Delete, Edit, DrawRegion, DrawPolygon, Location, DrawFIRLand, ArrowUp, Home, Add, Minus, Equalizer, DimensionsElevation, Link, LinkOff, Info, DimensionsOther, DimensionsRefTime, DimensionsTime } from '@opengeoweb/theme';
13
13
  import { produce } from 'immer';
14
14
  import { debounce } from 'throttle-debounce';
15
15
  import { useResizeDetector } from 'react-resize-detector';
@@ -41,7 +41,25 @@ var en = {
41
41
  "webmap-react-show": "Show",
42
42
  "webmap-react-click-disconnect": "Click to disconnect layer",
43
43
  "webmap-react-click-connect": "Click to connect layer",
44
- "webmap-react-layer-info": "Layer Info"
44
+ "webmap-react-layer-info": "Layer Info",
45
+ "webmap-react-vertical-level": "Vertical level",
46
+ "webmap-react-hpa": "hPa",
47
+ "webmap-react-ensemble-member": "Ensemble member",
48
+ "webmap-react-member": "member",
49
+ "webmap-react-probability": "Probability",
50
+ "webmap-react-percent": "%",
51
+ "webmap-react-level": "Level",
52
+ "webmap-react-west": "west",
53
+ "webmap-react-east": "east",
54
+ "webmap-react-north": "north",
55
+ "webmap-react-south": "south",
56
+ "webmap-react-new-linestring-created": "new point in LineString created",
57
+ "webmap-react-new-feature": "new feature created",
58
+ "webmap-react-new-point": "new point created",
59
+ "webmap-react-point": "Point",
60
+ "webmap-react-polygon": "Polygon",
61
+ "webmap-react-box": "Box",
62
+ "webmap-react-linestring": "LineString"
45
63
  };
46
64
  var fi = {
47
65
  "webmap-react-event": "ei käännetty",
@@ -67,7 +85,25 @@ var fi = {
67
85
  "webmap-react-show": "ei käännetty",
68
86
  "webmap-react-click-disconnect": "ei käännetty",
69
87
  "webmap-react-click-connect": "ei käännetty",
70
- "webmap-react-layer-info": "ei käännetty"
88
+ "webmap-react-layer-info": "ei käännetty",
89
+ "webmap-react-vertical-level": "ei käännetty",
90
+ "webmap-react-hpa": "ei käännetty",
91
+ "webmap-react-ensemble-member": "ei käännetty",
92
+ "webmap-react-member": "ei käännetty",
93
+ "webmap-react-probability": "ei käännetty",
94
+ "webmap-react-percent": "ei käännetty",
95
+ "webmap-react-level": "ei käännetty",
96
+ "webmap-react-west": "ei käännetty",
97
+ "webmap-react-east": "ei käännetty",
98
+ "webmap-react-north": "ei käännetty",
99
+ "webmap-react-south": "ei käännetty",
100
+ "webmap-react-new-linestring-created": "ei käännetty",
101
+ "webmap-react-new-feature": "ei käännetty",
102
+ "webmap-react-new-point": "ei käännetty",
103
+ "webmap-react-point": "ei käännetty",
104
+ "webmap-react-polygon": "ei käännetty",
105
+ "webmap-react-box": "ei käännetty",
106
+ "webmap-react-linestring": "ei käännetty"
71
107
  };
72
108
  var no = {
73
109
  "webmap-react-event": "hendelse:",
@@ -93,7 +129,25 @@ var no = {
93
129
  "webmap-react-show": "Vis",
94
130
  "webmap-react-click-disconnect": "Trykk for å avkoble lag",
95
131
  "webmap-react-click-connect": "Trykk for å koble lag",
96
- "webmap-react-layer-info": "Laginformasjon"
132
+ "webmap-react-layer-info": "Laginformasjon",
133
+ "webmap-react-vertical-level": "Vertikalnivå",
134
+ "webmap-react-hpa": "hPa",
135
+ "webmap-react-ensemble-member": "Ensemblemedlem",
136
+ "webmap-react-member": "medlem",
137
+ "webmap-react-probability": "Sannsynlighet",
138
+ "webmap-react-percent": "%",
139
+ "webmap-react-level": "Nivå",
140
+ "webmap-react-west": "vest",
141
+ "webmap-react-east": "øst",
142
+ "webmap-react-north": "nord",
143
+ "webmap-react-south": "sør",
144
+ "webmap-react-new-linestring-created": "nytt punkt i LineString er laget",
145
+ "webmap-react-new-feature": "nytt trekk er laget",
146
+ "webmap-react-new-point": "nytt punkt er laget",
147
+ "webmap-react-point": "Punkt",
148
+ "webmap-react-polygon": "Polygon",
149
+ "webmap-react-box": "Boks",
150
+ "webmap-react-linestring": "Linje"
97
151
  };
98
152
  var nl = {
99
153
  "webmap-react-event": "event:",
@@ -119,7 +173,25 @@ var nl = {
119
173
  "webmap-react-show": "Open",
120
174
  "webmap-react-click-disconnect": "Klik om laag los te koppelen",
121
175
  "webmap-react-click-connect": "Klik om laag te koppelen",
122
- "webmap-react-layer-info": "Laag Informatie"
176
+ "webmap-react-layer-info": "Laag Informatie",
177
+ "webmap-react-vertical-level": "niet vertaald",
178
+ "webmap-react-hpa": "niet vertaald",
179
+ "webmap-react-ensemble-member": "niet vertaald",
180
+ "webmap-react-member": "niet vertaald",
181
+ "webmap-react-probability": "niet vertaald",
182
+ "webmap-react-percent": "niet vertaald",
183
+ "webmap-react-level": "niet vertaald",
184
+ "webmap-react-west": "niet vertaald",
185
+ "webmap-react-east": "niet vertaald",
186
+ "webmap-react-north": "niet vertaald",
187
+ "webmap-react-south": "niet vertaald",
188
+ "webmap-react-new-linestring-created": "niet vertaald",
189
+ "webmap-react-new-feature": "niet vertaald",
190
+ "webmap-react-new-point": "niet vertaald",
191
+ "webmap-react-point": "niet vertaald",
192
+ "webmap-react-polygon": "niet vertaald",
193
+ "webmap-react-box": "niet vertaald",
194
+ "webmap-react-linestring": "niet vertaald"
123
195
  };
124
196
  var webmapReactTranslations = {
125
197
  en: en,
@@ -247,10 +319,10 @@ var SHARED = '__core-js_shared__';
247
319
  var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
248
320
 
249
321
  (store$3.versions || (store$3.versions = [])).push({
250
- version: '3.36.1',
322
+ version: '3.37.1',
251
323
  mode: 'global',
252
324
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
253
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
325
+ license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
254
326
  source: 'https://github.com/zloirock/core-js'
255
327
  });
256
328
 
@@ -1675,25 +1747,6 @@ for (var COLLECTION_NAME in DOMIterables) {
1675
1747
 
1676
1748
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1677
1749
 
1678
- /* *
1679
- * Licensed under the Apache License, Version 2.0 (the "License");
1680
- * you may not use this file except in compliance with the License.
1681
- * You may obtain a copy of the License at
1682
- *
1683
- * http://www.apache.org/licenses/LICENSE-2.0
1684
- *
1685
- * Unless required by applicable law or agreed to in writing, software
1686
- * distributed under the License is distributed on an "AS IS" BASIS,
1687
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1688
- * See the License for the specific language governing permissions and
1689
- * limitations under the License.
1690
- *
1691
- * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1692
- * Copyright 2023 - Finnish Meteorological Institute (FMI)
1693
- * */
1694
- const WEBMAP_REACT_NAMESPACE = 'webmapreact';
1695
- const useWebmapReactTranslation = () => useTranslation(WEBMAP_REACT_NAMESPACE);
1696
-
1697
1750
  var DESCRIPTORS$4 = descriptors;
1698
1751
  var uncurryThis$f = functionUncurryThis;
1699
1752
  var call$d = functionCall;
@@ -1761,6 +1814,33 @@ $$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1761
1814
  assign: assign
1762
1815
  });
1763
1816
 
1817
+ const WEBMAP_REACT_NAMESPACE = 'webmapreact';
1818
+ i18n.use(initReactI18next).init({
1819
+ lng: 'en',
1820
+ ns: WEBMAP_REACT_NAMESPACE,
1821
+ interpolation: {
1822
+ escapeValue: false
1823
+ },
1824
+ resources: {
1825
+ en: {
1826
+ [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.en
1827
+ },
1828
+ fi: {
1829
+ [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.fi
1830
+ },
1831
+ no: {
1832
+ [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.no
1833
+ },
1834
+ nl: {
1835
+ [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.nl
1836
+ }
1837
+ }
1838
+ });
1839
+ const translateKeyOutsideComponents = (key, params = undefined) => i18n.t(key, Object.assign({
1840
+ ns: WEBMAP_REACT_NAMESPACE
1841
+ }, params));
1842
+ const useWebmapReactTranslation = () => useTranslation(WEBMAP_REACT_NAMESPACE);
1843
+
1764
1844
  const LegendLayout = ({
1765
1845
  title,
1766
1846
  name,
@@ -1983,7 +2063,7 @@ const LegendDialog = ({
1983
2063
  },
1984
2064
  minWidth: 100,
1985
2065
  onClose: onClose,
1986
- title: _showMapId ? `Legend ${mapId}` : 'Legend',
2066
+ title: _showMapId ? `${t('webmap-react-legend')} ${mapId}` : t('webmap-react-legend'),
1987
2067
  initialMaxHeight: 440,
1988
2068
  isOpen: isOpen,
1989
2069
  "data-testid": "moveable-legend",
@@ -2017,6 +2097,166 @@ const LegendDialog = ({
2017
2097
  }, t('webmap-react-no-layers')))));
2018
2098
  };
2019
2099
 
2100
+ /******************************************************************************
2101
+ Copyright (c) Microsoft Corporation.
2102
+
2103
+ Permission to use, copy, modify, and/or distribute this software for any
2104
+ purpose with or without fee is hereby granted.
2105
+
2106
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2107
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2108
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2109
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2110
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2111
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2112
+ PERFORMANCE OF THIS SOFTWARE.
2113
+ ***************************************************************************** */
2114
+
2115
+ function __rest(s, e) {
2116
+ var t = {};
2117
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2118
+ t[p] = s[p];
2119
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
2120
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2121
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2122
+ t[p[i]] = s[p[i]];
2123
+ }
2124
+ return t;
2125
+ }
2126
+
2127
+ function __awaiter(thisArg, _arguments, P, generator) {
2128
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2129
+ return new (P || (P = Promise))(function (resolve, reject) {
2130
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2131
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2132
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2133
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
2134
+ });
2135
+ }
2136
+
2137
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2138
+ var e = new Error(message);
2139
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
2140
+ };
2141
+
2142
+ const MapControlButton = _a => {
2143
+ var {
2144
+ onClick,
2145
+ children,
2146
+ title,
2147
+ placement = 'right',
2148
+ isActive = false
2149
+ } = _a,
2150
+ props = __rest(_a, ["onClick", "children", "title", "placement", "isActive"]);
2151
+ return /*#__PURE__*/React.createElement(CustomIconButton, Object.assign({
2152
+ variant: "tool",
2153
+ tooltipProps: {
2154
+ placement,
2155
+ title
2156
+ },
2157
+ onClick: onClick,
2158
+ isSelected: isActive
2159
+ }, props), children);
2160
+ };
2161
+
2162
+ /* *
2163
+ * Licensed under the Apache License, Version 2.0 (the "License");
2164
+ * you may not use this file except in compliance with the License.
2165
+ * You may obtain a copy of the License at
2166
+ *
2167
+ * http://www.apache.org/licenses/LICENSE-2.0
2168
+ *
2169
+ * Unless required by applicable law or agreed to in writing, software
2170
+ * distributed under the License is distributed on an "AS IS" BASIS,
2171
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2172
+ * See the License for the specific language governing permissions and
2173
+ * limitations under the License.
2174
+ *
2175
+ * Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2176
+ * Copyright 2020 - Finnish Meteorological Institute (FMI)
2177
+ * */
2178
+ const ZoomControls = ({
2179
+ onZoomIn,
2180
+ onZoomOut,
2181
+ onZoomReset
2182
+ }) => {
2183
+ const {
2184
+ t
2185
+ } = useWebmapReactTranslation();
2186
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MapControlButton, {
2187
+ title: t('webmap-react-zoom-reset'),
2188
+ "data-testid": "zoom-reset",
2189
+ onClick: onZoomReset
2190
+ }, /*#__PURE__*/React.createElement(Home, null)), /*#__PURE__*/React.createElement(MapControlButton, {
2191
+ title: t('webmap-react-zoom-in'),
2192
+ "data-testid": "zoom-in",
2193
+ onClick: onZoomIn
2194
+ }, /*#__PURE__*/React.createElement(Add, null)), /*#__PURE__*/React.createElement(MapControlButton, {
2195
+ title: t('webmap-react-zoom-out'),
2196
+ "data-testid": "zoom-out",
2197
+ onClick: onZoomOut
2198
+ }, /*#__PURE__*/React.createElement(Minus, null)));
2199
+ };
2200
+
2201
+ const MapControls = _a => {
2202
+ var {
2203
+ children
2204
+ } = _a,
2205
+ props = __rest(_a, ["children"]);
2206
+ return /*#__PURE__*/React.createElement(Box, Object.assign({
2207
+ sx: {
2208
+ position: 'absolute',
2209
+ overflow: 'visible',
2210
+ display: 'block',
2211
+ left: 0,
2212
+ margin: 1,
2213
+ zIndex: 50,
2214
+ top: '96px',
2215
+ userSelect: 'none'
2216
+ }
2217
+ }, props), /*#__PURE__*/React.createElement(Grid, {
2218
+ sx: {
2219
+ '& > button': {
2220
+ marginBottom: 1
2221
+ }
2222
+ },
2223
+ container: true,
2224
+ direction: "column"
2225
+ }, children));
2226
+ };
2227
+
2228
+ /* *
2229
+ * Licensed under the Apache License, Version 2.0 (the "License");
2230
+ * you may not use this file except in compliance with the License.
2231
+ * You may obtain a copy of the License at
2232
+ *
2233
+ * http://www.apache.org/licenses/LICENSE-2.0
2234
+ *
2235
+ * Unless required by applicable law or agreed to in writing, software
2236
+ * distributed under the License is distributed on an "AS IS" BASIS,
2237
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2238
+ * See the License for the specific language governing permissions and
2239
+ * limitations under the License.
2240
+ *
2241
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2242
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
2243
+ * */
2244
+ const LegendButton = ({
2245
+ openLegendDialog,
2246
+ isOpen
2247
+ }) => {
2248
+ const {
2249
+ t
2250
+ } = useWebmapReactTranslation();
2251
+ const onClickButton = () => openLegendDialog();
2252
+ return /*#__PURE__*/React.createElement(MapControlButton, {
2253
+ title: t('webmap-react-legend'),
2254
+ "data-testid": "open-Legend",
2255
+ onClick: onClickButton,
2256
+ isActive: isOpen
2257
+ }, /*#__PURE__*/React.createElement(List, null));
2258
+ };
2259
+
2020
2260
  var wellKnownSymbol$a = wellKnownSymbol$h;
2021
2261
 
2022
2262
  var TO_STRING_TAG$1 = wellKnownSymbol$a('toStringTag');
@@ -2625,9 +2865,9 @@ const registerDrawFunction = (drawFunction = () => {}) => {
2625
2865
  drawFunctionStore.push(newFunction);
2626
2866
  return id;
2627
2867
  };
2628
- const NEW_LINESTRING_CREATED = 'new point in LineString created';
2629
- const NEW_FEATURE_CREATED = 'new feature created';
2630
- const NEW_POINT_CREATED = 'new point created';
2868
+ const NEW_LINESTRING_CREATED = translateKeyOutsideComponents('webmap-react-new-linestring-created');
2869
+ const NEW_FEATURE_CREATED = translateKeyOutsideComponents('webmap-react-new-feature');
2870
+ const NEW_POINT_CREATED = translateKeyOutsideComponents('webmap-react-new-point');
2631
2871
 
2632
2872
  /* *
2633
2873
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -6469,6 +6709,1178 @@ const endToolExampleConfig = {
6469
6709
  }
6470
6710
  };
6471
6711
 
6712
+ var WMS_Capabilities = {
6713
+ attr: {
6714
+ xmlns: "http://www.opengis.net/wms",
6715
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
6716
+ "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
6717
+ version: "1.3.0",
6718
+ updateSequence: "0",
6719
+ "xsi:schemaLocation": "http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd"
6720
+ },
6721
+ Service: {
6722
+ attr: {
6723
+ },
6724
+ Name: {
6725
+ attr: {
6726
+ },
6727
+ value: "WMS"
6728
+ },
6729
+ Title: {
6730
+ attr: {
6731
+ },
6732
+ value: "RADAR"
6733
+ },
6734
+ Abstract: {
6735
+ attr: {
6736
+ },
6737
+ value: "This service demonstrates how the ADAGUC server can be used to create OGC services."
6738
+ },
6739
+ KeywordList: {
6740
+ attr: {
6741
+ },
6742
+ Keyword: [
6743
+ {
6744
+ attr: {
6745
+ },
6746
+ value: "view"
6747
+ },
6748
+ {
6749
+ attr: {
6750
+ },
6751
+ value: "infoMapAccessService"
6752
+ },
6753
+ {
6754
+ attr: {
6755
+ },
6756
+ value: "ADAGUCServer version 2.5.15, of Oct 14 2021 16:05:05"
6757
+ }
6758
+ ]
6759
+ },
6760
+ OnlineResource: {
6761
+ attr: {
6762
+ "xlink:type": "simple",
6763
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&"
6764
+ }
6765
+ },
6766
+ ContactInformation: {
6767
+ attr: {
6768
+ }
6769
+ },
6770
+ Fees: {
6771
+ attr: {
6772
+ },
6773
+ value: "no conditions apply"
6774
+ },
6775
+ AccessConstraints: {
6776
+ attr: {
6777
+ },
6778
+ value: "None"
6779
+ },
6780
+ MaxWidth: {
6781
+ attr: {
6782
+ },
6783
+ value: "8192"
6784
+ },
6785
+ MaxHeight: {
6786
+ attr: {
6787
+ },
6788
+ value: "8192"
6789
+ }
6790
+ },
6791
+ Capability: {
6792
+ attr: {
6793
+ },
6794
+ Request: {
6795
+ attr: {
6796
+ },
6797
+ GetCapabilities: {
6798
+ attr: {
6799
+ },
6800
+ Format: {
6801
+ attr: {
6802
+ },
6803
+ value: "text/xml"
6804
+ },
6805
+ DCPType: {
6806
+ attr: {
6807
+ },
6808
+ HTTP: {
6809
+ attr: {
6810
+ },
6811
+ Get: {
6812
+ attr: {
6813
+ },
6814
+ OnlineResource: {
6815
+ attr: {
6816
+ "xlink:type": "simple",
6817
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&"
6818
+ }
6819
+ }
6820
+ }
6821
+ }
6822
+ }
6823
+ },
6824
+ GetMap: {
6825
+ attr: {
6826
+ },
6827
+ Format: [
6828
+ {
6829
+ attr: {
6830
+ },
6831
+ value: "image/png"
6832
+ },
6833
+ {
6834
+ attr: {
6835
+ },
6836
+ value: "image/png;mode=8bit"
6837
+ },
6838
+ {
6839
+ attr: {
6840
+ },
6841
+ value: "image/png;mode=8bit_noalpha"
6842
+ },
6843
+ {
6844
+ attr: {
6845
+ },
6846
+ value: "image/png;mode=24bit"
6847
+ },
6848
+ {
6849
+ attr: {
6850
+ },
6851
+ value: "image/png;mode=32bit"
6852
+ },
6853
+ {
6854
+ attr: {
6855
+ },
6856
+ value: "image/gif"
6857
+ },
6858
+ {
6859
+ attr: {
6860
+ },
6861
+ value: "image/jpeg"
6862
+ }
6863
+ ],
6864
+ DCPType: {
6865
+ attr: {
6866
+ },
6867
+ HTTP: {
6868
+ attr: {
6869
+ },
6870
+ Get: {
6871
+ attr: {
6872
+ },
6873
+ OnlineResource: {
6874
+ attr: {
6875
+ "xlink:type": "simple",
6876
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&"
6877
+ }
6878
+ }
6879
+ }
6880
+ }
6881
+ }
6882
+ },
6883
+ GetFeatureInfo: {
6884
+ attr: {
6885
+ },
6886
+ Format: [
6887
+ {
6888
+ attr: {
6889
+ },
6890
+ value: "image/png"
6891
+ },
6892
+ {
6893
+ attr: {
6894
+ },
6895
+ value: "text/plain"
6896
+ },
6897
+ {
6898
+ attr: {
6899
+ },
6900
+ value: "text/html"
6901
+ },
6902
+ {
6903
+ attr: {
6904
+ },
6905
+ value: "text/xml"
6906
+ },
6907
+ {
6908
+ attr: {
6909
+ },
6910
+ value: "application/json"
6911
+ }
6912
+ ],
6913
+ DCPType: {
6914
+ attr: {
6915
+ },
6916
+ HTTP: {
6917
+ attr: {
6918
+ },
6919
+ Get: {
6920
+ attr: {
6921
+ },
6922
+ OnlineResource: {
6923
+ attr: {
6924
+ "xlink:type": "simple",
6925
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&"
6926
+ }
6927
+ }
6928
+ }
6929
+ }
6930
+ }
6931
+ }
6932
+ },
6933
+ Exception: {
6934
+ attr: {
6935
+ },
6936
+ Format: [
6937
+ {
6938
+ attr: {
6939
+ },
6940
+ value: "XML"
6941
+ },
6942
+ {
6943
+ attr: {
6944
+ },
6945
+ value: "INIMAGE"
6946
+ },
6947
+ {
6948
+ attr: {
6949
+ },
6950
+ value: "BLANK"
6951
+ }
6952
+ ]
6953
+ },
6954
+ UserDefinedSymbolization: {
6955
+ attr: {
6956
+ SupportSLD: "1"
6957
+ }
6958
+ },
6959
+ Layer: {
6960
+ attr: {
6961
+ },
6962
+ Title: {
6963
+ attr: {
6964
+ },
6965
+ value: "WMS of RADAR"
6966
+ },
6967
+ CRS: [
6968
+ {
6969
+ attr: {
6970
+ },
6971
+ value: "EPSG:3411"
6972
+ },
6973
+ {
6974
+ attr: {
6975
+ },
6976
+ value: "EPSG:3412"
6977
+ },
6978
+ {
6979
+ attr: {
6980
+ },
6981
+ value: "EPSG:3575"
6982
+ },
6983
+ {
6984
+ attr: {
6985
+ },
6986
+ value: "EPSG:3857"
6987
+ },
6988
+ {
6989
+ attr: {
6990
+ },
6991
+ value: "EPSG:4258"
6992
+ },
6993
+ {
6994
+ attr: {
6995
+ },
6996
+ value: "EPSG:4326"
6997
+ },
6998
+ {
6999
+ attr: {
7000
+ },
7001
+ value: "CRS:84"
7002
+ },
7003
+ {
7004
+ attr: {
7005
+ },
7006
+ value: "EPSG:25831"
7007
+ },
7008
+ {
7009
+ attr: {
7010
+ },
7011
+ value: "EPSG:25832"
7012
+ },
7013
+ {
7014
+ attr: {
7015
+ },
7016
+ value: "EPSG:28992"
7017
+ },
7018
+ {
7019
+ attr: {
7020
+ },
7021
+ value: "EPSG:7399"
7022
+ },
7023
+ {
7024
+ attr: {
7025
+ },
7026
+ value: "EPSG:50001"
7027
+ },
7028
+ {
7029
+ attr: {
7030
+ },
7031
+ value: "EPSG:54030"
7032
+ },
7033
+ {
7034
+ attr: {
7035
+ },
7036
+ value: "EPSG:32661"
7037
+ },
7038
+ {
7039
+ attr: {
7040
+ },
7041
+ value: "EPSG:40000"
7042
+ },
7043
+ {
7044
+ attr: {
7045
+ },
7046
+ value: "EPSG:900913"
7047
+ },
7048
+ {
7049
+ attr: {
7050
+ },
7051
+ value: "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"
7052
+ }
7053
+ ],
7054
+ BoundingBox: [
7055
+ {
7056
+ attr: {
7057
+ CRS: "EPSG:3411",
7058
+ minx: "2682754.743620",
7059
+ miny: "-3245034.014141",
7060
+ maxx: "3759536.917562",
7061
+ maxy: "-2168251.989038"
7062
+ }
7063
+ },
7064
+ {
7065
+ attr: {
7066
+ CRS: "EPSG:3412",
7067
+ minx: "0.000000",
7068
+ miny: "32318824.826266",
7069
+ maxx: "7413041.166015",
7070
+ maxy: "40075258.815074"
7071
+ }
7072
+ },
7073
+ {
7074
+ attr: {
7075
+ CRS: "EPSG:3575",
7076
+ minx: "-770622.801471",
7077
+ miny: "-4485814.811314",
7078
+ maxx: "56845.766135",
7079
+ maxy: "-3684039.443620"
7080
+ }
7081
+ },
7082
+ {
7083
+ attr: {
7084
+ CRS: "EPSG:3857",
7085
+ minx: "0.000000",
7086
+ miny: "6257115.219364",
7087
+ maxx: "1208534.698398",
7088
+ maxy: "7553161.958695"
7089
+ }
7090
+ },
7091
+ {
7092
+ attr: {
7093
+ CRS: "EPSG:4258",
7094
+ minx: "48.895303",
7095
+ miny: "0.000000",
7096
+ maxx: "55.973600",
7097
+ maxy: "10.856452"
7098
+ }
7099
+ },
7100
+ {
7101
+ attr: {
7102
+ CRS: "EPSG:4326",
7103
+ minx: "48.895303",
7104
+ miny: "0.000000",
7105
+ maxx: "55.973600",
7106
+ maxy: "10.856452"
7107
+ }
7108
+ },
7109
+ {
7110
+ attr: {
7111
+ CRS: "CRS:84",
7112
+ minx: "48.895303",
7113
+ miny: "0.000000",
7114
+ maxx: "55.973600",
7115
+ maxy: "10.856452"
7116
+ }
7117
+ },
7118
+ {
7119
+ attr: {
7120
+ CRS: "EPSG:25831",
7121
+ minx: "282182.345905",
7122
+ miny: "5433247.394267",
7123
+ maxx: "997135.658653",
7124
+ maxy: "6207204.592736"
7125
+ }
7126
+ },
7127
+ {
7128
+ attr: {
7129
+ CRS: "EPSG:25832",
7130
+ minx: "-153083.019482",
7131
+ miny: "5415817.312927",
7132
+ maxx: "617595.626092",
7133
+ maxy: "6239769.309937"
7134
+ }
7135
+ },
7136
+ {
7137
+ attr: {
7138
+ CRS: "EPSG:28992",
7139
+ minx: "-236275.338083",
7140
+ miny: "106727.731651",
7141
+ maxx: "501527.918656",
7142
+ maxy: "900797.079725"
7143
+ }
7144
+ },
7145
+ {
7146
+ attr: {
7147
+ CRS: "EPSG:7399",
7148
+ minx: "0.000000",
7149
+ miny: "5757301.056717",
7150
+ maxx: "763611.971696",
7151
+ maxy: "6483919.801602"
7152
+ }
7153
+ },
7154
+ {
7155
+ attr: {
7156
+ CRS: "EPSG:50001",
7157
+ minx: "-2000000.000000",
7158
+ miny: "-2000000.000000",
7159
+ maxx: "10000000.000000",
7160
+ maxy: "8500000.000000"
7161
+ }
7162
+ },
7163
+ {
7164
+ attr: {
7165
+ CRS: "EPSG:54030",
7166
+ minx: "0.000000",
7167
+ miny: "5211855.054125",
7168
+ maxx: "853649.695106",
7169
+ maxy: "5936394.291427"
7170
+ }
7171
+ },
7172
+ {
7173
+ attr: {
7174
+ CRS: "EPSG:32661",
7175
+ minx: "2000000.000000",
7176
+ miny: "-2703305.597319",
7177
+ maxx: "2745713.040381",
7178
+ maxy: "-1888346.216710"
7179
+ }
7180
+ },
7181
+ {
7182
+ attr: {
7183
+ CRS: "EPSG:40000",
7184
+ minx: "0.000000",
7185
+ miny: "-4731695.771951",
7186
+ maxx: "750214.326339",
7187
+ maxy: "-3911817.119426"
7188
+ }
7189
+ },
7190
+ {
7191
+ attr: {
7192
+ CRS: "EPSG:900913",
7193
+ minx: "0.000000",
7194
+ miny: "6257115.219364",
7195
+ maxx: "1208534.698398",
7196
+ maxy: "7553161.958695"
7197
+ }
7198
+ },
7199
+ {
7200
+ attr: {
7201
+ CRS: "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",
7202
+ minx: "0.000000",
7203
+ miny: "-3649.999338",
7204
+ maxx: "700.002420",
7205
+ maxy: "-4415.002986"
7206
+ }
7207
+ }
7208
+ ],
7209
+ Layer: [
7210
+ {
7211
+ attr: {
7212
+ queryable: "1",
7213
+ opaque: "1",
7214
+ cascaded: "0"
7215
+ },
7216
+ Name: {
7217
+ attr: {
7218
+ },
7219
+ value: "RAD_NL25_PCP_CM"
7220
+ },
7221
+ Title: {
7222
+ attr: {
7223
+ },
7224
+ value: "Precipitation Radar NL"
7225
+ },
7226
+ EX_GeographicBoundingBox: {
7227
+ attr: {
7228
+ },
7229
+ westBoundLongitude: {
7230
+ attr: {
7231
+ },
7232
+ value: "0.000000"
7233
+ },
7234
+ eastBoundLongitude: {
7235
+ attr: {
7236
+ },
7237
+ value: "10.856452"
7238
+ },
7239
+ southBoundLatitude: {
7240
+ attr: {
7241
+ },
7242
+ value: "48.895303"
7243
+ },
7244
+ northBoundLatitude: {
7245
+ attr: {
7246
+ },
7247
+ value: "55.973600"
7248
+ }
7249
+ },
7250
+ BoundingBox: [
7251
+ {
7252
+ attr: {
7253
+ CRS: "EPSG:3411",
7254
+ minx: "2682754.743620",
7255
+ miny: "-3245034.014141",
7256
+ maxx: "3759536.917562",
7257
+ maxy: "-2168251.989038"
7258
+ }
7259
+ },
7260
+ {
7261
+ attr: {
7262
+ CRS: "EPSG:3412",
7263
+ minx: "0.000000",
7264
+ miny: "32318824.826266",
7265
+ maxx: "7413041.166015",
7266
+ maxy: "40075258.815074"
7267
+ }
7268
+ },
7269
+ {
7270
+ attr: {
7271
+ CRS: "EPSG:3575",
7272
+ minx: "-770622.801471",
7273
+ miny: "-4485814.811314",
7274
+ maxx: "56845.766135",
7275
+ maxy: "-3684039.443620"
7276
+ }
7277
+ },
7278
+ {
7279
+ attr: {
7280
+ CRS: "EPSG:3857",
7281
+ minx: "0.000000",
7282
+ miny: "6257115.219364",
7283
+ maxx: "1208534.698398",
7284
+ maxy: "7553161.958695"
7285
+ }
7286
+ },
7287
+ {
7288
+ attr: {
7289
+ CRS: "EPSG:4258",
7290
+ minx: "48.895303",
7291
+ miny: "0.000000",
7292
+ maxx: "55.973600",
7293
+ maxy: "10.856452"
7294
+ }
7295
+ },
7296
+ {
7297
+ attr: {
7298
+ CRS: "EPSG:4326",
7299
+ minx: "48.895303",
7300
+ miny: "0.000000",
7301
+ maxx: "55.973600",
7302
+ maxy: "10.856452"
7303
+ }
7304
+ },
7305
+ {
7306
+ attr: {
7307
+ CRS: "CRS:84",
7308
+ minx: "48.895303",
7309
+ miny: "0.000000",
7310
+ maxx: "55.973600",
7311
+ maxy: "10.856452"
7312
+ }
7313
+ },
7314
+ {
7315
+ attr: {
7316
+ CRS: "EPSG:25831",
7317
+ minx: "282182.345905",
7318
+ miny: "5433247.394267",
7319
+ maxx: "997135.658653",
7320
+ maxy: "6207204.592736"
7321
+ }
7322
+ },
7323
+ {
7324
+ attr: {
7325
+ CRS: "EPSG:25832",
7326
+ minx: "-153083.019482",
7327
+ miny: "5415817.312927",
7328
+ maxx: "617595.626092",
7329
+ maxy: "6239769.309937"
7330
+ }
7331
+ },
7332
+ {
7333
+ attr: {
7334
+ CRS: "EPSG:28992",
7335
+ minx: "-236275.338083",
7336
+ miny: "106727.731651",
7337
+ maxx: "501527.918656",
7338
+ maxy: "900797.079725"
7339
+ }
7340
+ },
7341
+ {
7342
+ attr: {
7343
+ CRS: "EPSG:7399",
7344
+ minx: "0.000000",
7345
+ miny: "5757301.056717",
7346
+ maxx: "763611.971696",
7347
+ maxy: "6483919.801602"
7348
+ }
7349
+ },
7350
+ {
7351
+ attr: {
7352
+ CRS: "EPSG:50001",
7353
+ minx: "-2000000.000000",
7354
+ miny: "-2000000.000000",
7355
+ maxx: "10000000.000000",
7356
+ maxy: "8500000.000000"
7357
+ }
7358
+ },
7359
+ {
7360
+ attr: {
7361
+ CRS: "EPSG:54030",
7362
+ minx: "0.000000",
7363
+ miny: "5211855.054125",
7364
+ maxx: "853649.695106",
7365
+ maxy: "5936394.291427"
7366
+ }
7367
+ },
7368
+ {
7369
+ attr: {
7370
+ CRS: "EPSG:32661",
7371
+ minx: "2000000.000000",
7372
+ miny: "-2703305.597319",
7373
+ maxx: "2745713.040381",
7374
+ maxy: "-1888346.216710"
7375
+ }
7376
+ },
7377
+ {
7378
+ attr: {
7379
+ CRS: "EPSG:40000",
7380
+ minx: "0.000000",
7381
+ miny: "-4731695.771951",
7382
+ maxx: "750214.326339",
7383
+ maxy: "-3911817.119426"
7384
+ }
7385
+ },
7386
+ {
7387
+ attr: {
7388
+ CRS: "EPSG:900913",
7389
+ minx: "0.000000",
7390
+ miny: "6257115.219364",
7391
+ maxx: "1208534.698398",
7392
+ maxy: "7553161.958695"
7393
+ }
7394
+ },
7395
+ {
7396
+ attr: {
7397
+ CRS: "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",
7398
+ minx: "0.000000",
7399
+ miny: "-3649.999338",
7400
+ maxx: "700.002420",
7401
+ maxy: "-4415.002986"
7402
+ }
7403
+ }
7404
+ ],
7405
+ Dimension: {
7406
+ attr: {
7407
+ name: "time",
7408
+ units: "ISO8601",
7409
+ "default": "2021-11-15T09:55:00Z",
7410
+ multipleValues: "1",
7411
+ nearestValue: "0",
7412
+ current: "1"
7413
+ },
7414
+ value: "2021-03-31T09:25:00Z/2021-11-15T09:55:00Z/PT5M"
7415
+ },
7416
+ Style: [
7417
+ {
7418
+ attr: {
7419
+ },
7420
+ Name: {
7421
+ attr: {
7422
+ },
7423
+ value: "radar/nearest"
7424
+ },
7425
+ Title: {
7426
+ attr: {
7427
+ },
7428
+ value: "radar/nearest"
7429
+ },
7430
+ LegendURL: {
7431
+ attr: {
7432
+ width: "300",
7433
+ height: "400"
7434
+ },
7435
+ Format: {
7436
+ attr: {
7437
+ },
7438
+ value: "image/png"
7439
+ },
7440
+ OnlineResource: {
7441
+ attr: {
7442
+ "xlink:type": "simple",
7443
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=radar/nearest"
7444
+ }
7445
+ }
7446
+ }
7447
+ },
7448
+ {
7449
+ attr: {
7450
+ },
7451
+ Name: {
7452
+ attr: {
7453
+ },
7454
+ value: "precip-rainbow/nearest"
7455
+ },
7456
+ Title: {
7457
+ attr: {
7458
+ },
7459
+ value: "precip-rainbow/nearest"
7460
+ },
7461
+ LegendURL: {
7462
+ attr: {
7463
+ width: "300",
7464
+ height: "400"
7465
+ },
7466
+ Format: {
7467
+ attr: {
7468
+ },
7469
+ value: "image/png"
7470
+ },
7471
+ OnlineResource: {
7472
+ attr: {
7473
+ "xlink:type": "simple",
7474
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest"
7475
+ }
7476
+ }
7477
+ }
7478
+ },
7479
+ {
7480
+ attr: {
7481
+ },
7482
+ Name: {
7483
+ attr: {
7484
+ },
7485
+ value: "precip-gray/nearest"
7486
+ },
7487
+ Title: {
7488
+ attr: {
7489
+ },
7490
+ value: "precip-gray/nearest"
7491
+ },
7492
+ LegendURL: {
7493
+ attr: {
7494
+ width: "300",
7495
+ height: "400"
7496
+ },
7497
+ Format: {
7498
+ attr: {
7499
+ },
7500
+ value: "image/png"
7501
+ },
7502
+ OnlineResource: {
7503
+ attr: {
7504
+ "xlink:type": "simple",
7505
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-gray/nearest"
7506
+ }
7507
+ }
7508
+ }
7509
+ },
7510
+ {
7511
+ attr: {
7512
+ },
7513
+ Name: {
7514
+ attr: {
7515
+ },
7516
+ value: "precip-blue/nearest"
7517
+ },
7518
+ Title: {
7519
+ attr: {
7520
+ },
7521
+ value: "precip-blue/nearest"
7522
+ },
7523
+ LegendURL: {
7524
+ attr: {
7525
+ width: "300",
7526
+ height: "400"
7527
+ },
7528
+ Format: {
7529
+ attr: {
7530
+ },
7531
+ value: "image/png"
7532
+ },
7533
+ OnlineResource: {
7534
+ attr: {
7535
+ "xlink:type": "simple",
7536
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue/nearest"
7537
+ }
7538
+ }
7539
+ }
7540
+ },
7541
+ {
7542
+ attr: {
7543
+ },
7544
+ Name: {
7545
+ attr: {
7546
+ },
7547
+ value: "precip-blue-transparent/nearest"
7548
+ },
7549
+ Title: {
7550
+ attr: {
7551
+ },
7552
+ value: "precip-blue-transparent/nearest"
7553
+ },
7554
+ LegendURL: {
7555
+ attr: {
7556
+ width: "300",
7557
+ height: "400"
7558
+ },
7559
+ Format: {
7560
+ attr: {
7561
+ },
7562
+ value: "image/png"
7563
+ },
7564
+ OnlineResource: {
7565
+ attr: {
7566
+ "xlink:type": "simple",
7567
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue-transparent/nearest"
7568
+ }
7569
+ }
7570
+ }
7571
+ },
7572
+ {
7573
+ attr: {
7574
+ },
7575
+ Name: {
7576
+ attr: {
7577
+ },
7578
+ value: "precip-with-range/nearest"
7579
+ },
7580
+ Title: {
7581
+ attr: {
7582
+ },
7583
+ value: "precip-with-range/nearest"
7584
+ },
7585
+ LegendURL: {
7586
+ attr: {
7587
+ width: "300",
7588
+ height: "400"
7589
+ },
7590
+ Format: {
7591
+ attr: {
7592
+ },
7593
+ value: "image/png"
7594
+ },
7595
+ OnlineResource: {
7596
+ attr: {
7597
+ "xlink:type": "simple",
7598
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest"
7599
+ }
7600
+ }
7601
+ }
7602
+ }
7603
+ ]
7604
+ },
7605
+ {
7606
+ attr: {
7607
+ queryable: "1",
7608
+ opaque: "1",
7609
+ cascaded: "0"
7610
+ },
7611
+ Name: {
7612
+ attr: {
7613
+ },
7614
+ value: "Reflectivity"
7615
+ },
7616
+ Title: {
7617
+ attr: {
7618
+ },
7619
+ value: "Reflectivity"
7620
+ },
7621
+ EX_GeographicBoundingBox: {
7622
+ attr: {
7623
+ },
7624
+ westBoundLongitude: {
7625
+ attr: {
7626
+ },
7627
+ value: "0.000000"
7628
+ },
7629
+ eastBoundLongitude: {
7630
+ attr: {
7631
+ },
7632
+ value: "10.856452"
7633
+ },
7634
+ southBoundLatitude: {
7635
+ attr: {
7636
+ },
7637
+ value: "48.895303"
7638
+ },
7639
+ northBoundLatitude: {
7640
+ attr: {
7641
+ },
7642
+ value: "55.973600"
7643
+ }
7644
+ },
7645
+ BoundingBox: [
7646
+ {
7647
+ attr: {
7648
+ CRS: "EPSG:3411",
7649
+ minx: "2682754.743620",
7650
+ miny: "-3245034.014141",
7651
+ maxx: "3759536.917562",
7652
+ maxy: "-2168251.989038"
7653
+ }
7654
+ },
7655
+ {
7656
+ attr: {
7657
+ CRS: "EPSG:3412",
7658
+ minx: "0.000000",
7659
+ miny: "32318824.826266",
7660
+ maxx: "7413041.166015",
7661
+ maxy: "40075258.815074"
7662
+ }
7663
+ },
7664
+ {
7665
+ attr: {
7666
+ CRS: "EPSG:3575",
7667
+ minx: "-770622.801471",
7668
+ miny: "-4485814.811314",
7669
+ maxx: "56845.766135",
7670
+ maxy: "-3684039.443620"
7671
+ }
7672
+ },
7673
+ {
7674
+ attr: {
7675
+ CRS: "EPSG:3857",
7676
+ minx: "0.000000",
7677
+ miny: "6257115.219364",
7678
+ maxx: "1208534.698398",
7679
+ maxy: "7553161.958695"
7680
+ }
7681
+ },
7682
+ {
7683
+ attr: {
7684
+ CRS: "EPSG:4258",
7685
+ minx: "48.895303",
7686
+ miny: "0.000000",
7687
+ maxx: "55.973600",
7688
+ maxy: "10.856452"
7689
+ }
7690
+ },
7691
+ {
7692
+ attr: {
7693
+ CRS: "EPSG:4326",
7694
+ minx: "48.895303",
7695
+ miny: "0.000000",
7696
+ maxx: "55.973600",
7697
+ maxy: "10.856452"
7698
+ }
7699
+ },
7700
+ {
7701
+ attr: {
7702
+ CRS: "CRS:84",
7703
+ minx: "48.895303",
7704
+ miny: "0.000000",
7705
+ maxx: "55.973600",
7706
+ maxy: "10.856452"
7707
+ }
7708
+ },
7709
+ {
7710
+ attr: {
7711
+ CRS: "EPSG:25831",
7712
+ minx: "282182.345905",
7713
+ miny: "5433247.394267",
7714
+ maxx: "997135.658653",
7715
+ maxy: "6207204.592736"
7716
+ }
7717
+ },
7718
+ {
7719
+ attr: {
7720
+ CRS: "EPSG:25832",
7721
+ minx: "-153083.019482",
7722
+ miny: "5415817.312927",
7723
+ maxx: "617595.626092",
7724
+ maxy: "6239769.309937"
7725
+ }
7726
+ },
7727
+ {
7728
+ attr: {
7729
+ CRS: "EPSG:28992",
7730
+ minx: "-236275.338083",
7731
+ miny: "106727.731651",
7732
+ maxx: "501527.918656",
7733
+ maxy: "900797.079725"
7734
+ }
7735
+ },
7736
+ {
7737
+ attr: {
7738
+ CRS: "EPSG:7399",
7739
+ minx: "0.000000",
7740
+ miny: "5757301.056717",
7741
+ maxx: "763611.971696",
7742
+ maxy: "6483919.801602"
7743
+ }
7744
+ },
7745
+ {
7746
+ attr: {
7747
+ CRS: "EPSG:50001",
7748
+ minx: "-2000000.000000",
7749
+ miny: "-2000000.000000",
7750
+ maxx: "10000000.000000",
7751
+ maxy: "8500000.000000"
7752
+ }
7753
+ },
7754
+ {
7755
+ attr: {
7756
+ CRS: "EPSG:54030",
7757
+ minx: "0.000000",
7758
+ miny: "5211855.054125",
7759
+ maxx: "853649.695106",
7760
+ maxy: "5936394.291427"
7761
+ }
7762
+ },
7763
+ {
7764
+ attr: {
7765
+ CRS: "EPSG:32661",
7766
+ minx: "2000000.000000",
7767
+ miny: "-2703305.597319",
7768
+ maxx: "2745713.040381",
7769
+ maxy: "-1888346.216710"
7770
+ }
7771
+ },
7772
+ {
7773
+ attr: {
7774
+ CRS: "EPSG:40000",
7775
+ minx: "0.000000",
7776
+ miny: "-4731695.771951",
7777
+ maxx: "750214.326339",
7778
+ maxy: "-3911817.119426"
7779
+ }
7780
+ },
7781
+ {
7782
+ attr: {
7783
+ CRS: "EPSG:900913",
7784
+ minx: "0.000000",
7785
+ miny: "6257115.219364",
7786
+ maxx: "1208534.698398",
7787
+ maxy: "7553161.958695"
7788
+ }
7789
+ },
7790
+ {
7791
+ attr: {
7792
+ CRS: "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",
7793
+ minx: "0.000000",
7794
+ miny: "-3649.999338",
7795
+ maxx: "700.002420",
7796
+ maxy: "-4415.002986"
7797
+ }
7798
+ }
7799
+ ],
7800
+ Dimension: {
7801
+ attr: {
7802
+ name: "time",
7803
+ units: "ISO8601",
7804
+ "default": "2021-11-15T09:55:00Z",
7805
+ multipleValues: "1",
7806
+ nearestValue: "0",
7807
+ current: "1"
7808
+ },
7809
+ value: "2021-10-25T11:45:00Z/2021-11-15T09:55:00Z/PT5M"
7810
+ },
7811
+ Style: [
7812
+ {
7813
+ attr: {
7814
+ },
7815
+ Name: {
7816
+ attr: {
7817
+ },
7818
+ value: "radarReflectivity/nearest"
7819
+ },
7820
+ Title: {
7821
+ attr: {
7822
+ },
7823
+ value: "radarReflectivity/nearest"
7824
+ },
7825
+ LegendURL: {
7826
+ attr: {
7827
+ width: "300",
7828
+ height: "400"
7829
+ },
7830
+ Format: {
7831
+ attr: {
7832
+ },
7833
+ value: "image/png"
7834
+ },
7835
+ OnlineResource: {
7836
+ attr: {
7837
+ "xlink:type": "simple",
7838
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Reflectivity&format=image/png&STYLE=radarReflectivity/nearest"
7839
+ }
7840
+ }
7841
+ }
7842
+ },
7843
+ {
7844
+ attr: {
7845
+ },
7846
+ Name: {
7847
+ attr: {
7848
+ },
7849
+ value: "radarReflectivity_transparant/nearest"
7850
+ },
7851
+ Title: {
7852
+ attr: {
7853
+ },
7854
+ value: "radarReflectivity_transparant/nearest"
7855
+ },
7856
+ LegendURL: {
7857
+ attr: {
7858
+ width: "300",
7859
+ height: "400"
7860
+ },
7861
+ Format: {
7862
+ attr: {
7863
+ },
7864
+ value: "image/png"
7865
+ },
7866
+ OnlineResource: {
7867
+ attr: {
7868
+ "xlink:type": "simple",
7869
+ "xlink:href": "https://geoservices.knmi.nl/adaguc-server?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=Reflectivity&format=image/png&STYLE=radarReflectivity_transparant/nearest"
7870
+ }
7871
+ }
7872
+ }
7873
+ }
7874
+ ]
7875
+ }
7876
+ ]
7877
+ }
7878
+ }
7879
+ };
7880
+ var radarGetCapabilities_spec = {
7881
+ WMS_Capabilities: WMS_Capabilities
7882
+ };
7883
+
6472
7884
  /* *
6473
7885
  * Licensed under the Apache License, Version 2.0 (the "License");
6474
7886
  * you may not use this file except in compliance with the License.
@@ -6504,48 +7916,6 @@ const ReactMapViewLayer = props => {
6504
7916
  }, /*#__PURE__*/React.createElement("div", null, id));
6505
7917
  };
6506
7918
 
6507
- /******************************************************************************
6508
- Copyright (c) Microsoft Corporation.
6509
-
6510
- Permission to use, copy, modify, and/or distribute this software for any
6511
- purpose with or without fee is hereby granted.
6512
-
6513
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
6514
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
6515
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
6516
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
6517
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
6518
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
6519
- PERFORMANCE OF THIS SOFTWARE.
6520
- ***************************************************************************** */
6521
-
6522
- function __rest(s, e) {
6523
- var t = {};
6524
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
6525
- t[p] = s[p];
6526
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6527
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
6528
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
6529
- t[p[i]] = s[p[i]];
6530
- }
6531
- return t;
6532
- }
6533
-
6534
- function __awaiter(thisArg, _arguments, P, generator) {
6535
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6536
- return new (P || (P = Promise))(function (resolve, reject) {
6537
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6538
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6539
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
6540
- step((generator = generator.apply(thisArg, _arguments || [])).next());
6541
- });
6542
- }
6543
-
6544
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
6545
- var e = new Error(message);
6546
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
6547
- };
6548
-
6549
7919
  var defineProperty$1 = objectDefineProperty.f;
6550
7920
 
6551
7921
  var proxyAccessor$1 = function (Target, Source, key) {
@@ -8873,92 +10243,6 @@ ReactMapView.defaultProps = {
8873
10243
  }
8874
10244
  };
8875
10245
 
8876
- const MapControlButton = _a => {
8877
- var {
8878
- onClick,
8879
- children,
8880
- title,
8881
- placement = 'right',
8882
- isActive = false
8883
- } = _a,
8884
- props = __rest(_a, ["onClick", "children", "title", "placement", "isActive"]);
8885
- return /*#__PURE__*/React.createElement(CustomIconButton, Object.assign({
8886
- variant: "tool",
8887
- tooltipProps: {
8888
- placement,
8889
- title
8890
- },
8891
- onClick: onClick,
8892
- isSelected: isActive
8893
- }, props), children);
8894
- };
8895
-
8896
- /* *
8897
- * Licensed under the Apache License, Version 2.0 (the "License");
8898
- * you may not use this file except in compliance with the License.
8899
- * You may obtain a copy of the License at
8900
- *
8901
- * http://www.apache.org/licenses/LICENSE-2.0
8902
- *
8903
- * Unless required by applicable law or agreed to in writing, software
8904
- * distributed under the License is distributed on an "AS IS" BASIS,
8905
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8906
- * See the License for the specific language governing permissions and
8907
- * limitations under the License.
8908
- *
8909
- * Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8910
- * Copyright 2020 - Finnish Meteorological Institute (FMI)
8911
- * */
8912
- const ZoomControls = ({
8913
- onZoomIn,
8914
- onZoomOut,
8915
- onZoomReset
8916
- }) => {
8917
- const {
8918
- t
8919
- } = useWebmapReactTranslation();
8920
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MapControlButton, {
8921
- title: t('webmap-react-zoom-reset'),
8922
- "data-testid": "zoom-reset",
8923
- onClick: onZoomReset
8924
- }, /*#__PURE__*/React.createElement(Home, null)), /*#__PURE__*/React.createElement(MapControlButton, {
8925
- title: t('webmap-react-zoom-in'),
8926
- "data-testid": "zoom-in",
8927
- onClick: onZoomIn
8928
- }, /*#__PURE__*/React.createElement(Add, null)), /*#__PURE__*/React.createElement(MapControlButton, {
8929
- title: t('webmap-react-zoom-out'),
8930
- "data-testid": "zoom-out",
8931
- onClick: onZoomOut
8932
- }, /*#__PURE__*/React.createElement(Minus, null)));
8933
- };
8934
-
8935
- const MapControls = _a => {
8936
- var {
8937
- children
8938
- } = _a,
8939
- props = __rest(_a, ["children"]);
8940
- return /*#__PURE__*/React.createElement(Box, Object.assign({
8941
- sx: {
8942
- position: 'absolute',
8943
- overflow: 'visible',
8944
- display: 'block',
8945
- left: 0,
8946
- margin: 1,
8947
- zIndex: 50,
8948
- top: '96px',
8949
- userSelect: 'none'
8950
- }
8951
- }, props), /*#__PURE__*/React.createElement(Grid, {
8952
- sx: {
8953
- '& > button': {
8954
- marginBottom: 1
8955
- }
8956
- },
8957
- container: true,
8958
- direction: "column"
8959
- }, children));
8960
- };
8961
-
8962
10246
  /* *
8963
10247
  * Licensed under the Apache License, Version 2.0 (the "License");
8964
10248
  * you may not use this file except in compliance with the License.
@@ -9402,26 +10686,26 @@ const MapWarningProperties = ({
9402
10686
 
9403
10687
  const dimensionConfig = [{
9404
10688
  name: 'elevation',
9405
- label: 'Vertical level',
9406
- defaultUnit: 'hPa',
10689
+ label: translateKeyOutsideComponents('webmap-react-vertical-level'),
10690
+ defaultUnit: translateKeyOutsideComponents('webmap-react-hpa'),
9407
10691
  reversed: true,
9408
10692
  iconType: 'IconLevels'
9409
10693
  }, {
9410
10694
  name: 'ensemble_member',
9411
- label: 'Ensemble member',
9412
- defaultUnit: 'member',
10695
+ label: translateKeyOutsideComponents('webmap-react-ensemble-member'),
10696
+ defaultUnit: translateKeyOutsideComponents('webmap-react-member'),
9413
10697
  reversed: false,
9414
10698
  iconType: 'IconEnsemble'
9415
10699
  }, {
9416
10700
  name: 'probability',
9417
- label: 'Probability',
9418
- defaultUnit: '%',
10701
+ label: translateKeyOutsideComponents('webmap-react-probability'),
10702
+ defaultUnit: translateKeyOutsideComponents('webmap-react-percent'),
9419
10703
  reversed: false,
9420
10704
  iconType: 'IconLevels'
9421
10705
  }, {
9422
10706
  name: 'level',
9423
- label: 'Level',
9424
- defaultUnit: 'level',
10707
+ label: translateKeyOutsideComponents('webmap-react-level'),
10708
+ defaultUnit: translateKeyOutsideComponents('webmap-react-level'),
9425
10709
  reversed: false,
9426
10710
  iconType: 'IconLevels'
9427
10711
  }];
@@ -10268,7 +11552,7 @@ const getDimensionValue = (name, dimensions) => {
10268
11552
  return dimValue;
10269
11553
  };
10270
11554
  const getLayerBbox = layer => {
10271
- return layer.geographicBoundingBox ? `west ${layer.geographicBoundingBox.west}, east ${layer.geographicBoundingBox.east}, north ${layer.geographicBoundingBox.north}, south ${layer.geographicBoundingBox.south}` : '-';
11555
+ return layer.geographicBoundingBox ? `${translateKeyOutsideComponents('webmap-react-west')} ${layer.geographicBoundingBox.west}, ${translateKeyOutsideComponents('webmap-react-east')} ${layer.geographicBoundingBox.east}, ${translateKeyOutsideComponents('webmap-react-north')} ${layer.geographicBoundingBox.north}, ${translateKeyOutsideComponents('webmap-react-south')} ${layer.geographicBoundingBox.south}` : '-';
10272
11556
  };
10273
11557
  const getDimensionIcon = (name, dimensions) => {
10274
11558
  const dimension = dimensions === null || dimensions === void 0 ? void 0 : dimensions.find(dimension => dimension.name.toLowerCase() === name.toLowerCase());
@@ -10964,4 +12248,4 @@ var publicLayers = /*#__PURE__*/Object.freeze({
10964
12248
  msgNaturalEUMETSAT: msgNaturalEUMETSAT
10965
12249
  });
10966
12250
 
10967
- export { DRAWMODE, DimensionSelectButton, DimensionSelectDialog, DimensionSelectSlider, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, IntersectionSelect, LayerInfoButton, LayerInfoDialog, LayerInfoLegend, LayerInfoList, LayerInfoText, Legend, LegendDialog, LegendLayout, MINUTE_TO_MILLISECOND, MapControlButton, MapControls, MapDimensionSelect, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, ReactMapView, ReactMapViewLayer, SelectField, StoryLayoutGrid, WEBMAP_REACT_NAMESPACE, ZoomControls, addFeatureProperties, addGeoJSONProperties, addSelectionTypeToGeoJSON, addWMLayerPropsBasedOnChildProps, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, basicExampleMultipleShapeWithValuesDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, dimensionConfig, distance, drawPolyStoryStyles, emptyGeoJSON, endToolExampleConfig, exampleIntersectionOptions, exampleIntersectionWithShapeOptions, exampleIntersections, exampleIntersectionsMultiDrawTool, featureBox, featureMultiPoint, featurePoint, featurePolygon, fillOptions, firSelectionType, formatTime, getCurrentDimensionValue, getDimensionIcon, getDimensionLabel, getDimensionValue, getDimensionsList, getDoubleControlToolIcon, getDrawFunctionFromStore, getFeatureCollection, getFeatureExtent, getFeatureLayers, getFirTitle, getGeoJSONPropertyValue, getGeoJson, getIcon, getIntersectionToolIcon, getIsInsideAcceptanceTime, getLastEmptyFeatureIndex, getLayerBbox, getLayerStyles, getLayerUpdateInfo, getTimeDimension, getToolIcon, intersectPointGeoJSONS, intersectPolygonGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isAGeoJSONLayer, isAMapLayer, isGeoJSONFeatureCreatedByTool, isPointFeatureCollection, lineString, makeLayerPropListFromChildren, marksByDimension, moveFeature, opacityOptions, orderLayers, parseWMJSLayer, publicLayers, publicServices, registerDrawFunction, removeWMLayerFromMap, rewindGeometry, setWMLayerPropsBasedOnChildProps, simpleBoxGeoJSON, simpleBoxGeoJSONWrongOrder, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, startToolExampleConfig, strokeWidthOptions, textStyle, textStyleWithMargin, updateEditModeButtonsWithFir, useGeoJSON, useMapDrawTool, webmapReactTranslations };
12251
+ export { DRAWMODE, DimensionSelectButton, DimensionSelectDialog, DimensionSelectSlider, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, IntersectionSelect, LayerInfoButton, LayerInfoDialog, LayerInfoLegend, LayerInfoList, LayerInfoText, Legend, LegendButton, LegendDialog, LegendLayout, MINUTE_TO_MILLISECOND, MapControlButton, MapControls, MapDimensionSelect, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, radarGetCapabilities_spec as RadarGetCapabilities, ReactMapView, ReactMapViewLayer, SelectField, StoryLayoutGrid, WEBMAP_REACT_NAMESPACE, ZoomControls, addFeatureProperties, addGeoJSONProperties, addSelectionTypeToGeoJSON, addWMLayerPropsBasedOnChildProps, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, basicExampleMultipleShapeWithValuesDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, dimensionConfig, distance, drawPolyStoryStyles, emptyGeoJSON, endToolExampleConfig, exampleIntersectionOptions, exampleIntersectionWithShapeOptions, exampleIntersections, exampleIntersectionsMultiDrawTool, featureBox, featureMultiPoint, featurePoint, featurePolygon, fillOptions, firSelectionType, formatTime, getCurrentDimensionValue, getDimensionIcon, getDimensionLabel, getDimensionValue, getDimensionsList, getDoubleControlToolIcon, getDrawFunctionFromStore, getFeatureCollection, getFeatureExtent, getFeatureLayers, getFirTitle, getGeoJSONPropertyValue, getGeoJson, getIcon, getIntersectionToolIcon, getIsInsideAcceptanceTime, getLastEmptyFeatureIndex, getLayerBbox, getLayerStyles, getLayerUpdateInfo, getTimeDimension, getToolIcon, intersectPointGeoJSONS, intersectPolygonGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isAGeoJSONLayer, isAMapLayer, isGeoJSONFeatureCreatedByTool, isPointFeatureCollection, lineString, makeLayerPropListFromChildren, marksByDimension, moveFeature, opacityOptions, orderLayers, parseWMJSLayer, publicLayers, publicServices, registerDrawFunction, removeWMLayerFromMap, rewindGeometry, setWMLayerPropsBasedOnChildProps, simpleBoxGeoJSON, simpleBoxGeoJSONWrongOrder, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, startToolExampleConfig, strokeWidthOptions, textStyle, textStyleWithMargin, updateEditModeButtonsWithFir, useGeoJSON, useMapDrawTool, webmapReactTranslations };