@opengeoweb/webmap-react 9.14.0 → 9.16.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 +444 -200
- package/package.json +4 -2
- package/src/index.d.ts +2 -0
- package/src/lib/components/MapDrawTool/utils.d.ts +2 -0
- package/src/lib/components/MapView/MapView.ShiftToZoom.stories.d.ts +10 -0
- package/src/lib/components/MapView/MapView.TiledBaseLayers.stories.d.ts +22 -0
- package/src/lib/components/Providers/Providers.d.ts +8 -0
- package/src/lib/components/Providers/index.d.ts +1 -0
- package/src/lib/components/ReactMapView/ReactMapView.d.ts +1 -0
- package/src/lib/components/ReactMapView/types.d.ts +2 -1
- package/src/lib/components/index.d.ts +2 -0
- package/src/lib/index.d.ts +1 -0
- package/src/lib/utils/i18n.d.ts +2 -0
package/index.esm.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { legendImageStore, WMImageEventType, webmapUtils, getLegendGraphicURLForLayer, getWMJSMapById, debugLogger, DebugType,
|
|
3
|
+
import { legendImageStore, WMImageEventType, webmapUtils, getLegendGraphicURLForLayer, LayerType, getWMJSMapById, debugLogger, DebugType, WMLayer, registerWMLayer, WMBBOX, getWMLayerById, WMJSMap, tilesettings } from '@opengeoweb/webmap';
|
|
4
4
|
import { CustomTooltip, CanvasComponent, ToolContainerDraggable, dateUtils, CustomIconButton } from '@opengeoweb/shared';
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
6
|
+
import 'i18next';
|
|
5
7
|
import { Paper, Box, Typography, Grid, TextField, FormControl, InputLabel, Select, MenuItem, Icon as Icon$1, FormLabel, Switch, styled, Slider } from '@mui/material';
|
|
6
8
|
import _, { cloneDeep } from 'lodash';
|
|
7
9
|
import proj4 from 'proj4';
|
|
@@ -15,6 +17,163 @@ import Box$1 from '@mui/material/Box';
|
|
|
15
17
|
import Typography$1 from '@mui/material/Typography';
|
|
16
18
|
import Grid$1 from '@mui/material/Grid';
|
|
17
19
|
|
|
20
|
+
var en = {
|
|
21
|
+
"webmap-react-event": "event:",
|
|
22
|
+
"webmap-react-sent": "Sent:",
|
|
23
|
+
"webmap-react-utc": "UTC",
|
|
24
|
+
"webmap-react-expires": "Expires:",
|
|
25
|
+
"webmap-react-sender": "Sender:",
|
|
26
|
+
"webmap-react-identifier": "Identifier:",
|
|
27
|
+
"webmap-react-h5": "Query features along buffered line using WFS and CQL",
|
|
28
|
+
"webmap-react-wfs": "WFS JSON URL:",
|
|
29
|
+
"webmap-react-cql": "CQL expression:",
|
|
30
|
+
"webmap-react-delete": "Delete",
|
|
31
|
+
"webmap-react-feature-type": "Feature type",
|
|
32
|
+
"webmap-react-feature-number": "Feature number",
|
|
33
|
+
"webmap-react-intersection-shapes": "Intersection shapes",
|
|
34
|
+
"webmap-react-features": "Features",
|
|
35
|
+
"webmap-react-url": "URL:",
|
|
36
|
+
"webmap-react-get-feature-info-result": "GetFeatureInfo result:",
|
|
37
|
+
"webmap-react-view": "View",
|
|
38
|
+
"webmap-react-edit": "Edit",
|
|
39
|
+
"webmap-react-esc": "press ESC to exit draw mode",
|
|
40
|
+
"webmap-react-no-layers": "No layers",
|
|
41
|
+
"webmap-react-legend": "Legend",
|
|
42
|
+
"webmap-react-title": "Title",
|
|
43
|
+
"webmap-react-name": "Name",
|
|
44
|
+
"webmap-react-service": "Service",
|
|
45
|
+
"webmap-react-abstract": "Abstract",
|
|
46
|
+
"webmap-react-dimensions": "Dimensions",
|
|
47
|
+
"webmap-react-styles": "Styles",
|
|
48
|
+
"webmap-react-bounding-box": "Bounding Box",
|
|
49
|
+
"webmap-react-groups": "Groups",
|
|
50
|
+
"webmap-react-keywords": "Keywords",
|
|
51
|
+
"webmap-react-zoom-reset": "Reset zoom",
|
|
52
|
+
"webmap-react-zoom-in": "Zoom in",
|
|
53
|
+
"webmap-react-zoom-out": "Zoom out",
|
|
54
|
+
"webmap-react-show": "Show",
|
|
55
|
+
"webmap-react-click-diconnect": "Click to disconnect layer",
|
|
56
|
+
"webmap-react-click-connect": "Click to connect layer",
|
|
57
|
+
"webmap-react-layer-info": "Layer Info"
|
|
58
|
+
};
|
|
59
|
+
var fi = {
|
|
60
|
+
"webmap-react-event": "ei käännetty",
|
|
61
|
+
"webmap-react-sent": "ei käännetty",
|
|
62
|
+
"webmap-react-utc": "ei käännetty",
|
|
63
|
+
"webmap-react-expires": "ei käännetty",
|
|
64
|
+
"webmap-react-sender": "ei käännetty",
|
|
65
|
+
"webmap-react-identifier": "ei käännetty",
|
|
66
|
+
"webmap-react-h5": "ei käännetty",
|
|
67
|
+
"webmap-react-wfs": "ei käännetty",
|
|
68
|
+
"webmap-react-cql": "ei käännetty",
|
|
69
|
+
"webmap-react-delete": "ei käännetty",
|
|
70
|
+
"webmap-react-feature-type": "ei käännetty",
|
|
71
|
+
"webmap-react-feature-number": "ei käännetty",
|
|
72
|
+
"webmap-react-intersection-shapes": "ei käännetty",
|
|
73
|
+
"webmap-react-get-feature-info-result": "ei käännetty",
|
|
74
|
+
"webmap-react-view": "ei käännetty",
|
|
75
|
+
"webmap-react-edit": "ei käännetty",
|
|
76
|
+
"webmap-react-esc": "ei käännetty",
|
|
77
|
+
"webmap-react-no-layers": "ei käännetty",
|
|
78
|
+
"webmap-react-legend": "ei käännetty",
|
|
79
|
+
"webmap-react-title": "ei käännetty",
|
|
80
|
+
"webmap-react-name": "ei käännetty",
|
|
81
|
+
"webmap-react-service": "ei käännetty",
|
|
82
|
+
"webmap-react-abstract": "ei käännetty",
|
|
83
|
+
"webmap-react-dimensions": "ei käännetty",
|
|
84
|
+
"webmap-react-styles": "ei käännetty",
|
|
85
|
+
"webmap-react-bounding-box": "ei käännetty",
|
|
86
|
+
"webmap-react-groups": "ei käännetty",
|
|
87
|
+
"webmap-react-keywords": "ei käännetty",
|
|
88
|
+
"webmap-react-zoom-reset": "ei käännetty",
|
|
89
|
+
"webmap-react-zoom-in": "ei käännetty",
|
|
90
|
+
"webmap-react-zoom-out": "ei käännetty",
|
|
91
|
+
"webmap-react-show": "ei käännetty",
|
|
92
|
+
"webmap-react-click-diconnect": "ei käännetty",
|
|
93
|
+
"webmap-react-click-connect": "ei käännetty",
|
|
94
|
+
"webmap-react-layer-info": "ei käännetty"
|
|
95
|
+
};
|
|
96
|
+
var no = {
|
|
97
|
+
"webmap-react-event": "event:",
|
|
98
|
+
"webmap-react-sent": "Sendt:",
|
|
99
|
+
"webmap-react-utc": "UTC",
|
|
100
|
+
"webmap-react-expires": "Utgår:",
|
|
101
|
+
"webmap-react-sender": "Avsender:",
|
|
102
|
+
"webmap-react-identifier": "ikke oversatt",
|
|
103
|
+
"webmap-react-h5": "ikke oversatt",
|
|
104
|
+
"webmap-react-wfs": "ikke oversatt",
|
|
105
|
+
"webmap-react-cql": "ikke oversatt",
|
|
106
|
+
"webmap-react-delete": "Slett",
|
|
107
|
+
"webmap-react-feature-type": "Feature type",
|
|
108
|
+
"webmap-react-feature-number": "Feature nummer",
|
|
109
|
+
"webmap-react-intersection-shapes": "ikke oversatt",
|
|
110
|
+
"webmap-react-get-feature-info-result": "GetFeatureInfo resultat:",
|
|
111
|
+
"webmap-react-view": "View",
|
|
112
|
+
"webmap-react-edit": "Endre",
|
|
113
|
+
"webmap-react-esc": "trykk ESC for å avslutte tegnemodus",
|
|
114
|
+
"webmap-react-no-layers": "Ingen lag",
|
|
115
|
+
"webmap-react-legend": "Legende",
|
|
116
|
+
"webmap-react-title": "Tittel",
|
|
117
|
+
"webmap-react-name": "Navn",
|
|
118
|
+
"webmap-react-service": "Service",
|
|
119
|
+
"webmap-react-abstract": "Abstract",
|
|
120
|
+
"webmap-react-dimensions": "Dimensjoner",
|
|
121
|
+
"webmap-react-styles": "Styles",
|
|
122
|
+
"webmap-react-bounding-box": "Bounding Box",
|
|
123
|
+
"webmap-react-groups": "Grupper",
|
|
124
|
+
"webmap-react-keywords": "Stikkord",
|
|
125
|
+
"webmap-react-zoom-reset": "Reset zoom",
|
|
126
|
+
"webmap-react-zoom-in": "Zoom inn",
|
|
127
|
+
"webmap-react-zoom-out": "Zoom ut",
|
|
128
|
+
"webmap-react-show": "Vis",
|
|
129
|
+
"webmap-react-click-diconnect": "Trykk for å avkoble lag",
|
|
130
|
+
"webmap-react-click-connect": "Trykk for å koble lag",
|
|
131
|
+
"webmap-react-layer-info": "Laginformasjon"
|
|
132
|
+
};
|
|
133
|
+
var nl = {
|
|
134
|
+
"webmap-react-event": "niet vertaald",
|
|
135
|
+
"webmap-react-sent": "niet vertaald",
|
|
136
|
+
"webmap-react-utc": "niet vertaald",
|
|
137
|
+
"webmap-react-expires": "niet vertaald",
|
|
138
|
+
"webmap-react-sender": "niet vertaald",
|
|
139
|
+
"workspce-search": "niet vertaald",
|
|
140
|
+
"webmap-react-h5": "niet vertaald",
|
|
141
|
+
"webmap-react-wfs": "niet vertaald",
|
|
142
|
+
"webmap-react-cql": "niet vertaald",
|
|
143
|
+
"webmap-react-delete": "niet vertaald",
|
|
144
|
+
"webmap-react-feature-type": "niet vertaald",
|
|
145
|
+
"webmap-react-feature-number": "niet vertaald",
|
|
146
|
+
"webmap-react-intersection-shapes": "niet vertaald",
|
|
147
|
+
"webmap-react-get-feature-info-result": "niet vertaald",
|
|
148
|
+
"webmap-react-view": "niet vertaald",
|
|
149
|
+
"webmap-react-edit": "niet vertaald",
|
|
150
|
+
"webmap-react-esc": "niet vertaald",
|
|
151
|
+
"webmap-react-no-layers": "niet vertaald",
|
|
152
|
+
"webmap-react-legend": "niet vertaald",
|
|
153
|
+
"webmap-react-title": "niet vertaald",
|
|
154
|
+
"webmap-react-name": "niet vertaald",
|
|
155
|
+
"webmap-react-service": "niet vertaald",
|
|
156
|
+
"webmap-react-abstract": "niet vertaald",
|
|
157
|
+
"webmap-react-dimensions": "niet vertaald",
|
|
158
|
+
"webmap-react-styles": "niet vertaald",
|
|
159
|
+
"webmap-react-bounding-box": "niet vertaald",
|
|
160
|
+
"webmap-react-groups": "niet vertaald",
|
|
161
|
+
"webmap-react-keywords": "niet vertaald",
|
|
162
|
+
"webmap-react-zoom-reset": "niet vertaald",
|
|
163
|
+
"webmap-react-zoom-in": "niet vertaald",
|
|
164
|
+
"webmap-react-zoom-out": "niet vertaald",
|
|
165
|
+
"webmap-react-show": "niet vertaald",
|
|
166
|
+
"webmap-react-click-diconnect": "niet vertaald",
|
|
167
|
+
"webmap-react-click-connect": "niet vertaald",
|
|
168
|
+
"webmap-react-layer-info": "niet vertaald"
|
|
169
|
+
};
|
|
170
|
+
var webmapReactTranslations = {
|
|
171
|
+
en: en,
|
|
172
|
+
fi: fi,
|
|
173
|
+
no: no,
|
|
174
|
+
nl: nl
|
|
175
|
+
};
|
|
176
|
+
|
|
18
177
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
19
178
|
|
|
20
179
|
var fails$q = function (exec) {
|
|
@@ -83,17 +242,17 @@ var $TypeError$i = TypeError;
|
|
|
83
242
|
|
|
84
243
|
// `RequireObjectCoercible` abstract operation
|
|
85
244
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
86
|
-
var requireObjectCoercible$
|
|
245
|
+
var requireObjectCoercible$7 = function (it) {
|
|
87
246
|
if (isNullOrUndefined$4(it)) throw new $TypeError$i("Can't call method on " + it);
|
|
88
247
|
return it;
|
|
89
248
|
};
|
|
90
249
|
|
|
91
250
|
// toObject with fallback for non-array-like ES3 strings
|
|
92
251
|
var IndexedObject$2 = indexedObject;
|
|
93
|
-
var requireObjectCoercible$
|
|
252
|
+
var requireObjectCoercible$6 = requireObjectCoercible$7;
|
|
94
253
|
|
|
95
254
|
var toIndexedObject$5 = function (it) {
|
|
96
|
-
return IndexedObject$2(requireObjectCoercible$
|
|
255
|
+
return IndexedObject$2(requireObjectCoercible$6(it));
|
|
97
256
|
};
|
|
98
257
|
|
|
99
258
|
var check = function (it) {
|
|
@@ -101,7 +260,7 @@ var check = function (it) {
|
|
|
101
260
|
};
|
|
102
261
|
|
|
103
262
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
104
|
-
var global$
|
|
263
|
+
var global$n =
|
|
105
264
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
106
265
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
107
266
|
check(typeof window == 'object' && window) ||
|
|
@@ -112,49 +271,49 @@ var global$o =
|
|
|
112
271
|
// eslint-disable-next-line no-new-func -- fallback
|
|
113
272
|
(function () { return this; })() || Function('return this')();
|
|
114
273
|
|
|
115
|
-
var
|
|
274
|
+
var sharedStore = {exports: {}};
|
|
116
275
|
|
|
117
|
-
var global$
|
|
276
|
+
var global$m = global$n;
|
|
118
277
|
|
|
119
278
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
120
279
|
var defineProperty$7 = Object.defineProperty;
|
|
121
280
|
|
|
122
281
|
var defineGlobalProperty$3 = function (key, value) {
|
|
123
282
|
try {
|
|
124
|
-
defineProperty$7(global$
|
|
283
|
+
defineProperty$7(global$m, key, { value: value, configurable: true, writable: true });
|
|
125
284
|
} catch (error) {
|
|
126
|
-
global$
|
|
285
|
+
global$m[key] = value;
|
|
127
286
|
} return value;
|
|
128
287
|
};
|
|
129
288
|
|
|
130
|
-
var
|
|
289
|
+
var globalThis$1 = global$n;
|
|
131
290
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
132
291
|
|
|
133
292
|
var SHARED = '__core-js_shared__';
|
|
134
|
-
var store$3 =
|
|
135
|
-
|
|
136
|
-
var sharedStore = store$3;
|
|
293
|
+
var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
137
294
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
(shared$4.exports = function (key, value) {
|
|
141
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
142
|
-
})('versions', []).push({
|
|
143
|
-
version: '3.35.1',
|
|
295
|
+
(store$3.versions || (store$3.versions = [])).push({
|
|
296
|
+
version: '3.36.1',
|
|
144
297
|
mode: 'global',
|
|
145
298
|
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
146
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
299
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
|
|
147
300
|
source: 'https://github.com/zloirock/core-js'
|
|
148
301
|
});
|
|
149
302
|
|
|
150
|
-
var
|
|
303
|
+
var store$2 = sharedStore.exports;
|
|
304
|
+
|
|
305
|
+
var shared$4 = function (key, value) {
|
|
306
|
+
return store$2[key] || (store$2[key] = value || {});
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
var requireObjectCoercible$5 = requireObjectCoercible$7;
|
|
151
310
|
|
|
152
311
|
var $Object$3 = Object;
|
|
153
312
|
|
|
154
313
|
// `ToObject` abstract operation
|
|
155
314
|
// https://tc39.es/ecma262/#sec-toobject
|
|
156
315
|
var toObject$7 = function (argument) {
|
|
157
|
-
return $Object$3(requireObjectCoercible$
|
|
316
|
+
return $Object$3(requireObjectCoercible$5(argument));
|
|
158
317
|
};
|
|
159
318
|
|
|
160
319
|
var uncurryThis$n = functionUncurryThis;
|
|
@@ -181,7 +340,7 @@ var uid$2 = function (key) {
|
|
|
181
340
|
|
|
182
341
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
183
342
|
|
|
184
|
-
var global$l = global$
|
|
343
|
+
var global$l = global$n;
|
|
185
344
|
var userAgent$5 = engineUserAgent;
|
|
186
345
|
|
|
187
346
|
var process$3 = global$l.process;
|
|
@@ -212,7 +371,7 @@ var engineV8Version = version;
|
|
|
212
371
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
213
372
|
var V8_VERSION$1 = engineV8Version;
|
|
214
373
|
var fails$n = fails$q;
|
|
215
|
-
var global$k = global$
|
|
374
|
+
var global$k = global$n;
|
|
216
375
|
|
|
217
376
|
var $String$6 = global$k.String;
|
|
218
377
|
|
|
@@ -235,8 +394,8 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
235
394
|
&& !Symbol.sham
|
|
236
395
|
&& typeof Symbol.iterator == 'symbol';
|
|
237
396
|
|
|
238
|
-
var global$j = global$
|
|
239
|
-
var shared$3 = shared$4
|
|
397
|
+
var global$j = global$n;
|
|
398
|
+
var shared$3 = shared$4;
|
|
240
399
|
var hasOwn$b = hasOwnProperty_1;
|
|
241
400
|
var uid$1 = uid$2;
|
|
242
401
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
@@ -268,18 +427,18 @@ var isCallable$n = typeof documentAll == 'undefined' && documentAll !== undefine
|
|
|
268
427
|
|
|
269
428
|
var isCallable$m = isCallable$n;
|
|
270
429
|
|
|
271
|
-
var isObject$
|
|
430
|
+
var isObject$d = function (it) {
|
|
272
431
|
return typeof it == 'object' ? it !== null : isCallable$m(it);
|
|
273
432
|
};
|
|
274
433
|
|
|
275
|
-
var isObject$
|
|
434
|
+
var isObject$c = isObject$d;
|
|
276
435
|
|
|
277
436
|
var $String$5 = String;
|
|
278
437
|
var $TypeError$h = TypeError;
|
|
279
438
|
|
|
280
439
|
// `Assert: Type(argument) is Object`
|
|
281
|
-
var anObject$
|
|
282
|
-
if (isObject$
|
|
440
|
+
var anObject$d = function (argument) {
|
|
441
|
+
if (isObject$c(argument)) return argument;
|
|
283
442
|
throw new $TypeError$h($String$5(argument) + ' is not an object');
|
|
284
443
|
};
|
|
285
444
|
|
|
@@ -308,12 +467,12 @@ var v8PrototypeDefineBug = DESCRIPTORS$d && fails$l(function () {
|
|
|
308
467
|
|
|
309
468
|
var objectDefineProperty = {};
|
|
310
469
|
|
|
311
|
-
var global$i = global$
|
|
312
|
-
var isObject$
|
|
470
|
+
var global$i = global$n;
|
|
471
|
+
var isObject$b = isObject$d;
|
|
313
472
|
|
|
314
473
|
var document$3 = global$i.document;
|
|
315
474
|
// typeof document.createElement is 'object' in old IE
|
|
316
|
-
var EXISTS$1 = isObject$
|
|
475
|
+
var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
|
|
317
476
|
|
|
318
477
|
var documentCreateElement$2 = function (it) {
|
|
319
478
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
@@ -339,7 +498,7 @@ var functionCall = NATIVE_BIND$2 ? call$i.bind(call$i) : function () {
|
|
|
339
498
|
return call$i.apply(call$i, arguments);
|
|
340
499
|
};
|
|
341
500
|
|
|
342
|
-
var global$h = global$
|
|
501
|
+
var global$h = global$n;
|
|
343
502
|
var isCallable$l = isCallable$n;
|
|
344
503
|
|
|
345
504
|
var aFunction = function (argument) {
|
|
@@ -401,7 +560,7 @@ var getMethod$4 = function (V, P) {
|
|
|
401
560
|
|
|
402
561
|
var call$h = functionCall;
|
|
403
562
|
var isCallable$i = isCallable$n;
|
|
404
|
-
var isObject$
|
|
563
|
+
var isObject$a = isObject$d;
|
|
405
564
|
|
|
406
565
|
var $TypeError$f = TypeError;
|
|
407
566
|
|
|
@@ -409,14 +568,14 @@ var $TypeError$f = TypeError;
|
|
|
409
568
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
410
569
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
411
570
|
var fn, val;
|
|
412
|
-
if (pref === 'string' && isCallable$i(fn = input.toString) && !isObject$
|
|
413
|
-
if (isCallable$i(fn = input.valueOf) && !isObject$
|
|
414
|
-
if (pref !== 'string' && isCallable$i(fn = input.toString) && !isObject$
|
|
571
|
+
if (pref === 'string' && isCallable$i(fn = input.toString) && !isObject$a(val = call$h(fn, input))) return val;
|
|
572
|
+
if (isCallable$i(fn = input.valueOf) && !isObject$a(val = call$h(fn, input))) return val;
|
|
573
|
+
if (pref !== 'string' && isCallable$i(fn = input.toString) && !isObject$a(val = call$h(fn, input))) return val;
|
|
415
574
|
throw new $TypeError$f("Can't convert object to primitive value");
|
|
416
575
|
};
|
|
417
576
|
|
|
418
577
|
var call$g = functionCall;
|
|
419
|
-
var isObject$
|
|
578
|
+
var isObject$9 = isObject$d;
|
|
420
579
|
var isSymbol$2 = isSymbol$3;
|
|
421
580
|
var getMethod$3 = getMethod$4;
|
|
422
581
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -428,13 +587,13 @@ var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
|
|
|
428
587
|
// `ToPrimitive` abstract operation
|
|
429
588
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
430
589
|
var toPrimitive$1 = function (input, pref) {
|
|
431
|
-
if (!isObject$
|
|
590
|
+
if (!isObject$9(input) || isSymbol$2(input)) return input;
|
|
432
591
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
433
592
|
var result;
|
|
434
593
|
if (exoticToPrim) {
|
|
435
594
|
if (pref === undefined) pref = 'default';
|
|
436
595
|
result = call$g(exoticToPrim, input, pref);
|
|
437
|
-
if (!isObject$
|
|
596
|
+
if (!isObject$9(result) || isSymbol$2(result)) return result;
|
|
438
597
|
throw new $TypeError$e("Can't convert object to primitive value");
|
|
439
598
|
}
|
|
440
599
|
if (pref === undefined) pref = 'number';
|
|
@@ -454,7 +613,7 @@ var toPropertyKey$2 = function (argument) {
|
|
|
454
613
|
var DESCRIPTORS$b = descriptors;
|
|
455
614
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
456
615
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
457
|
-
var anObject$
|
|
616
|
+
var anObject$c = anObject$d;
|
|
458
617
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
459
618
|
|
|
460
619
|
var $TypeError$d = TypeError;
|
|
@@ -469,9 +628,9 @@ var WRITABLE = 'writable';
|
|
|
469
628
|
// `Object.defineProperty` method
|
|
470
629
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
471
630
|
objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
472
|
-
anObject$
|
|
631
|
+
anObject$c(O);
|
|
473
632
|
P = toPropertyKey$1(P);
|
|
474
|
-
anObject$
|
|
633
|
+
anObject$c(Attributes);
|
|
475
634
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
476
635
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
477
636
|
if (current && current[WRITABLE]) {
|
|
@@ -484,9 +643,9 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
484
643
|
}
|
|
485
644
|
} return $defineProperty(O, P, Attributes);
|
|
486
645
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
487
|
-
anObject$
|
|
646
|
+
anObject$c(O);
|
|
488
647
|
P = toPropertyKey$1(P);
|
|
489
|
-
anObject$
|
|
648
|
+
anObject$c(Attributes);
|
|
490
649
|
if (IE8_DOM_DEFINE$1) try {
|
|
491
650
|
return $defineProperty(O, P, Attributes);
|
|
492
651
|
} catch (error) { /* empty */ }
|
|
@@ -557,6 +716,7 @@ var createMethod$3 = function (IS_INCLUDES) {
|
|
|
557
716
|
return function ($this, el, fromIndex) {
|
|
558
717
|
var O = toIndexedObject$4($this);
|
|
559
718
|
var length = lengthOfArrayLike$5(O);
|
|
719
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
560
720
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
561
721
|
var value;
|
|
562
722
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -628,7 +788,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
628
788
|
var DESCRIPTORS$a = descriptors;
|
|
629
789
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
630
790
|
var definePropertyModule$3 = objectDefineProperty;
|
|
631
|
-
var anObject$
|
|
791
|
+
var anObject$b = anObject$d;
|
|
632
792
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
633
793
|
var objectKeys$1 = objectKeys$2;
|
|
634
794
|
|
|
@@ -636,7 +796,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
636
796
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
637
797
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
638
798
|
objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
639
|
-
anObject$
|
|
799
|
+
anObject$b(O);
|
|
640
800
|
var props = toIndexedObject$2(Properties);
|
|
641
801
|
var keys = objectKeys$1(Properties);
|
|
642
802
|
var length = keys.length;
|
|
@@ -650,7 +810,7 @@ var getBuiltIn$7 = getBuiltIn$9;
|
|
|
650
810
|
|
|
651
811
|
var html$2 = getBuiltIn$7('document', 'documentElement');
|
|
652
812
|
|
|
653
|
-
var shared$2 = shared$4
|
|
813
|
+
var shared$2 = shared$4;
|
|
654
814
|
var uid = uid$2;
|
|
655
815
|
|
|
656
816
|
var keys = shared$2('keys');
|
|
@@ -660,7 +820,7 @@ var sharedKey$3 = function (key) {
|
|
|
660
820
|
};
|
|
661
821
|
|
|
662
822
|
/* global ActiveXObject -- old IE, WSH */
|
|
663
|
-
var anObject$
|
|
823
|
+
var anObject$a = anObject$d;
|
|
664
824
|
var definePropertiesModule = objectDefineProperties;
|
|
665
825
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
666
826
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -734,7 +894,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
734
894
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
735
895
|
var result;
|
|
736
896
|
if (O !== null) {
|
|
737
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
897
|
+
EmptyConstructor[PROTOTYPE] = anObject$a(O);
|
|
738
898
|
result = new EmptyConstructor();
|
|
739
899
|
EmptyConstructor[PROTOTYPE] = null;
|
|
740
900
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -766,7 +926,7 @@ var addToUnscopables$2 = function (key) {
|
|
|
766
926
|
|
|
767
927
|
var iterators = {};
|
|
768
928
|
|
|
769
|
-
var global$g = global$
|
|
929
|
+
var global$g = global$n;
|
|
770
930
|
var isCallable$h = isCallable$n;
|
|
771
931
|
|
|
772
932
|
var WeakMap$1 = global$g.WeakMap;
|
|
@@ -794,11 +954,11 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value
|
|
|
794
954
|
};
|
|
795
955
|
|
|
796
956
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
797
|
-
var global$f = global$
|
|
798
|
-
var isObject$
|
|
957
|
+
var global$f = global$n;
|
|
958
|
+
var isObject$8 = isObject$d;
|
|
799
959
|
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
800
960
|
var hasOwn$9 = hasOwnProperty_1;
|
|
801
|
-
var shared$1 = sharedStore;
|
|
961
|
+
var shared$1 = sharedStore.exports;
|
|
802
962
|
var sharedKey$1 = sharedKey$3;
|
|
803
963
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
804
964
|
|
|
@@ -814,7 +974,7 @@ var enforce = function (it) {
|
|
|
814
974
|
var getterFor = function (TYPE) {
|
|
815
975
|
return function (it) {
|
|
816
976
|
var state;
|
|
817
|
-
if (!isObject$
|
|
977
|
+
if (!isObject$8(it) || (state = get(it)).type !== TYPE) {
|
|
818
978
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
819
979
|
} return state;
|
|
820
980
|
};
|
|
@@ -927,7 +1087,7 @@ var functionName = {
|
|
|
927
1087
|
|
|
928
1088
|
var uncurryThis$j = functionUncurryThis;
|
|
929
1089
|
var isCallable$g = isCallable$n;
|
|
930
|
-
var store = sharedStore;
|
|
1090
|
+
var store = sharedStore.exports;
|
|
931
1091
|
|
|
932
1092
|
var functionToString = uncurryThis$j(Function.toString);
|
|
933
1093
|
|
|
@@ -1046,13 +1206,13 @@ var getBuiltIn$6 = getBuiltIn$9;
|
|
|
1046
1206
|
var uncurryThis$h = functionUncurryThis;
|
|
1047
1207
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1048
1208
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1049
|
-
var anObject$
|
|
1209
|
+
var anObject$9 = anObject$d;
|
|
1050
1210
|
|
|
1051
1211
|
var concat$1 = uncurryThis$h([].concat);
|
|
1052
1212
|
|
|
1053
1213
|
// all object keys, includes non-enumerable and symbols
|
|
1054
1214
|
var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1055
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1215
|
+
var keys = getOwnPropertyNamesModule.f(anObject$9(it));
|
|
1056
1216
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1057
1217
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
1058
1218
|
};
|
|
@@ -1097,7 +1257,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1097
1257
|
|
|
1098
1258
|
var isForced_1 = isForced$2;
|
|
1099
1259
|
|
|
1100
|
-
var global$e = global$
|
|
1260
|
+
var global$e = global$n;
|
|
1101
1261
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
1102
1262
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
1103
1263
|
var defineBuiltIn$6 = defineBuiltIn$7;
|
|
@@ -1185,7 +1345,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1185
1345
|
|
|
1186
1346
|
var fails$g = fails$q;
|
|
1187
1347
|
var isCallable$b = isCallable$n;
|
|
1188
|
-
var isObject$
|
|
1348
|
+
var isObject$7 = isObject$d;
|
|
1189
1349
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1190
1350
|
var defineBuiltIn$5 = defineBuiltIn$7;
|
|
1191
1351
|
var wellKnownSymbol$e = wellKnownSymbol$h;
|
|
@@ -1208,7 +1368,7 @@ if ([].keys) {
|
|
|
1208
1368
|
}
|
|
1209
1369
|
}
|
|
1210
1370
|
|
|
1211
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1371
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$7(IteratorPrototype$2) || fails$g(function () {
|
|
1212
1372
|
var test = {};
|
|
1213
1373
|
// FF44- legacy iterators case
|
|
1214
1374
|
return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
|
|
@@ -1268,10 +1428,10 @@ var functionUncurryThisAccessor = function (object, key, method) {
|
|
|
1268
1428
|
} catch (error) { /* empty */ }
|
|
1269
1429
|
};
|
|
1270
1430
|
|
|
1271
|
-
var isObject$
|
|
1431
|
+
var isObject$6 = isObject$d;
|
|
1272
1432
|
|
|
1273
1433
|
var isPossiblePrototype$1 = function (argument) {
|
|
1274
|
-
return isObject$
|
|
1434
|
+
return isObject$6(argument) || argument === null;
|
|
1275
1435
|
};
|
|
1276
1436
|
|
|
1277
1437
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
@@ -1286,7 +1446,8 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1286
1446
|
|
|
1287
1447
|
/* eslint-disable no-proto -- safe */
|
|
1288
1448
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1289
|
-
var
|
|
1449
|
+
var isObject$5 = isObject$d;
|
|
1450
|
+
var requireObjectCoercible$4 = requireObjectCoercible$7;
|
|
1290
1451
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1291
1452
|
|
|
1292
1453
|
// `Object.setPrototypeOf` method
|
|
@@ -1303,8 +1464,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1303
1464
|
CORRECT_SETTER = test instanceof Array;
|
|
1304
1465
|
} catch (error) { /* empty */ }
|
|
1305
1466
|
return function setPrototypeOf(O, proto) {
|
|
1306
|
-
|
|
1467
|
+
requireObjectCoercible$4(O);
|
|
1307
1468
|
aPossiblePrototype(proto);
|
|
1469
|
+
if (!isObject$5(O)) return O;
|
|
1308
1470
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1309
1471
|
else O.__proto__ = proto;
|
|
1310
1472
|
return O;
|
|
@@ -1522,7 +1684,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1522
1684
|
|
|
1523
1685
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1524
1686
|
|
|
1525
|
-
var global$d = global$
|
|
1687
|
+
var global$d = global$n;
|
|
1526
1688
|
var DOMIterables = domIterables;
|
|
1527
1689
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1528
1690
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -1559,6 +1721,24 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1559
1721
|
|
|
1560
1722
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1561
1723
|
|
|
1724
|
+
/* *
|
|
1725
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1726
|
+
* you may not use this file except in compliance with the License.
|
|
1727
|
+
* You may obtain a copy of the License at
|
|
1728
|
+
*
|
|
1729
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1730
|
+
*
|
|
1731
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1732
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1733
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1734
|
+
* See the License for the specific language governing permissions and
|
|
1735
|
+
* limitations under the License.
|
|
1736
|
+
*
|
|
1737
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1738
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1739
|
+
* */
|
|
1740
|
+
const WEBMAP_REACT_NAMESPACE = 'webmapreact';
|
|
1741
|
+
|
|
1562
1742
|
var DESCRIPTORS$4 = descriptors;
|
|
1563
1743
|
var uncurryThis$f = functionUncurryThis;
|
|
1564
1744
|
var call$d = functionCall;
|
|
@@ -1729,17 +1909,21 @@ const Legend = ({
|
|
|
1729
1909
|
const [canvasContainerHeight, setCanvasContainerHeight] = useState(defaultCanvasHeight);
|
|
1730
1910
|
let imageWidth;
|
|
1731
1911
|
let imageHeight;
|
|
1912
|
+
const {
|
|
1913
|
+
t
|
|
1914
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
1915
|
+
const legendPrefix = t('webmap-react-legend');
|
|
1732
1916
|
/* Register callback to legendImagestore to trigger rerender when image is loaded. */
|
|
1733
1917
|
useEffect(() => {
|
|
1734
1918
|
legendImageStore.addImageEventCallback((image, id, imageEventType) => {
|
|
1735
1919
|
if (imageEventType === WMImageEventType.Loaded) {
|
|
1736
1920
|
setState(null);
|
|
1737
1921
|
}
|
|
1738
|
-
},
|
|
1922
|
+
}, `${legendPrefix}_${layerId}`);
|
|
1739
1923
|
return () => {
|
|
1740
|
-
legendImageStore.removeEventCallback(
|
|
1924
|
+
legendImageStore.removeEventCallback(`${legendPrefix}_${layerId}`);
|
|
1741
1925
|
};
|
|
1742
|
-
}, [layerId]);
|
|
1926
|
+
}, [layerId, legendPrefix]);
|
|
1743
1927
|
/* Should not do anything if no layer is given */
|
|
1744
1928
|
if (!layer) {
|
|
1745
1929
|
return null;
|
|
@@ -1834,6 +2018,9 @@ const LegendDialog = ({
|
|
|
1834
2018
|
order: _order = 0,
|
|
1835
2019
|
source: _source = 'app'
|
|
1836
2020
|
}) => {
|
|
2021
|
+
const {
|
|
2022
|
+
t
|
|
2023
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
1837
2024
|
return /*#__PURE__*/React.createElement(ToolContainerDraggable, {
|
|
1838
2025
|
startPosition: {
|
|
1839
2026
|
right: 20,
|
|
@@ -1872,7 +2059,7 @@ const LegendDialog = ({
|
|
|
1872
2059
|
fontWeight: 500,
|
|
1873
2060
|
fontSize: 14
|
|
1874
2061
|
}
|
|
1875
|
-
},
|
|
2062
|
+
}, t('webmap-react-no-layers')))));
|
|
1876
2063
|
};
|
|
1877
2064
|
|
|
1878
2065
|
var wellKnownSymbol$a = wellKnownSymbol$h;
|
|
@@ -1928,7 +2115,7 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
1928
2115
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1929
2116
|
|
|
1930
2117
|
var uncurryThis$e = functionUncurryThis;
|
|
1931
|
-
var requireObjectCoercible$3 = requireObjectCoercible$
|
|
2118
|
+
var requireObjectCoercible$3 = requireObjectCoercible$7;
|
|
1932
2119
|
var toString$8 = toString$9;
|
|
1933
2120
|
var whitespaces$1 = whitespaces$2;
|
|
1934
2121
|
|
|
@@ -1958,7 +2145,7 @@ var stringTrim = {
|
|
|
1958
2145
|
trim: createMethod$2(3)
|
|
1959
2146
|
};
|
|
1960
2147
|
|
|
1961
|
-
var global$c = global$
|
|
2148
|
+
var global$c = global$n;
|
|
1962
2149
|
var fails$e = fails$q;
|
|
1963
2150
|
var uncurryThis$d = functionUncurryThis;
|
|
1964
2151
|
var toString$7 = toString$9;
|
|
@@ -2281,7 +2468,7 @@ $$d({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
|
2281
2468
|
}
|
|
2282
2469
|
});
|
|
2283
2470
|
|
|
2284
|
-
var anObject$8 = anObject$
|
|
2471
|
+
var anObject$8 = anObject$d;
|
|
2285
2472
|
|
|
2286
2473
|
// `RegExp.prototype.flags` getter implementation
|
|
2287
2474
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
@@ -2314,7 +2501,7 @@ var regexpGetFlags = function (R) {
|
|
|
2314
2501
|
|
|
2315
2502
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
2316
2503
|
var defineBuiltIn$3 = defineBuiltIn$7;
|
|
2317
|
-
var anObject$7 = anObject$
|
|
2504
|
+
var anObject$7 = anObject$d;
|
|
2318
2505
|
var $toString = toString$9;
|
|
2319
2506
|
var fails$a = fails$q;
|
|
2320
2507
|
var getRegExpFlags = regexpGetFlags;
|
|
@@ -4679,6 +4866,9 @@ const FeatureLayers = ({
|
|
|
4679
4866
|
activeFeatureLayerIndex,
|
|
4680
4867
|
getToolIcon
|
|
4681
4868
|
}) => {
|
|
4869
|
+
const {
|
|
4870
|
+
t
|
|
4871
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
4682
4872
|
const featureLayerList = geojson ? Array.from(Array(geojson.features.length).keys()).map(index => {
|
|
4683
4873
|
var _a;
|
|
4684
4874
|
return {
|
|
@@ -4698,7 +4888,7 @@ const FeatureLayers = ({
|
|
|
4698
4888
|
}
|
|
4699
4889
|
}, /*#__PURE__*/React__default.createElement(InputLabel, {
|
|
4700
4890
|
id: "demo-feature-number"
|
|
4701
|
-
},
|
|
4891
|
+
}, t('webmap-react-features')), /*#__PURE__*/React__default.createElement(Select, {
|
|
4702
4892
|
labelId: "demo-feature-type",
|
|
4703
4893
|
value: (featureLayerList.length ? activeFeatureLayerIndex : '').toString(),
|
|
4704
4894
|
onChange: event => {
|
|
@@ -4743,16 +4933,19 @@ const EditModeButton = ({
|
|
|
4743
4933
|
drawMode,
|
|
4744
4934
|
onToggleEditMode
|
|
4745
4935
|
}) => {
|
|
4936
|
+
const {
|
|
4937
|
+
t
|
|
4938
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
4746
4939
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
4747
4940
|
item: true,
|
|
4748
4941
|
xs: 12
|
|
4749
4942
|
}, /*#__PURE__*/React__default.createElement(CustomTooltip, {
|
|
4750
4943
|
title: "Switch mode"
|
|
4751
|
-
}, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(FormLabel, null,
|
|
4944
|
+
}, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(FormLabel, null, t('webmap-react-view')), /*#__PURE__*/React__default.createElement(Switch, {
|
|
4752
4945
|
"data-testid": "switchMode",
|
|
4753
4946
|
checked: isInEditMode,
|
|
4754
4947
|
onClick: () => onToggleEditMode(!isInEditMode)
|
|
4755
|
-
}), /*#__PURE__*/React__default.createElement(FormLabel, null,
|
|
4948
|
+
}), /*#__PURE__*/React__default.createElement(FormLabel, null, t('webmap-react-edit')), drawMode && ( /*#__PURE__*/React__default.createElement(Typography, {
|
|
4756
4949
|
component: "span",
|
|
4757
4950
|
sx: {
|
|
4758
4951
|
display: 'inline-block',
|
|
@@ -4761,7 +4954,7 @@ const EditModeButton = ({
|
|
|
4761
4954
|
position: 'relative',
|
|
4762
4955
|
fontSize: 14
|
|
4763
4956
|
}
|
|
4764
|
-
},
|
|
4957
|
+
}, t('webmap-react-esc'))))));
|
|
4765
4958
|
};
|
|
4766
4959
|
|
|
4767
4960
|
/* *
|
|
@@ -5267,6 +5460,9 @@ const IntersectionSelect = ({
|
|
|
5267
5460
|
isDisabled: _isDisabled = false
|
|
5268
5461
|
}) => {
|
|
5269
5462
|
const [activeIntersection, setActiveIntersection] = React__default.useState(0);
|
|
5463
|
+
const {
|
|
5464
|
+
t
|
|
5465
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
5270
5466
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
5271
5467
|
item: true,
|
|
5272
5468
|
sm: 12
|
|
@@ -5277,7 +5473,7 @@ const IntersectionSelect = ({
|
|
|
5277
5473
|
}
|
|
5278
5474
|
}, /*#__PURE__*/React__default.createElement(InputLabel, {
|
|
5279
5475
|
id: "demo-intersection"
|
|
5280
|
-
},
|
|
5476
|
+
}, t('webmap-react-intersection-shapes')), /*#__PURE__*/React__default.createElement(Select, {
|
|
5281
5477
|
labelId: "demo-intersection",
|
|
5282
5478
|
value: activeIntersection.toString(),
|
|
5283
5479
|
onChange: event => {
|
|
@@ -5579,6 +5775,15 @@ const addSelectionTypeToGeoJSON = (geoJSON, selectionType) => {
|
|
|
5579
5775
|
selectionType
|
|
5580
5776
|
});
|
|
5581
5777
|
};
|
|
5778
|
+
const getFeatureExtent = geoJSON => {
|
|
5779
|
+
const turfBbox = turf.bbox(geoJSON);
|
|
5780
|
+
return {
|
|
5781
|
+
left: turfBbox[0],
|
|
5782
|
+
bottom: turfBbox[1],
|
|
5783
|
+
right: turfBbox[2],
|
|
5784
|
+
top: turfBbox[3]
|
|
5785
|
+
};
|
|
5786
|
+
};
|
|
5582
5787
|
|
|
5583
5788
|
const defaultIntersectionStyleProperties = Object.assign(Object.assign({}, defaultGeoJSONStyleProperties), {
|
|
5584
5789
|
'fill-opacity': 0.5
|
|
@@ -6406,7 +6611,7 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
6406
6611
|
};
|
|
6407
6612
|
|
|
6408
6613
|
var isCallable$6 = isCallable$n;
|
|
6409
|
-
var isObject$4 = isObject$
|
|
6614
|
+
var isObject$4 = isObject$d;
|
|
6410
6615
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
6411
6616
|
|
|
6412
6617
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -6430,7 +6635,7 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
6430
6635
|
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$4(argument);
|
|
6431
6636
|
};
|
|
6432
6637
|
|
|
6433
|
-
var isObject$3 = isObject$
|
|
6638
|
+
var isObject$3 = isObject$d;
|
|
6434
6639
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
6435
6640
|
|
|
6436
6641
|
// `InstallErrorCause` abstract operation
|
|
@@ -6548,7 +6753,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
6548
6753
|
|
|
6549
6754
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
6550
6755
|
var $$b = _export;
|
|
6551
|
-
var global$b = global$
|
|
6756
|
+
var global$b = global$n;
|
|
6552
6757
|
var apply$1 = functionApply;
|
|
6553
6758
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
6554
6759
|
|
|
@@ -6633,6 +6838,8 @@ var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
|
6633
6838
|
|
|
6634
6839
|
var $TypeError$8 = TypeError;
|
|
6635
6840
|
|
|
6841
|
+
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
|
|
6842
|
+
|
|
6636
6843
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
6637
6844
|
var createMethod$1 = function (IS_RIGHT) {
|
|
6638
6845
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
@@ -6640,6 +6847,7 @@ var createMethod$1 = function (IS_RIGHT) {
|
|
|
6640
6847
|
var self = IndexedObject(O);
|
|
6641
6848
|
var length = lengthOfArrayLike$2(O);
|
|
6642
6849
|
aCallable$6(callbackfn);
|
|
6850
|
+
if (length === 0 && argumentsLength < 2) throw new $TypeError$8(REDUCE_EMPTY);
|
|
6643
6851
|
var index = IS_RIGHT ? length - 1 : 0;
|
|
6644
6852
|
var i = IS_RIGHT ? -1 : 1;
|
|
6645
6853
|
if (argumentsLength < 2) while (true) {
|
|
@@ -6650,7 +6858,7 @@ var createMethod$1 = function (IS_RIGHT) {
|
|
|
6650
6858
|
}
|
|
6651
6859
|
index += i;
|
|
6652
6860
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
6653
|
-
throw new $TypeError$8(
|
|
6861
|
+
throw new $TypeError$8(REDUCE_EMPTY);
|
|
6654
6862
|
}
|
|
6655
6863
|
}
|
|
6656
6864
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -6669,7 +6877,7 @@ var arrayReduce = {
|
|
|
6669
6877
|
right: createMethod$1(true)
|
|
6670
6878
|
};
|
|
6671
6879
|
|
|
6672
|
-
var global$a = global$
|
|
6880
|
+
var global$a = global$n;
|
|
6673
6881
|
var classof$4 = classofRaw$2;
|
|
6674
6882
|
|
|
6675
6883
|
var engineIsNode = classof$4(global$a.process) === 'process';
|
|
@@ -6838,7 +7046,7 @@ var aConstructor$1 = function (argument) {
|
|
|
6838
7046
|
throw new $TypeError$6(tryToString$2(argument) + ' is not a constructor');
|
|
6839
7047
|
};
|
|
6840
7048
|
|
|
6841
|
-
var anObject$6 = anObject$
|
|
7049
|
+
var anObject$6 = anObject$d;
|
|
6842
7050
|
var aConstructor = aConstructor$1;
|
|
6843
7051
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
6844
7052
|
var wellKnownSymbol$7 = wellKnownSymbol$h;
|
|
@@ -6889,7 +7097,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
6889
7097
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
6890
7098
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
6891
7099
|
|
|
6892
|
-
var global$9 = global$
|
|
7100
|
+
var global$9 = global$n;
|
|
6893
7101
|
var apply = functionApply;
|
|
6894
7102
|
var bind$3 = functionBindContext;
|
|
6895
7103
|
var isCallable$4 = isCallable$n;
|
|
@@ -7006,7 +7214,7 @@ var task$1 = {
|
|
|
7006
7214
|
clear: clear
|
|
7007
7215
|
};
|
|
7008
7216
|
|
|
7009
|
-
var global$8 = global$
|
|
7217
|
+
var global$8 = global$n;
|
|
7010
7218
|
var DESCRIPTORS = descriptors;
|
|
7011
7219
|
|
|
7012
7220
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -7052,7 +7260,7 @@ var userAgent = engineUserAgent;
|
|
|
7052
7260
|
|
|
7053
7261
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
7054
7262
|
|
|
7055
|
-
var global$7 = global$
|
|
7263
|
+
var global$7 = global$n;
|
|
7056
7264
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
7057
7265
|
var bind$2 = functionBindContext;
|
|
7058
7266
|
var macrotask = task$1.set;
|
|
@@ -7146,7 +7354,7 @@ var perform$3 = function (exec) {
|
|
|
7146
7354
|
}
|
|
7147
7355
|
};
|
|
7148
7356
|
|
|
7149
|
-
var global$6 = global$
|
|
7357
|
+
var global$6 = global$n;
|
|
7150
7358
|
|
|
7151
7359
|
var promiseNativeConstructor = global$6.Promise;
|
|
7152
7360
|
|
|
@@ -7160,7 +7368,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
7160
7368
|
&& typeof window == 'object'
|
|
7161
7369
|
&& typeof document == 'object';
|
|
7162
7370
|
|
|
7163
|
-
var global$5 = global$
|
|
7371
|
+
var global$5 = global$n;
|
|
7164
7372
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
7165
7373
|
var isCallable$3 = isCallable$n;
|
|
7166
7374
|
var isForced = isForced_1;
|
|
@@ -7230,7 +7438,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
7230
7438
|
|
|
7231
7439
|
var $$7 = _export;
|
|
7232
7440
|
var IS_NODE = engineIsNode;
|
|
7233
|
-
var global$4 = global$
|
|
7441
|
+
var global$4 = global$n;
|
|
7234
7442
|
var call$9 = functionCall;
|
|
7235
7443
|
var defineBuiltIn$2 = defineBuiltIn$7;
|
|
7236
7444
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -7238,7 +7446,7 @@ var setToStringTag = setToStringTag$4;
|
|
|
7238
7446
|
var setSpecies = setSpecies$1;
|
|
7239
7447
|
var aCallable$3 = aCallable$a;
|
|
7240
7448
|
var isCallable$2 = isCallable$n;
|
|
7241
|
-
var isObject$2 = isObject$
|
|
7449
|
+
var isObject$2 = isObject$d;
|
|
7242
7450
|
var anInstance = anInstance$1;
|
|
7243
7451
|
var speciesConstructor$1 = speciesConstructor$2;
|
|
7244
7452
|
var task = task$1.set;
|
|
@@ -7542,7 +7750,7 @@ var getIteratorMethod$2 = function (it) {
|
|
|
7542
7750
|
|
|
7543
7751
|
var call$8 = functionCall;
|
|
7544
7752
|
var aCallable$2 = aCallable$a;
|
|
7545
|
-
var anObject$5 = anObject$
|
|
7753
|
+
var anObject$5 = anObject$d;
|
|
7546
7754
|
var tryToString$1 = tryToString$5;
|
|
7547
7755
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
7548
7756
|
|
|
@@ -7555,7 +7763,7 @@ var getIterator$1 = function (argument, usingIterator) {
|
|
|
7555
7763
|
};
|
|
7556
7764
|
|
|
7557
7765
|
var call$7 = functionCall;
|
|
7558
|
-
var anObject$4 = anObject$
|
|
7766
|
+
var anObject$4 = anObject$d;
|
|
7559
7767
|
var getMethod$1 = getMethod$4;
|
|
7560
7768
|
|
|
7561
7769
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
@@ -7580,7 +7788,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
7580
7788
|
|
|
7581
7789
|
var bind = functionBindContext;
|
|
7582
7790
|
var call$6 = functionCall;
|
|
7583
|
-
var anObject$3 = anObject$
|
|
7791
|
+
var anObject$3 = anObject$d;
|
|
7584
7792
|
var tryToString = tryToString$5;
|
|
7585
7793
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
7586
7794
|
var lengthOfArrayLike = lengthOfArrayLike$6;
|
|
@@ -7801,8 +8009,8 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
7801
8009
|
}
|
|
7802
8010
|
});
|
|
7803
8011
|
|
|
7804
|
-
var anObject$2 = anObject$
|
|
7805
|
-
var isObject$1 = isObject$
|
|
8012
|
+
var anObject$2 = anObject$d;
|
|
8013
|
+
var isObject$1 = isObject$d;
|
|
7806
8014
|
var newPromiseCapability = newPromiseCapability$2;
|
|
7807
8015
|
|
|
7808
8016
|
var promiseResolve$1 = function (C, x) {
|
|
@@ -7829,7 +8037,7 @@ $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
|
7829
8037
|
}
|
|
7830
8038
|
});
|
|
7831
8039
|
|
|
7832
|
-
var isObject = isObject$
|
|
8040
|
+
var isObject = isObject$d;
|
|
7833
8041
|
var classof$1 = classofRaw$2;
|
|
7834
8042
|
var wellKnownSymbol$2 = wellKnownSymbol$h;
|
|
7835
8043
|
|
|
@@ -7871,7 +8079,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
7871
8079
|
var $$1 = _export;
|
|
7872
8080
|
var uncurryThis$3 = functionUncurryThis;
|
|
7873
8081
|
var notARegExp = notARegexp;
|
|
7874
|
-
var requireObjectCoercible$2 = requireObjectCoercible$
|
|
8082
|
+
var requireObjectCoercible$2 = requireObjectCoercible$7;
|
|
7875
8083
|
var toString$3 = toString$9;
|
|
7876
8084
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
7877
8085
|
|
|
@@ -7905,6 +8113,10 @@ $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
|
|
|
7905
8113
|
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
7906
8114
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
7907
8115
|
* */
|
|
8116
|
+
const getCurrentDimensionValue = (name, dimensions = []) => {
|
|
8117
|
+
const currentDimension = dimensions.find(dim => dim.name === name);
|
|
8118
|
+
return currentDimension === null || currentDimension === void 0 ? void 0 : currentDimension.currentValue;
|
|
8119
|
+
};
|
|
7908
8120
|
const getLayerUpdateInfo = (wmLayer, mapId) => {
|
|
7909
8121
|
const origin = 'ReactMapViewParseLayer';
|
|
7910
8122
|
const map = webmapUtils.getWMJSMapById(mapId);
|
|
@@ -8084,6 +8296,10 @@ const addWMLayerPropsBasedOnChildProps = (child, mapId, props, onUpdateLayerInfo
|
|
|
8084
8296
|
const baseLayers = wmjsMap.getBaseLayers();
|
|
8085
8297
|
baseLayers.unshift(newWMLayer);
|
|
8086
8298
|
wmjsMap.setBaseLayers(baseLayers);
|
|
8299
|
+
// If this layer has a tileserver configured, add it to the map.
|
|
8300
|
+
if (child.tileServer) {
|
|
8301
|
+
wmjsMap.addWMTileRendererTileSetting(child.tileServer);
|
|
8302
|
+
}
|
|
8087
8303
|
} else {
|
|
8088
8304
|
/* Add ADAGUC WebMapJS Layer */
|
|
8089
8305
|
wmjsMap.addLayer(newWMLayer).then(() => {
|
|
@@ -8151,6 +8367,7 @@ const getDisplayText = currentAdagucTime => {
|
|
|
8151
8367
|
};
|
|
8152
8368
|
const ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION = 'ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION';
|
|
8153
8369
|
const ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO = 'ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO';
|
|
8370
|
+
const MINUTE_TO_MILLISECOND = 60000;
|
|
8154
8371
|
class ReactMapView extends React.Component {
|
|
8155
8372
|
constructor(props) {
|
|
8156
8373
|
super(props);
|
|
@@ -8164,14 +8381,16 @@ class ReactMapView extends React.Component {
|
|
|
8164
8381
|
};
|
|
8165
8382
|
this.refetchTimer = null;
|
|
8166
8383
|
this.onStartRefetchTimer = () => {
|
|
8384
|
+
const {
|
|
8385
|
+
shouldAutoFetch
|
|
8386
|
+
} = this.props;
|
|
8167
8387
|
/*
|
|
8168
8388
|
TODO, Maarten Plieger, 2021-09-02, https://gitlab.com/opengeoweb/opengeoweb/-/issues/1159:
|
|
8169
8389
|
This causes many issues, we should improve the update strategy.
|
|
8170
8390
|
Certain presets have >20 layers. This causes 20 times parsing the GetCapabilities for a minor update of the store.
|
|
8171
|
-
|
|
8172
8391
|
*/
|
|
8173
8392
|
this.clearRefetchTimer();
|
|
8174
|
-
const
|
|
8393
|
+
const autoFetchInterval = Number(shouldAutoFetch); // Default true -> 1 minute
|
|
8175
8394
|
this.refetchTimer = setInterval(() => {
|
|
8176
8395
|
const {
|
|
8177
8396
|
mapId
|
|
@@ -8195,7 +8414,7 @@ class ReactMapView extends React.Component {
|
|
|
8195
8414
|
});
|
|
8196
8415
|
}
|
|
8197
8416
|
});
|
|
8198
|
-
},
|
|
8417
|
+
}, Math.abs(autoFetchInterval) * MINUTE_TO_MILLISECOND);
|
|
8199
8418
|
};
|
|
8200
8419
|
this.clearRefetchTimer = () => {
|
|
8201
8420
|
if (this.refetchTimer) {
|
|
@@ -8347,6 +8566,9 @@ class ReactMapView extends React.Component {
|
|
|
8347
8566
|
if (!prevProps || prevProps.timestep !== props.timestep) {
|
|
8348
8567
|
wmjsMap.timestepInMinutes = props.timestep;
|
|
8349
8568
|
}
|
|
8569
|
+
if (!prevProps || prevProps.holdShiftToScroll !== props.holdShiftToScroll) {
|
|
8570
|
+
wmjsMap.holdShiftToScroll = !!props.holdShiftToScroll;
|
|
8571
|
+
}
|
|
8350
8572
|
/* Check map dimensions */
|
|
8351
8573
|
if (!prevProps || prevProps.dimensions !== props.dimensions) {
|
|
8352
8574
|
if (props.dimensions) {
|
|
@@ -8515,7 +8737,7 @@ class ReactMapView extends React.Component {
|
|
|
8515
8737
|
/* Check if webmapjs was not already initialized */
|
|
8516
8738
|
const existingWMJSMap = webmapUtils.getWMJSMapById(mapId);
|
|
8517
8739
|
if (existingWMJSMap) {
|
|
8518
|
-
console.warn(`Somehow ${mapId}
|
|
8740
|
+
console.warn(`Somehow ${mapId} already exists`);
|
|
8519
8741
|
webmapUtils.unRegisterWMJSMap(mapId);
|
|
8520
8742
|
}
|
|
8521
8743
|
const wmjsMap = new WMJSMap(this.adagucWebMapJSRef.current);
|
|
@@ -8746,16 +8968,19 @@ const ZoomControls = ({
|
|
|
8746
8968
|
onZoomOut,
|
|
8747
8969
|
onZoomReset
|
|
8748
8970
|
}) => {
|
|
8971
|
+
const {
|
|
8972
|
+
t
|
|
8973
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
8749
8974
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MapControlButton, {
|
|
8750
|
-
title:
|
|
8975
|
+
title: t('webmap-react-zoom-reset'),
|
|
8751
8976
|
"data-testid": "zoom-reset",
|
|
8752
8977
|
onClick: onZoomReset
|
|
8753
8978
|
}, /*#__PURE__*/React.createElement(Home, null)), /*#__PURE__*/React.createElement(MapControlButton, {
|
|
8754
|
-
title:
|
|
8979
|
+
title: t('webmap-react-zoom-in'),
|
|
8755
8980
|
"data-testid": "zoom-in",
|
|
8756
8981
|
onClick: onZoomIn
|
|
8757
8982
|
}, /*#__PURE__*/React.createElement(Add, null)), /*#__PURE__*/React.createElement(MapControlButton, {
|
|
8758
|
-
title:
|
|
8983
|
+
title: t('webmap-react-zoom-out'),
|
|
8759
8984
|
"data-testid": "zoom-out",
|
|
8760
8985
|
onClick: onZoomOut
|
|
8761
8986
|
}, /*#__PURE__*/React.createElement(Minus, null)));
|
|
@@ -9191,6 +9416,9 @@ const MapWarningProperties = ({
|
|
|
9191
9416
|
}) => {
|
|
9192
9417
|
const language = languageIndex || 0;
|
|
9193
9418
|
const newWidth = parentSize ? parentSize - 100 : 350;
|
|
9419
|
+
const {
|
|
9420
|
+
t
|
|
9421
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
9194
9422
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
9195
9423
|
style: {
|
|
9196
9424
|
position: 'fixed',
|
|
@@ -9215,15 +9443,15 @@ const MapWarningProperties = ({
|
|
|
9215
9443
|
"data-testid": "map-warning-properties-title"
|
|
9216
9444
|
}, selectedFeatureProperties.languages && selectedFeatureProperties.languages[language].areaDesc), selectedFeatureProperties.languages && selectedFeatureProperties.languages[language].areaDesc && ( /*#__PURE__*/React__default.createElement("pre", {
|
|
9217
9445
|
"data-testid": "map-warning-properties-row"
|
|
9218
|
-
},
|
|
9446
|
+
}, t('webmap-react-event'), ' ', selectedFeatureProperties.languages && selectedFeatureProperties.languages[language].event)), selectedFeatureProperties.onset && ( /*#__PURE__*/React__default.createElement("pre", {
|
|
9219
9447
|
"data-testid": "map-warning-properties-row"
|
|
9220
|
-
},
|
|
9448
|
+
}, t('webmap-react-sent'), ' ', dateUtils.dateToString(dateUtils.utc(selectedFeatureProperties.onset), 'dd MMM yyyy, HH:mm'), ' ', t('webmap-react-utc'))), selectedFeatureProperties.expires && ( /*#__PURE__*/React__default.createElement("pre", {
|
|
9221
9449
|
"data-testid": "map-warning-properties-row"
|
|
9222
|
-
},
|
|
9450
|
+
}, t('webmap-react-expires'), ' ', dateUtils.dateToString(dateUtils.utc(selectedFeatureProperties.expires), 'dd MMM yyyy, HH:mm'), ' ', t('webmap-react-utc'))), selectedFeatureProperties.languages && selectedFeatureProperties.languages[language].senderName && ( /*#__PURE__*/React__default.createElement("pre", {
|
|
9223
9451
|
"data-testid": "map-warning-properties-row"
|
|
9224
|
-
},
|
|
9452
|
+
}, t('webmap-react-sender'), ' ', selectedFeatureProperties.languages && selectedFeatureProperties.languages[language].senderName)), selectedFeatureProperties.identifier && ( /*#__PURE__*/React__default.createElement("pre", {
|
|
9225
9453
|
"data-testid": "map-warning-properties-row"
|
|
9226
|
-
},
|
|
9454
|
+
}, t('webmap-react-identifier'), ' ', selectedFeatureProperties.identifier))));
|
|
9227
9455
|
};
|
|
9228
9456
|
|
|
9229
9457
|
const dimensionConfig = [{
|
|
@@ -9296,9 +9524,13 @@ const DimensionSelectButton = ({
|
|
|
9296
9524
|
onClickDimensionButton,
|
|
9297
9525
|
isActive: _isActive = false
|
|
9298
9526
|
}) => {
|
|
9527
|
+
const {
|
|
9528
|
+
t
|
|
9529
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
9530
|
+
const showPrefix = t('webmap-react-show');
|
|
9299
9531
|
const dimConfig = dimensionConfig.find(cnf => cnf.name === dimension);
|
|
9300
9532
|
const Icon = getDimensionIcon$1(dimConfig && dimConfig.iconType || 'IconLevels');
|
|
9301
|
-
const title =
|
|
9533
|
+
const title = `${showPrefix} ${dimConfig ? dimConfig.label.toLowerCase() : dimension.toLowerCase()}`;
|
|
9302
9534
|
return /*#__PURE__*/React.createElement(MapControlButton, {
|
|
9303
9535
|
title: title,
|
|
9304
9536
|
"data-testid": `dimensionMapBtn-${dimension}`,
|
|
@@ -9482,7 +9714,11 @@ const MapDimensionSelect = ({
|
|
|
9482
9714
|
const layerTitle = wmLayer.title;
|
|
9483
9715
|
const marks = marksByDimension(wmsDimension);
|
|
9484
9716
|
const isLayerDimensionSynced = layerDimension.synced !== undefined && layerDimension.synced === true;
|
|
9485
|
-
|
|
9717
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
9718
|
+
const {
|
|
9719
|
+
t
|
|
9720
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
9721
|
+
const tooltipTitle = isLayerDimensionSynced ? t('webmap-react-click-disconnect') : t('webmap-react-click-connect');
|
|
9486
9722
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
9487
9723
|
key: layerId,
|
|
9488
9724
|
item: true,
|
|
@@ -9612,10 +9848,13 @@ const LayerInfoLegend = ({
|
|
|
9612
9848
|
dimensions,
|
|
9613
9849
|
legendURL
|
|
9614
9850
|
}) => {
|
|
9851
|
+
const {
|
|
9852
|
+
t
|
|
9853
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
9615
9854
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
9616
9855
|
variant: "subtitle2",
|
|
9617
9856
|
sx: textStyleWithMargin
|
|
9618
|
-
},
|
|
9857
|
+
}, t('webmap-react-legend')), /*#__PURE__*/React__default.createElement(LegendLayout, {
|
|
9619
9858
|
title: title,
|
|
9620
9859
|
name: name,
|
|
9621
9860
|
dimensions: dimensions
|
|
@@ -9626,7 +9865,7 @@ const LayerInfoLegend = ({
|
|
|
9626
9865
|
};
|
|
9627
9866
|
|
|
9628
9867
|
var fails$4 = fails$q;
|
|
9629
|
-
var global$3 = global$
|
|
9868
|
+
var global$3 = global$n;
|
|
9630
9869
|
|
|
9631
9870
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
9632
9871
|
var $RegExp$2 = global$3.RegExp;
|
|
@@ -9657,7 +9896,7 @@ var regexpStickyHelpers = {
|
|
|
9657
9896
|
};
|
|
9658
9897
|
|
|
9659
9898
|
var fails$3 = fails$q;
|
|
9660
|
-
var global$2 = global$
|
|
9899
|
+
var global$2 = global$n;
|
|
9661
9900
|
|
|
9662
9901
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
9663
9902
|
var $RegExp$1 = global$2.RegExp;
|
|
@@ -9668,7 +9907,7 @@ var regexpUnsupportedDotAll = fails$3(function () {
|
|
|
9668
9907
|
});
|
|
9669
9908
|
|
|
9670
9909
|
var fails$2 = fails$q;
|
|
9671
|
-
var global$1 = global$
|
|
9910
|
+
var global$1 = global$n;
|
|
9672
9911
|
|
|
9673
9912
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
9674
9913
|
var $RegExp = global$1.RegExp;
|
|
@@ -9686,7 +9925,7 @@ var uncurryThis$2 = functionUncurryThis;
|
|
|
9686
9925
|
var toString$2 = toString$9;
|
|
9687
9926
|
var regexpFlags = regexpFlags$1;
|
|
9688
9927
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
9689
|
-
var shared = shared$4
|
|
9928
|
+
var shared = shared$4;
|
|
9690
9929
|
var create = objectCreate;
|
|
9691
9930
|
var getInternalState = internalState.get;
|
|
9692
9931
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
@@ -9884,7 +10123,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
9884
10123
|
var uncurryThis$1 = functionUncurryThis;
|
|
9885
10124
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
9886
10125
|
var toString$1 = toString$9;
|
|
9887
|
-
var requireObjectCoercible$1 = requireObjectCoercible$
|
|
10126
|
+
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
9888
10127
|
|
|
9889
10128
|
var charAt$1 = uncurryThis$1(''.charAt);
|
|
9890
10129
|
var charCodeAt = uncurryThis$1(''.charCodeAt);
|
|
@@ -9927,7 +10166,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
9927
10166
|
};
|
|
9928
10167
|
|
|
9929
10168
|
var call$1 = functionCall;
|
|
9930
|
-
var anObject$1 = anObject$
|
|
10169
|
+
var anObject$1 = anObject$d;
|
|
9931
10170
|
var isCallable = isCallable$n;
|
|
9932
10171
|
var classof = classofRaw$2;
|
|
9933
10172
|
var regexpExec = regexpExec$2;
|
|
@@ -9950,9 +10189,9 @@ var regexpExecAbstract = function (R, S) {
|
|
|
9950
10189
|
var call = functionCall;
|
|
9951
10190
|
var uncurryThis = functionUncurryThis;
|
|
9952
10191
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
9953
|
-
var anObject = anObject$
|
|
10192
|
+
var anObject = anObject$d;
|
|
9954
10193
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
9955
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
10194
|
+
var requireObjectCoercible = requireObjectCoercible$7;
|
|
9956
10195
|
var speciesConstructor = speciesConstructor$2;
|
|
9957
10196
|
var advanceStringIndex = advanceStringIndex$1;
|
|
9958
10197
|
var toLength = toLength$2;
|
|
@@ -10162,6 +10401,9 @@ const LayerInfoDialog = ({
|
|
|
10162
10401
|
const styles = getLayerStyles(layer);
|
|
10163
10402
|
const bbox = getLayerBbox(layer);
|
|
10164
10403
|
const dimensions = getDimensionsList(layer.dimensions);
|
|
10404
|
+
const {
|
|
10405
|
+
t
|
|
10406
|
+
} = useTranslation(WEBMAP_REACT_NAMESPACE);
|
|
10165
10407
|
return /*#__PURE__*/React__default.createElement(ToolContainerDraggable, {
|
|
10166
10408
|
onClose: onClose,
|
|
10167
10409
|
startSize: {
|
|
@@ -10172,7 +10414,7 @@ const LayerInfoDialog = ({
|
|
|
10172
10414
|
top: 150,
|
|
10173
10415
|
left: 900
|
|
10174
10416
|
},
|
|
10175
|
-
title:
|
|
10417
|
+
title: t('webmap-react-layer-info'),
|
|
10176
10418
|
isOpen: isOpen,
|
|
10177
10419
|
onMouseDown: _onMouseDown,
|
|
10178
10420
|
order: _order,
|
|
@@ -10182,31 +10424,33 @@ const LayerInfoDialog = ({
|
|
|
10182
10424
|
padding: 2
|
|
10183
10425
|
}
|
|
10184
10426
|
}, /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10185
|
-
label:
|
|
10427
|
+
label: t('webmap-react-title'),
|
|
10186
10428
|
value: layer.title
|
|
10187
10429
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10188
|
-
label:
|
|
10430
|
+
label: t('webmap-react-name'),
|
|
10189
10431
|
value: layer.name
|
|
10190
10432
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10191
|
-
label:
|
|
10433
|
+
label: t('webmap-react-service'),
|
|
10192
10434
|
value: serviceName
|
|
10193
10435
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10194
|
-
label:
|
|
10436
|
+
label: t('webmap-react-abstract'),
|
|
10195
10437
|
value: layer.abstract || '-'
|
|
10196
10438
|
}), /*#__PURE__*/React__default.createElement(LayerInfoList, {
|
|
10197
|
-
label:
|
|
10439
|
+
label: t('webmap-react-dimensions'),
|
|
10198
10440
|
list: dimensions
|
|
10199
10441
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10200
|
-
label:
|
|
10442
|
+
label: t('webmap-react-styles'),
|
|
10201
10443
|
value: styles
|
|
10202
10444
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10203
|
-
label:
|
|
10445
|
+
label: t('webmap-react-bounding-box', {
|
|
10446
|
+
ns: WEBMAP_REACT_NAMESPACE
|
|
10447
|
+
}),
|
|
10204
10448
|
value: bbox
|
|
10205
10449
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10206
|
-
label:
|
|
10450
|
+
label: t('webmap-react-groups'),
|
|
10207
10451
|
value: ((_a = layer.path) === null || _a === void 0 ? void 0 : _a.join('/')) || '-'
|
|
10208
10452
|
}), /*#__PURE__*/React__default.createElement(LayerInfoText, {
|
|
10209
|
-
label:
|
|
10453
|
+
label: t('webmap-react-keywords'),
|
|
10210
10454
|
value: ((_b = layer.keywords) === null || _b === void 0 ? void 0 : _b.join(', ')) || '-'
|
|
10211
10455
|
}), /*#__PURE__*/React__default.createElement(LayerInfoLegend, {
|
|
10212
10456
|
title: layer.title,
|
|
@@ -10254,9 +10498,9 @@ const overLayer = {
|
|
|
10254
10498
|
};
|
|
10255
10499
|
|
|
10256
10500
|
var defaultLayers = /*#__PURE__*/Object.freeze({
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10501
|
+
__proto__: null,
|
|
10502
|
+
baseLayerGrey: baseLayerGrey,
|
|
10503
|
+
overLayer: overLayer
|
|
10260
10504
|
});
|
|
10261
10505
|
|
|
10262
10506
|
/* *
|
|
@@ -10372,26 +10616,26 @@ const MeteoCanada = {
|
|
|
10372
10616
|
};
|
|
10373
10617
|
|
|
10374
10618
|
var publicServices = /*#__PURE__*/Object.freeze({
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10619
|
+
__proto__: null,
|
|
10620
|
+
DWD: DWD,
|
|
10621
|
+
nationaalgeoregister: nationaalgeoregister,
|
|
10622
|
+
KNMImsgcpp: KNMImsgcpp,
|
|
10623
|
+
HeiGit: HeiGit,
|
|
10624
|
+
ArcGisCanvas: ArcGisCanvas,
|
|
10625
|
+
KNMIgeoservicesRadar: KNMIgeoservicesRadar,
|
|
10626
|
+
KNMIgeoservicesObs: KNMIgeoservicesObs,
|
|
10627
|
+
KNMIgeoservicesKlimaatAtlas: KNMIgeoservicesKlimaatAtlas,
|
|
10628
|
+
KNMIgeoservicesHarmonie: KNMIgeoservicesHarmonie,
|
|
10629
|
+
KNMIgeoservicesHarmonieMLService: KNMIgeoservicesHarmonieMLService,
|
|
10630
|
+
MetNorwayService: MetNorwayService,
|
|
10631
|
+
FMIopenwms: FMIopenwms,
|
|
10632
|
+
DWDObservations: DWDObservations,
|
|
10633
|
+
DWDWarnings: DWDWarnings,
|
|
10634
|
+
DWDWXProdukt: DWDWXProdukt,
|
|
10635
|
+
EUMETSAT: EUMETSAT,
|
|
10636
|
+
eumetviewEUMETSAT: eumetviewEUMETSAT,
|
|
10637
|
+
ECMWFPublicService: ECMWFPublicService,
|
|
10638
|
+
MeteoCanada: MeteoCanada
|
|
10395
10639
|
});
|
|
10396
10640
|
|
|
10397
10641
|
/* *
|
|
@@ -10731,49 +10975,49 @@ const msgNaturalEUMETSAT = {
|
|
|
10731
10975
|
};
|
|
10732
10976
|
|
|
10733
10977
|
var publicLayers = /*#__PURE__*/Object.freeze({
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10978
|
+
__proto__: null,
|
|
10979
|
+
defaultLayers: defaultLayers,
|
|
10980
|
+
baseLayer: baseLayer,
|
|
10981
|
+
baseLayerOpenStreetMapNL: baseLayerOpenStreetMapNL,
|
|
10982
|
+
baseLayerArcGisCanvas: baseLayerArcGisCanvas,
|
|
10983
|
+
baseLayerWorldMap: baseLayerWorldMap,
|
|
10984
|
+
baseLayerHeiGit: baseLayerHeiGit,
|
|
10985
|
+
msgCppLayer: msgCppLayer,
|
|
10986
|
+
veiligheidsRegiosGebiedsIndelingenLabels: veiligheidsRegiosGebiedsIndelingenLabels,
|
|
10987
|
+
veiligheidsRegiosGebiedsIndelingen: veiligheidsRegiosGebiedsIndelingen,
|
|
10988
|
+
radarLayer: radarLayer,
|
|
10989
|
+
radarLayerWithError: radarLayerWithError,
|
|
10990
|
+
obsAirTemperature: obsAirTemperature,
|
|
10991
|
+
obsWind: obsWind,
|
|
10992
|
+
obsAirPressureAtSeaLevel: obsAirPressureAtSeaLevel,
|
|
10993
|
+
obsRelativeHumidity: obsRelativeHumidity,
|
|
10994
|
+
obsGlobalSolarRadiation: obsGlobalSolarRadiation,
|
|
10995
|
+
obsPrecipitationIntensityPWS: obsPrecipitationIntensityPWS,
|
|
10996
|
+
harmonieRelativeHumidityPl: harmonieRelativeHumidityPl,
|
|
10997
|
+
harmonieWindPl: harmonieWindPl,
|
|
10998
|
+
harmonieAirTemperature: harmonieAirTemperature,
|
|
10999
|
+
harmoniePrecipitation: harmoniePrecipitation,
|
|
11000
|
+
harmoniePressure: harmoniePressure,
|
|
11001
|
+
harmonieWindFlags: harmonieWindFlags,
|
|
11002
|
+
klimaatAtlasTG3: klimaatAtlasTG3,
|
|
11003
|
+
dwdWarningLayer: dwdWarningLayer,
|
|
11004
|
+
dwdRadarLayer: dwdRadarLayer,
|
|
11005
|
+
dwdObservationsWetterLayer: dwdObservationsWetterLayer,
|
|
11006
|
+
dwdObservationsWetterLayerWithHeader: dwdObservationsWetterLayerWithHeader,
|
|
11007
|
+
dwdObservationsWindLayer: dwdObservationsWindLayer,
|
|
11008
|
+
FMITemp: FMITemp,
|
|
11009
|
+
MetNoTemp: MetNoTemp,
|
|
11010
|
+
metNorwayWind1: metNorwayWind1,
|
|
11011
|
+
metNorwayWind2: metNorwayWind2,
|
|
11012
|
+
metNorwayWind3: metNorwayWind3,
|
|
11013
|
+
metNorwayLatestT: metNorwayLatestT,
|
|
11014
|
+
metNorwaySalinaty: metNorwaySalinaty,
|
|
11015
|
+
msgFesEUMETSAT: msgFesEUMETSAT,
|
|
11016
|
+
msgNaturalenhncdEUMETSAT: msgNaturalenhncdEUMETSAT,
|
|
11017
|
+
msgAshEUMETSAT: msgAshEUMETSAT,
|
|
11018
|
+
msgCthEUMETSAT: msgCthEUMETSAT,
|
|
11019
|
+
msgFogEUMETSAT: msgFogEUMETSAT,
|
|
11020
|
+
msgNaturalEUMETSAT: msgNaturalEUMETSAT
|
|
10777
11021
|
});
|
|
10778
11022
|
|
|
10779
|
-
export { DRAWMODE, DimensionSelectButton, DimensionSelectDialog, DimensionSelectSlider, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, IntersectionSelect, LayerInfoButton, LayerInfoDialog, LayerInfoLegend, LayerInfoList, LayerInfoText, Legend, LegendDialog, LegendLayout, 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, ZoomControls, addFeatureProperties, addGeoJSONProperties, addSelectionTypeToGeoJSON, 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, getDimensionIcon, getDimensionLabel, getDimensionValue, getDimensionsList, getDoubleControlToolIcon, getDrawFunctionFromStore, getFeatureCollection, getFirTitle, getGeoJSONPropertyValue, getGeoJson, getIcon, getIntersectionToolIcon, getLastEmptyFeatureIndex, getLayerBbox, getLayerStyles, getTimeDimension, getToolIcon, intersectPointGeoJSONS, intersectPolygonGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isGeoJSONFeatureCreatedByTool, isPointFeatureCollection, lineString, marksByDimension, moveFeature, opacityOptions, publicLayers, publicServices, registerDrawFunction, rewindGeometry, simpleBoxGeoJSON, simpleBoxGeoJSONWrongOrder, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, startToolExampleConfig, strokeWidthOptions, textStyle, textStyleWithMargin, updateEditModeButtonsWithFir, useGeoJSON, useMapDrawTool };
|
|
11023
|
+
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 };
|