@opengeoweb/core 12.10.0 → 12.12.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.
Files changed (32) hide show
  1. package/index.esm.js +518 -354
  2. package/package.json +13 -10
  3. package/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -0
  4. package/src/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +1 -1
  5. package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +1 -0
  6. package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +1 -1
  7. package/src/lib/components/EDR/EDRReduxStoreLayer.stories.d.ts +15 -0
  8. package/src/lib/components/EDR/TimeawareEDRLocation.stories.d.ts +11 -2
  9. package/src/lib/components/LanguageSelect/Languages.stories.d.ts +1 -1
  10. package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.stories.d.ts +1 -1
  11. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -1
  12. package/src/lib/components/LayerManager/LayerManager.stories.d.ts +1 -1
  13. package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +1 -1
  14. package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +0 -1
  15. package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +1 -1
  16. package/src/lib/components/LayerManager/OverlayersRow/OverlayersSelect.d.ts +11 -3
  17. package/src/lib/components/LayerManager/OverlayersRow/OverlayersSelectConnect.d.ts +4 -1
  18. package/src/lib/components/LocationSearch/LocationSearch.stories.d.ts +1 -1
  19. package/src/lib/components/LocationSearch/LocationSearchConnect.stories.d.ts +1 -1
  20. package/src/lib/components/LocationSearch/index.d.ts +1 -0
  21. package/src/lib/components/LocationSearch/types.d.ts +1 -0
  22. package/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +1 -0
  23. package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +5 -5
  24. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +4 -4
  25. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +3 -3
  26. package/src/lib/components/TimeSliderConnect/TimeSliderConnect.stories.d.ts +1 -1
  27. package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +2 -2
  28. package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +4 -4
  29. package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -1
  30. package/src/lib/index.d.ts +2 -0
  31. package/src/lib/utils/location-api/fakeApi.d.ts +13 -0
  32. package/src/lib/utils/storyUtils.d.ts +0 -1
package/index.esm.js CHANGED
@@ -15,7 +15,7 @@ import { layerTypes, layerUtils, mapSelectors, layerActions, layerSelectors, ser
15
15
  import { webmapUtils, queryWMSServiceInfo, queryWMSLayers, queryWMSLayersTree, invalidateWMSGetCapabilities, LayerType, getWMSServiceId, handleDateUtilsISOString, getMapDimURL, generateLayerId, WMJSDimension, getWMLayerById, WMLayer } from '@opengeoweb/webmap';
16
16
  import _, { isArray, isEqual, range } from 'lodash';
17
17
  import { Box as Box$1, styled as styled$1 } from '@mui/system';
18
- import { LayerSelectButtonConnect, LayerSelectConnect } from '@opengeoweb/layer-select';
18
+ import { LayerSelectButtonConnect, LayerSelectConnect, DataExplorerButtonConnect } from '@opengeoweb/layer-select';
19
19
  import { unByKey } from 'ol/Observable';
20
20
  import axios from 'axios';
21
21
  import { ImageWMS } from 'ol/source';
@@ -28,6 +28,7 @@ import { getIntersection } from 'ol/extent';
28
28
  import { snackbarTypes, snackbarActions, SnackbarWrapperConnect } from '@opengeoweb/snackbar';
29
29
  import { useNavigate } from 'react-router-dom';
30
30
  import * as Sentry from '@sentry/react';
31
+ import { http, HttpResponse, passthrough } from 'msw';
31
32
  import Card from '@mui/material/Card';
32
33
  import CardContent from '@mui/material/CardContent';
33
34
  import Typography$1 from '@mui/material/Typography';
@@ -354,6 +355,9 @@ var coreTranslations = {
354
355
  nl: nl
355
356
  };
356
357
 
358
+ function _OverloadYield(e, d) {
359
+ this.v = e, this.k = d;
360
+ }
357
361
  function _arrayLikeToArray(r, a) {
358
362
  (null == a || a > r.length) && (a = r.length);
359
363
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
@@ -410,306 +414,180 @@ function _objectWithoutPropertiesLoose(r, e) {
410
414
  }
411
415
  return t;
412
416
  }
413
- function _regeneratorRuntime() {
414
- _regeneratorRuntime = function () {
415
- return e;
416
- };
417
- var t,
418
- e = {},
419
- r = Object.prototype,
420
- n = r.hasOwnProperty,
421
- o = Object.defineProperty || function (t, e, r) {
422
- t[e] = r.value;
423
- },
424
- i = "function" == typeof Symbol ? Symbol : {},
425
- a = i.iterator || "@@iterator",
426
- c = i.asyncIterator || "@@asyncIterator",
427
- u = i.toStringTag || "@@toStringTag";
428
- function define(t, e, r) {
429
- return Object.defineProperty(t, e, {
430
- value: r,
431
- enumerable: true,
432
- configurable: true,
433
- writable: true
434
- }), t[e];
435
- }
436
- try {
437
- define({}, "");
438
- } catch (t) {
439
- define = function (t, e, r) {
440
- return t[e] = r;
441
- };
442
- }
443
- function wrap(t, e, r, n) {
444
- var i = e && e.prototype instanceof Generator ? e : Generator,
445
- a = Object.create(i.prototype),
446
- c = new Context(n || []);
447
- return o(a, "_invoke", {
448
- value: makeInvokeMethod(t, r, c)
449
- }), a;
450
- }
451
- function tryCatch(t, e, r) {
452
- try {
453
- return {
454
- type: "normal",
455
- arg: t.call(e, r)
456
- };
457
- } catch (t) {
458
- return {
459
- type: "throw",
460
- arg: t
417
+ function _regenerator() {
418
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
419
+ var e,
420
+ t,
421
+ r = "function" == typeof Symbol ? Symbol : {},
422
+ n = r.iterator || "@@iterator",
423
+ o = r.toStringTag || "@@toStringTag";
424
+ function i(r, n, o, i) {
425
+ var c = n && n.prototype instanceof Generator ? n : Generator,
426
+ u = Object.create(c.prototype);
427
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
428
+ var i,
429
+ c,
430
+ u,
431
+ f = 0,
432
+ p = o || [],
433
+ y = false,
434
+ G = {
435
+ p: 0,
436
+ n: 0,
437
+ v: e,
438
+ a: d,
439
+ f: d.bind(e, 4),
440
+ d: function (t, r) {
441
+ return i = t, c = 0, u = e, G.n = r, a;
442
+ }
443
+ };
444
+ function d(r, n) {
445
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
446
+ var o,
447
+ i = p[t],
448
+ d = G.p,
449
+ l = i[2];
450
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
451
+ }
452
+ if (o || r > 1) return a;
453
+ throw y = true, n;
454
+ }
455
+ return function (o, p, l) {
456
+ if (f > 1) throw TypeError("Generator is already running");
457
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
458
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
459
+ try {
460
+ if (f = 2, i) {
461
+ if (c || (o = "next"), t = i[o]) {
462
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
463
+ if (!t.done) return t;
464
+ u = t.value, c < 2 && (c = 0);
465
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
466
+ i = e;
467
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
468
+ } catch (t) {
469
+ i = e, c = 1, u = t;
470
+ } finally {
471
+ f = 1;
472
+ }
473
+ }
474
+ return {
475
+ value: t,
476
+ done: y
477
+ };
461
478
  };
462
- }
479
+ }(r, o, i), true), u;
463
480
  }
464
- e.wrap = wrap;
465
- var h = "suspendedStart",
466
- l = "suspendedYield",
467
- f = "executing",
468
- s = "completed",
469
- y = {};
481
+ var a = {};
470
482
  function Generator() {}
471
483
  function GeneratorFunction() {}
472
484
  function GeneratorFunctionPrototype() {}
473
- var p = {};
474
- define(p, a, function () {
485
+ t = Object.getPrototypeOf;
486
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
487
+ return this;
488
+ }), t),
489
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
490
+ function f(e) {
491
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
492
+ }
493
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
475
494
  return this;
495
+ }), _regeneratorDefine(u, "toString", function () {
496
+ return "[object Generator]";
497
+ }), (_regenerator = function () {
498
+ return {
499
+ w: i,
500
+ m: f
501
+ };
502
+ })();
503
+ }
504
+ function _regeneratorAsync(n, e, r, t, o) {
505
+ var a = _regeneratorAsyncGen(n, e, r, t, o);
506
+ return a.next().then(function (n) {
507
+ return n.done ? n.value : a.next();
476
508
  });
477
- var d = Object.getPrototypeOf,
478
- v = d && d(d(values([])));
479
- v && v !== r && n.call(v, a) && (p = v);
480
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
481
- function defineIteratorMethods(t) {
482
- ["next", "throw", "return"].forEach(function (e) {
483
- define(t, e, function (t) {
484
- return this._invoke(e, t);
509
+ }
510
+ function _regeneratorAsyncGen(r, e, t, o, n) {
511
+ return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise);
512
+ }
513
+ function _regeneratorAsyncIterator(t, e) {
514
+ function n(r, o, i, f) {
515
+ try {
516
+ var c = t[r](o),
517
+ u = c.value;
518
+ return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) {
519
+ n("next", t, i, f);
520
+ }, function (t) {
521
+ n("throw", t, i, f);
522
+ }) : e.resolve(u).then(function (t) {
523
+ c.value = t, i(c);
524
+ }, function (t) {
525
+ return n("throw", t, i, f);
485
526
  });
486
- });
527
+ } catch (t) {
528
+ f(t);
529
+ }
530
+ }
531
+ var r;
532
+ this.next || (_regeneratorDefine(_regeneratorAsyncIterator.prototype), _regeneratorDefine(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
533
+ return this;
534
+ })), _regeneratorDefine(this, "_invoke", function (t, o, i) {
535
+ function f() {
536
+ return new e(function (e, r) {
537
+ n(t, i, e, r);
538
+ });
539
+ }
540
+ return r = r ? r.then(f, f) : f();
541
+ }, true);
542
+ }
543
+ function _regeneratorDefine(e, r, n, t) {
544
+ var i = Object.defineProperty;
545
+ try {
546
+ i({}, "", {});
547
+ } catch (e) {
548
+ i = 0;
487
549
  }
488
- function AsyncIterator(t, e) {
489
- function invoke(r, o, i, a) {
490
- var c = tryCatch(t[r], t, o);
491
- if ("throw" !== c.type) {
492
- var u = c.arg,
493
- h = u.value;
494
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
495
- invoke("next", t, i, a);
496
- }, function (t) {
497
- invoke("throw", t, i, a);
498
- }) : e.resolve(h).then(function (t) {
499
- u.value = t, i(u);
500
- }, function (t) {
501
- return invoke("throw", t, i, a);
550
+ _regeneratorDefine = function (e, r, n, t) {
551
+ if (r) i ? i(e, r, {
552
+ value: n,
553
+ enumerable: !t,
554
+ configurable: !t,
555
+ writable: !t
556
+ }) : e[r] = n;else {
557
+ function o(r, n) {
558
+ _regeneratorDefine(e, r, function (e) {
559
+ return this._invoke(r, n, e);
502
560
  });
503
561
  }
504
- a(c.arg);
562
+ o("next", 0), o("throw", 1), o("return", 2);
505
563
  }
506
- var r;
507
- o(this, "_invoke", {
508
- value: function (t, n) {
509
- function callInvokeWithMethodAndArg() {
510
- return new e(function (e, r) {
511
- invoke(t, n, e, r);
512
- });
513
- }
514
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
515
- }
516
- });
517
- }
518
- function makeInvokeMethod(e, r, n) {
519
- var o = h;
520
- return function (i, a) {
521
- if (o === f) throw Error("Generator is already running");
522
- if (o === s) {
523
- if ("throw" === i) throw a;
524
- return {
525
- value: t,
526
- done: true
564
+ }, _regeneratorDefine(e, r, n, t);
565
+ }
566
+ function _regeneratorKeys(e) {
567
+ var n = Object(e),
568
+ r = [];
569
+ for (var t in n) r.unshift(t);
570
+ return function e() {
571
+ for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = false, e;
572
+ return e.done = true, e;
573
+ };
574
+ }
575
+ function _regeneratorValues(e) {
576
+ if (null != e) {
577
+ var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
578
+ r = 0;
579
+ if (t) return t.call(e);
580
+ if ("function" == typeof e.next) return e;
581
+ if (!isNaN(e.length)) return {
582
+ next: function () {
583
+ return e && r >= e.length && (e = void 0), {
584
+ value: e && e[r++],
585
+ done: !e
527
586
  };
528
587
  }
529
- for (n.method = i, n.arg = a;;) {
530
- var c = n.delegate;
531
- if (c) {
532
- var u = maybeInvokeDelegate(c, n);
533
- if (u) {
534
- if (u === y) continue;
535
- return u;
536
- }
537
- }
538
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
539
- if (o === h) throw o = s, n.arg;
540
- n.dispatchException(n.arg);
541
- } else "return" === n.method && n.abrupt("return", n.arg);
542
- o = f;
543
- var p = tryCatch(e, r, n);
544
- if ("normal" === p.type) {
545
- if (o = n.done ? s : l, p.arg === y) continue;
546
- return {
547
- value: p.arg,
548
- done: n.done
549
- };
550
- }
551
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
552
- }
553
588
  };
554
589
  }
555
- function maybeInvokeDelegate(e, r) {
556
- var n = r.method,
557
- o = e.iterator[n];
558
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
559
- var i = tryCatch(o, e.iterator, r.arg);
560
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
561
- var a = i.arg;
562
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
563
- }
564
- function pushTryEntry(t) {
565
- var e = {
566
- tryLoc: t[0]
567
- };
568
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
569
- }
570
- function resetTryEntry(t) {
571
- var e = t.completion || {};
572
- e.type = "normal", delete e.arg, t.completion = e;
573
- }
574
- function Context(t) {
575
- this.tryEntries = [{
576
- tryLoc: "root"
577
- }], t.forEach(pushTryEntry, this), this.reset(true);
578
- }
579
- function values(e) {
580
- if (e || "" === e) {
581
- var r = e[a];
582
- if (r) return r.call(e);
583
- if ("function" == typeof e.next) return e;
584
- if (!isNaN(e.length)) {
585
- var o = -1,
586
- i = function next() {
587
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = false, next;
588
- return next.value = t, next.done = true, next;
589
- };
590
- return i.next = i;
591
- }
592
- }
593
- throw new TypeError(typeof e + " is not iterable");
594
- }
595
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
596
- value: GeneratorFunctionPrototype,
597
- configurable: true
598
- }), o(GeneratorFunctionPrototype, "constructor", {
599
- value: GeneratorFunction,
600
- configurable: true
601
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
602
- var e = "function" == typeof t && t.constructor;
603
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
604
- }, e.mark = function (t) {
605
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
606
- }, e.awrap = function (t) {
607
- return {
608
- __await: t
609
- };
610
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
611
- return this;
612
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
613
- void 0 === i && (i = Promise);
614
- var a = new AsyncIterator(wrap(t, r, n, o), i);
615
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
616
- return t.done ? t.value : a.next();
617
- });
618
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
619
- return this;
620
- }), define(g, "toString", function () {
621
- return "[object Generator]";
622
- }), e.keys = function (t) {
623
- var e = Object(t),
624
- r = [];
625
- for (var n in e) r.push(n);
626
- return r.reverse(), function next() {
627
- for (; r.length;) {
628
- var t = r.pop();
629
- if (t in e) return next.value = t, next.done = false, next;
630
- }
631
- return next.done = true, next;
632
- };
633
- }, e.values = values, Context.prototype = {
634
- constructor: Context,
635
- reset: function (e) {
636
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
637
- },
638
- stop: function () {
639
- this.done = true;
640
- var t = this.tryEntries[0].completion;
641
- if ("throw" === t.type) throw t.arg;
642
- return this.rval;
643
- },
644
- dispatchException: function (e) {
645
- if (this.done) throw e;
646
- var r = this;
647
- function handle(n, o) {
648
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
649
- }
650
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
651
- var i = this.tryEntries[o],
652
- a = i.completion;
653
- if ("root" === i.tryLoc) return handle("end");
654
- if (i.tryLoc <= this.prev) {
655
- var c = n.call(i, "catchLoc"),
656
- u = n.call(i, "finallyLoc");
657
- if (c && u) {
658
- if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
659
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
660
- } else if (c) {
661
- if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
662
- } else {
663
- if (!u) throw Error("try statement without catch or finally");
664
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
665
- }
666
- }
667
- }
668
- },
669
- abrupt: function (t, e) {
670
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
671
- var o = this.tryEntries[r];
672
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
673
- var i = o;
674
- break;
675
- }
676
- }
677
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
678
- var a = i ? i.completion : {};
679
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
680
- },
681
- complete: function (t, e) {
682
- if ("throw" === t.type) throw t.arg;
683
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
684
- },
685
- finish: function (t) {
686
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
687
- var r = this.tryEntries[e];
688
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
689
- }
690
- },
691
- catch: function (t) {
692
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
693
- var r = this.tryEntries[e];
694
- if (r.tryLoc === t) {
695
- var n = r.completion;
696
- if ("throw" === n.type) {
697
- var o = n.arg;
698
- resetTryEntry(r);
699
- }
700
- return o;
701
- }
702
- }
703
- throw Error("illegal catch attempt");
704
- },
705
- delegateYield: function (e, r, n) {
706
- return this.delegate = {
707
- iterator: values(e),
708
- resultName: r,
709
- nextLoc: n
710
- }, "next" === this.method && (this.arg = t), y;
711
- }
712
- }, e;
590
+ throw new TypeError(typeof e + " is not iterable");
713
591
  }
714
592
  function _unsupportedIterableToArray(r, a) {
715
593
  if (r) {
@@ -718,6 +596,74 @@ function _unsupportedIterableToArray(r, a) {
718
596
  return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
719
597
  }
720
598
  }
599
+ function _regeneratorRuntime() {
600
+
601
+ var r = _regenerator(),
602
+ e = r.m(_regeneratorRuntime),
603
+ t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
604
+ function n(r) {
605
+ var e = "function" == typeof r && r.constructor;
606
+ return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
607
+ }
608
+ var o = {
609
+ throw: 1,
610
+ return: 2,
611
+ break: 3,
612
+ continue: 3
613
+ };
614
+ function a(r) {
615
+ var e, t;
616
+ return function (n) {
617
+ e || (e = {
618
+ stop: function () {
619
+ return t(n.a, 2);
620
+ },
621
+ catch: function () {
622
+ return n.v;
623
+ },
624
+ abrupt: function (r, e) {
625
+ return t(n.a, o[r], e);
626
+ },
627
+ delegateYield: function (r, o, a) {
628
+ return e.resultName = o, t(n.d, _regeneratorValues(r), a);
629
+ },
630
+ finish: function (r) {
631
+ return t(n.f, r);
632
+ }
633
+ }, t = function (r, t, o) {
634
+ n.p = e.prev, n.n = e.next;
635
+ try {
636
+ return r(t, o);
637
+ } finally {
638
+ e.next = n.n;
639
+ }
640
+ }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
641
+ try {
642
+ return r.call(this, e);
643
+ } finally {
644
+ n.p = e.prev, n.n = e.next;
645
+ }
646
+ };
647
+ }
648
+ return (_regeneratorRuntime = function () {
649
+ return {
650
+ wrap: function (e, t, n, o) {
651
+ return r.w(a(e), t, n, o && o.reverse());
652
+ },
653
+ isGeneratorFunction: n,
654
+ mark: r.m,
655
+ awrap: function (r, e) {
656
+ return new _OverloadYield(r, e);
657
+ },
658
+ AsyncIterator: _regeneratorAsyncIterator,
659
+ async: function (r, e, t, o, u) {
660
+ return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u);
661
+ },
662
+ keys: _regeneratorKeys,
663
+ values: _regeneratorValues
664
+ };
665
+ })();
666
+ }
721
667
 
722
668
  /* *
723
669
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1442,8 +1388,8 @@ var DimensionSelect = function DimensionSelect(_ref) {
1442
1388
  };
1443
1389
 
1444
1390
  var getRenderLayersValues = function getRenderLayersValues(layerName, layers) {
1445
- var serviceLayer = layers.find(function (l) {
1446
- return l.name === layerName;
1391
+ var serviceLayer = layers.find(function (layer) {
1392
+ return layer.name === layerName;
1447
1393
  });
1448
1394
  if (!serviceLayer && layerName) {
1449
1395
  return {
@@ -1459,8 +1405,8 @@ var getRenderLayersValues = function getRenderLayersValues(layerName, layers) {
1459
1405
  }
1460
1406
  return {
1461
1407
  currentValue: (serviceLayer == null ? void 0 : serviceLayer.name) || '',
1462
- currentIndex: layers.findIndex(function (l) {
1463
- return l.name === (serviceLayer == null ? void 0 : serviceLayer.name);
1408
+ currentIndex: layers.findIndex(function (layer) {
1409
+ return layer.name === (serviceLayer == null ? void 0 : serviceLayer.name);
1464
1410
  }),
1465
1411
  extendedLayers: layers
1466
1412
  };
@@ -2494,15 +2440,15 @@ var LayerRow = styled(LayerRowUnstyled)(function (_ref9) {
2494
2440
  }
2495
2441
  };
2496
2442
  });
2497
- var Accordion = function Accordion(_ref10) {
2498
- var Styles = _ref10.Styles,
2499
- Acceptance = _ref10.Acceptance,
2500
- ShowLayerInfo = _ref10.ShowLayerInfo,
2501
- DeleteLayer = _ref10.DeleteLayer,
2502
- Opacity = _ref10.Opacity,
2503
- layerName = _ref10.layerName,
2504
- LeftButtons = _ref10.LeftButtons,
2505
- LoadDuration = _ref10.LoadDuration;
2443
+ var Accordion = function Accordion(_ref0) {
2444
+ var Styles = _ref0.Styles,
2445
+ Acceptance = _ref0.Acceptance,
2446
+ ShowLayerInfo = _ref0.ShowLayerInfo,
2447
+ DeleteLayer = _ref0.DeleteLayer,
2448
+ Opacity = _ref0.Opacity,
2449
+ layerName = _ref0.layerName,
2450
+ LeftButtons = _ref0.LeftButtons,
2451
+ LoadDuration = _ref0.LoadDuration;
2506
2452
  var _useCoreTranslation3 = useCoreTranslation(),
2507
2453
  t = _useCoreTranslation3.t;
2508
2454
  return jsx(CustomAccordion, {
@@ -2861,7 +2807,7 @@ var RenderLayersConnect = function RenderLayersConnect(_ref) {
2861
2807
  dispatch(serviceActions.serviceSetLayers(payload));
2862
2808
  }, [dispatch]);
2863
2809
  var addService = /*#__PURE__*/function () {
2864
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(serviceUrl) {
2810
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(serviceUrl) {
2865
2811
  var _layers, wmService;
2866
2812
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2867
2813
  while (1) switch (_context.prev = _context.next) {
@@ -3752,8 +3698,8 @@ var WMSServerList = function WMSServerList(_ref) {
3752
3698
  var handleListItemClick = function handleListItemClick(event, service) {
3753
3699
  handleChangeService(service);
3754
3700
  };
3755
- var sortedServices = [].concat(availableServices).sort(function (a, b) {
3756
- return a.name.localeCompare(b.name);
3701
+ var sortedServices = [].concat(availableServices).sort(function (serviceA, serviceB) {
3702
+ return serviceA.name.localeCompare(serviceB.name);
3757
3703
  });
3758
3704
  return jsxs(Fragment, {
3759
3705
  children: [jsx(Grid, {
@@ -3856,7 +3802,7 @@ var WMSLayerTree = function WMSLayerTree(_ref) {
3856
3802
  var isMounted = true;
3857
3803
  setIsLoading(true);
3858
3804
  var makeServiceQuery = /*#__PURE__*/function () {
3859
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3805
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3860
3806
  return _regeneratorRuntime().wrap(function _callee$(_context) {
3861
3807
  while (1) switch (_context.prev = _context.next) {
3862
3808
  case 0:
@@ -4748,27 +4694,29 @@ var ProjectionSelectConnect = function ProjectionSelectConnect(_ref) {
4748
4694
  });
4749
4695
  };
4750
4696
 
4751
- var availableOverlayers = [{
4752
- name: 'Default Overlayer',
4753
- value: 'Default Overlayer'
4754
- },
4755
- // TODO: rename to 'None' when implemented: https://gitlab.com/opengeoweb/opengeoweb/-/issues/6095
4756
- {
4757
- name: 'None (not implemented)',
4758
- value: 'None'
4759
- }];
4760
4697
  var OverlayersSelect = function OverlayersSelect(_ref) {
4761
- var _availableOverlayers$;
4762
- var selectedOverlayer = _ref.selectedOverlayer,
4763
- onChangeOverlayer = _ref.onChangeOverlayer;
4698
+ var mapId = _ref.mapId,
4699
+ selectedOverlayer = _ref.selectedOverlayer,
4700
+ onChangeOverlayer = _ref.onChangeOverlayer,
4701
+ availableOverlayers = _ref.availableOverlayers;
4764
4702
  var _useCoreTranslation = useCoreTranslation(),
4765
4703
  t = _useCoreTranslation.t;
4766
- var index = availableOverlayers.findIndex(function (layer) {
4767
- return layer.value === selectedOverlayer;
4704
+ var handleOverlayerChange = function handleOverlayerChange(value) {
4705
+ var selectedOverlayer = availableOverlayers == null ? void 0 : availableOverlayers.find(function (layer) {
4706
+ return layer.name === value;
4707
+ });
4708
+ if (selectedOverlayer) {
4709
+ onChangeOverlayer(mapId, selectedOverlayer);
4710
+ }
4711
+ };
4712
+ var overlayerOptions = availableOverlayers == null ? void 0 : availableOverlayers.map(function (layer) {
4713
+ return {
4714
+ value: layer.name
4715
+ };
4716
+ });
4717
+ var currentIndex = availableOverlayers == null ? void 0 : availableOverlayers.findIndex(function (layer) {
4718
+ return layer.name === selectedOverlayer.name;
4768
4719
  });
4769
- var selectedOverlayerName = (_availableOverlayers$ = availableOverlayers.find(function (layer) {
4770
- return layer.value === selectedOverlayer;
4771
- })) == null ? void 0 : _availableOverlayers$.name;
4772
4720
  return jsxs(Grid, {
4773
4721
  container: true,
4774
4722
  className: "overlayers-column",
@@ -4798,31 +4746,31 @@ var OverlayersSelect = function OverlayersSelect(_ref) {
4798
4746
  SelectDisplayProps: {
4799
4747
  'aria-label': 'overlayerSelect'
4800
4748
  },
4801
- tooltip: t('layermanager-overlayers-overlayer') + ": " + selectedOverlayerName,
4749
+ tooltip: t('layermanager-overlayers-overlayer') + ": " + selectedOverlayer.name,
4802
4750
  isEnabled: true,
4803
4751
  style: {
4804
4752
  maxWidth: '100%'
4805
4753
  },
4806
- value: selectedOverlayer,
4807
- list: availableOverlayers,
4808
- currentIndex: index,
4754
+ value: selectedOverlayer.name,
4755
+ list: overlayerOptions,
4756
+ currentIndex: currentIndex,
4809
4757
  onChange: function onChange(event) {
4810
4758
  event.stopPropagation();
4811
- onChangeOverlayer(event.target.value);
4759
+ handleOverlayerChange(event.target.value);
4812
4760
  },
4813
- onChangeMouseWheel: function onChangeMouseWheel(e) {
4814
- onChangeOverlayer(e.value);
4761
+ onChangeMouseWheel: function onChangeMouseWheel(value) {
4762
+ handleOverlayerChange(value.value);
4815
4763
  },
4816
4764
  children: [jsx(MenuItem, {
4817
4765
  disabled: true,
4818
4766
  children: t('layermanager-overlayers-title')
4819
- }), availableOverlayers.map(function (_ref2) {
4820
- var name = _ref2.name,
4821
- value = _ref2.value;
4767
+ }), availableOverlayers == null ? void 0 : availableOverlayers.map(function (_ref2) {
4768
+ var id = _ref2.id,
4769
+ name = _ref2.name;
4822
4770
  return jsx(MenuItem, {
4823
- value: value,
4771
+ value: name,
4824
4772
  children: name
4825
- }, name);
4773
+ }, id);
4826
4774
  })]
4827
4775
  })
4828
4776
  })
@@ -4830,15 +4778,38 @@ var OverlayersSelect = function OverlayersSelect(_ref) {
4830
4778
  });
4831
4779
  };
4832
4780
 
4833
- var OverlayersSelectConnect = function OverlayersSelectConnect() {
4834
- var _React$useState = React__default.useState('Default Overlayer'),
4835
- selectedOverlayer = _React$useState[0],
4836
- setSelectedOverlayer = _React$useState[1];
4781
+ var OverlayersSelectConnect = function OverlayersSelectConnect(_ref) {
4782
+ var mapId = _ref.mapId;
4783
+ var dispatch = useDispatch();
4784
+ var availableOverlayers = useSelector(function (store) {
4785
+ return layerSelectors.getOverlayersForMapId(store, mapId);
4786
+ });
4787
+ var currentOverlayerId = useSelector(function (store) {
4788
+ return mapSelectors.getSelectedOverlayerByMapId(store, mapId);
4789
+ });
4790
+ var overlayersWithNone = !availableOverlayers.some(function (layer) {
4791
+ return layer.id === 'none';
4792
+ }) ? [].concat(availableOverlayers, [{
4793
+ id: 'none',
4794
+ name: 'None'
4795
+ }]) : availableOverlayers;
4796
+ var selectedOverlayer = overlayersWithNone.find(function (layer) {
4797
+ return layer.id === currentOverlayerId;
4798
+ }) || {
4799
+ id: 'none',
4800
+ name: 'None'
4801
+ };
4802
+ var changeOverlayer = React__default.useCallback(function (mapId, selectedOverlayer) {
4803
+ dispatch(mapActions.changeOverlayer({
4804
+ mapId: mapId || '',
4805
+ selectedOverlayer: selectedOverlayer.id
4806
+ }));
4807
+ }, [dispatch]);
4837
4808
  return jsx(OverlayersSelect, {
4809
+ mapId: mapId || '',
4810
+ availableOverlayers: overlayersWithNone,
4838
4811
  selectedOverlayer: selectedOverlayer,
4839
- onChangeOverlayer: function onChangeOverlayer(selection) {
4840
- setSelectedOverlayer(selection);
4841
- }
4812
+ onChangeOverlayer: changeOverlayer
4842
4813
  });
4843
4814
  };
4844
4815
 
@@ -4998,7 +4969,9 @@ var LayerManager = function LayerManager(_ref) {
4998
4969
  mapId: mapId,
4999
4970
  settings: settings == null ? void 0 : settings.content,
5000
4971
  collapsedColumns: collapsedColumns
5001
- }), jsx(OverlayersSelectConnect, {}), jsx(BaseLayerRow, {
4972
+ }), jsx(OverlayersSelectConnect, {
4973
+ mapId: mapId
4974
+ }), jsx(BaseLayerRow, {
5002
4975
  mapId: mapId,
5003
4976
  tooltip: t('layermanager-baselayers-tooltip'),
5004
4977
  preloadedAvailableBaseLayers: preloadedAvailableBaseLayers,
@@ -5014,12 +4987,12 @@ var LayerManager = function LayerManager(_ref) {
5014
4987
  };
5015
4988
 
5016
4989
  var getServicesToLoad = /*#__PURE__*/function () {
5017
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(services) {
4990
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(services) {
5018
4991
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
5019
4992
  while (1) switch (_context2.prev = _context2.next) {
5020
4993
  case 0:
5021
- return _context2.abrupt("return", Promise.all(services.map( /*#__PURE__*/function () {
5022
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(service) {
4994
+ return _context2.abrupt("return", Promise.all(services.map(/*#__PURE__*/function () {
4995
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(service) {
5023
4996
  var scope;
5024
4997
  return _regeneratorRuntime().wrap(function _callee$(_context) {
5025
4998
  while (1) switch (_context.prev = _context.next) {
@@ -6568,7 +6541,7 @@ var GetFeatureInfoDialog = function GetFeatureInfoDialog(_ref) {
6568
6541
  }).join(','), 100);
6569
6542
  /* Do a GFI call to the server and use the updateLayerResult to provide the results. */
6570
6543
  var fetchLayerInfo = /*#__PURE__*/function () {
6571
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, layerId) {
6544
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, layerId) {
6572
6545
  var _yield$axios$get, data, errorMessage;
6573
6546
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6574
6547
  while (1) switch (_context.prev = _context.next) {
@@ -7031,7 +7004,7 @@ var useLocationList = function useLocationList(search) {
7031
7004
  return useQuery({
7032
7005
  queryKey: ['location-list', search],
7033
7006
  queryFn: function () {
7034
- var _queryFn = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7007
+ var _queryFn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7035
7008
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7036
7009
  while (1) switch (_context.prev = _context.next) {
7037
7010
  case 0:
@@ -7351,6 +7324,28 @@ var LocationSearchConnect = function LocationSearchConnect(_ref) {
7351
7324
  });
7352
7325
  };
7353
7326
 
7327
+ /* *
7328
+ * Licensed under the Apache License, Version 2.0 (the "License");
7329
+ * you may not use this file except in compliance with the License.
7330
+ * You may obtain a copy of the License at
7331
+ *
7332
+ * http://www.apache.org/licenses/LICENSE-2.0
7333
+ *
7334
+ * Unless required by applicable law or agreed to in writing, software
7335
+ * distributed under the License is distributed on an "AS IS" BASIS,
7336
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7337
+ * See the License for the specific language governing permissions and
7338
+ * limitations under the License.
7339
+ *
7340
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7341
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
7342
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
7343
+ * */
7344
+
7345
+ var types = /*#__PURE__*/Object.freeze({
7346
+ __proto__: null
7347
+ });
7348
+
7354
7349
  var OpenLayersFeatureLayerConnect = function OpenLayersFeatureLayerConnect(_ref) {
7355
7350
  var layer = _ref.layer,
7356
7351
  layerId = _ref.layerId,
@@ -7744,6 +7739,11 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
7744
7739
  return {
7745
7740
  type: 'FeatureCollection',
7746
7741
  features: linkedFormFeaturesFromState.flatMap(function (feature) {
7742
+ var _feature$geoJSON$feat;
7743
+ // Filter out any form features currently in Edit mode
7744
+ if ((_feature$geoJSON$feat = feature.geoJSON.features[0]) != null && (_feature$geoJSON$feat = _feature$geoJSON$feat.properties) != null && _feature$geoJSON$feat.inEditMode) {
7745
+ return [];
7746
+ }
7747
7747
  return feature.geoJSON.features;
7748
7748
  })
7749
7749
  };
@@ -7925,8 +7925,8 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
7925
7925
  var prefetchTimespan = makePrefetchTimeSpan(timeSliderStartCenterEndTime, animationStartTime, animationEndTime, isAnimating);
7926
7926
  var layerIds = mapLayerIds.join();
7927
7927
  var refetchLayers = React.useCallback(function () {
7928
- mapLayerIds == null || mapLayerIds.forEach( /*#__PURE__*/function () {
7929
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(layerId) {
7928
+ mapLayerIds == null || mapLayerIds.forEach(/*#__PURE__*/function () {
7929
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(layerId) {
7930
7930
  var wmLayer, layerInfo;
7931
7931
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7932
7932
  while (1) switch (_context.prev = _context.next) {
@@ -8015,7 +8015,8 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
8015
8015
  var layerDivStyle = React.useMemo(function () {
8016
8016
  var style = {
8017
8017
  position: 'absolute',
8018
- zIndex: 1
8018
+ zIndex: 1,
8019
+ width: '100%'
8019
8020
  };
8020
8021
  if (isSearchDialogOpen) {
8021
8022
  style.top = 8 + 40 + "px";
@@ -8105,6 +8106,8 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
8105
8106
  multiLegend: controls == null ? void 0 : controls.multiLegend,
8106
8107
  source: source
8107
8108
  })]
8109
+ }), (controls == null ? void 0 : controls.dataExplorerButton) && jsx(DataExplorerButtonConnect, {
8110
+ mapId: mapId
8108
8111
  }), (controls == null ? void 0 : controls.dimensionSelect) && jsx(MultiDimensionSelectMapButtonsConnect, {
8109
8112
  mapId: mapId
8110
8113
  }), (controls == null ? void 0 : controls.getFeatureInfo) && jsx(GetFeatureInfoButtonConnect, {
@@ -8128,7 +8131,7 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
8128
8131
  });
8129
8132
  };
8130
8133
 
8131
- var _excluded = ["id", "dockedLayerManagerSize", "title", "layers", "dimensions", "shouldAutoUpdate", "shouldAnimate", "shouldAutoFetch", "initialBbox", "srs", "shouldShowZoomControls", "displayMapPin", "showTimeSlider", "disableTimeSlider", "displayTimeInMap", "displayLayerManagerAndLegendButtonInMap", "displayDimensionSelectButtonInMap", "multiLegend", "shouldShowLayerManager", "shouldShowDockedLayerManager", "showClock", "displayGetFeatureInfoButtonInMap", "shouldDisplayDrawControls", "displaySearchButtonInMap", "mapControls", "children", "shouldDisablePrefetching", "tileServerSettings"];
8134
+ var _excluded = ["id", "dockedLayerManagerSize", "title", "layers", "dimensions", "shouldAutoUpdate", "shouldAnimate", "shouldAutoFetch", "initialBbox", "srs", "shouldShowZoomControls", "displayMapPin", "showTimeSlider", "disableTimeSlider", "displayTimeInMap", "displayLayerManagerAndLegendButtonInMap", "displayDimensionSelectButtonInMap", "multiLegend", "shouldShowLayerManager", "shouldShowDockedLayerManager", "showClock", "displayGetFeatureInfoButtonInMap", "shouldDisplayDrawControls", "displaySearchButtonInMap", "displayDataExplorerButtonOnMap", "mapControls", "children", "shouldDisablePrefetching", "tileServerSettings"];
8132
8135
  var titleStyle = function titleStyle(theme) {
8133
8136
  return {
8134
8137
  position: 'absolute',
@@ -8193,6 +8196,8 @@ var ConfigurableMapConnect = function ConfigurableMapConnect(_ref) {
8193
8196
  shouldDisplayDrawControls = _ref$shouldDisplayDra === void 0 ? false : _ref$shouldDisplayDra,
8194
8197
  _ref$displaySearchBut = _ref.displaySearchButtonInMap,
8195
8198
  displaySearchButtonInMap = _ref$displaySearchBut === void 0 ? false : _ref$displaySearchBut,
8199
+ _ref$displayDataExplo = _ref.displayDataExplorerButtonOnMap,
8200
+ displayDataExplorerButtonOnMap = _ref$displayDataExplo === void 0 ? false : _ref$displayDataExplo,
8196
8201
  mapControls = _ref.mapControls,
8197
8202
  children = _ref.children,
8198
8203
  shouldDisablePrefetching = _ref.shouldDisablePrefetching,
@@ -8288,9 +8293,10 @@ var ConfigurableMapConnect = function ConfigurableMapConnect(_ref) {
8288
8293
  multiLegend: multiLegend,
8289
8294
  dimensionSelect: displayDimensionSelectButtonInMap,
8290
8295
  getFeatureInfo: displayGetFeatureInfoButtonInMap,
8296
+ dataExplorerButton: displayDataExplorerButtonOnMap,
8291
8297
  additionalMapControls: mapControls
8292
8298
  };
8293
- }, [title, displaySearchButtonInMap, shouldShowZoomControls, displayLayerManagerAndLegendButtonInMap, multiLegend, displayDimensionSelectButtonInMap, displayGetFeatureInfoButtonInMap, mapControls]);
8299
+ }, [title, displaySearchButtonInMap, shouldShowZoomControls, displayLayerManagerAndLegendButtonInMap, multiLegend, displayDimensionSelectButtonInMap, displayGetFeatureInfoButtonInMap, displayDataExplorerButtonOnMap, mapControls]);
8294
8300
  return React__default.useMemo(function () {
8295
8301
  renderCounter.count(ConfigurableMapConnect.name + "_" + mapId);
8296
8302
  return jsxs(Box, {
@@ -8570,8 +8576,8 @@ var useGetReferenceTimes = function useGetReferenceTimes(inputLayer) {
8570
8576
  var refTimeDim = layer.getDimension('reference_time');
8571
8577
  /* Loop through all values of the dimension.
8572
8578
  A map cannot be used for iterating, as the dimension values are not in an array (it is an API). */
8573
- for (var j = 0; j < refTimeDim.size(); j += 1) {
8574
- var referenceTimeValue = refTimeDim.getValueForIndex(j);
8579
+ for (var jIndex = 0; jIndex < refTimeDim.size(); jIndex += 1) {
8580
+ var referenceTimeValue = refTimeDim.getValueForIndex(jIndex);
8575
8581
  referenceTimes.push(referenceTimeValue);
8576
8582
  }
8577
8583
  setReferenceTimes(referenceTimes);
@@ -8666,7 +8672,8 @@ var componentsLookUp = function componentsLookUp(_ref) {
8666
8672
  var mapPreset = initialProps.mapPreset,
8667
8673
  mapControls = initialProps.mapControls,
8668
8674
  shouldDisplayDrawControls = initialProps.shouldDisplayDrawControls,
8669
- displaySearchButtonInMap = initialProps.displaySearchButtonInMap;
8675
+ displaySearchButtonInMap = initialProps.displaySearchButtonInMap,
8676
+ displayDataExplorerButtonOnMap = initialProps.displayDataExplorerButtonOnMap;
8670
8677
  return jsx(ConfigurableMapConnect, Object.assign({}, mapPreset, {
8671
8678
  initialBbox: mapPreset == null || (_mapPreset$proj = mapPreset.proj) == null ? void 0 : _mapPreset$proj.bbox,
8672
8679
  srs: mapPreset == null || (_mapPreset$proj2 = mapPreset.proj) == null ? void 0 : _mapPreset$proj2.srs,
@@ -8675,6 +8682,7 @@ var componentsLookUp = function componentsLookUp(_ref) {
8675
8682
  displayGetFeatureInfoButtonInMap: true,
8676
8683
  shouldDisplayDrawControls: shouldDisplayDrawControls,
8677
8684
  displaySearchButtonInMap: displaySearchButtonInMap,
8685
+ displayDataExplorerButtonOnMap: displayDataExplorerButtonOnMap,
8678
8686
  mapControls: mapControls
8679
8687
  }));
8680
8688
  }
@@ -9319,7 +9327,7 @@ var SentryRecordButton = function SentryRecordButton() {
9319
9327
  setIsRecording = _React$useState[1];
9320
9328
  var replay = Sentry.getReplay();
9321
9329
  var toggleRecord = /*#__PURE__*/function () {
9322
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9330
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9323
9331
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9324
9332
  while (1) switch (_context.prev = _context.next) {
9325
9333
  case 0:
@@ -9474,6 +9482,162 @@ var LanguageSelect = function LanguageSelect(_ref) {
9474
9482
  });
9475
9483
  };
9476
9484
 
9485
+ /* *
9486
+ * Licensed under the Apache License, Version 2.0 (the "License");
9487
+ * you may not use this file except in compliance with the License.
9488
+ * You may obtain a copy of the License at
9489
+ *
9490
+ * http://www.apache.org/licenses/LICENSE-2.0
9491
+ *
9492
+ * Unless required by applicable law or agreed to in writing, software
9493
+ * distributed under the License is distributed on an "AS IS" BASIS,
9494
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9495
+ * See the License for the specific language governing permissions and
9496
+ * limitations under the License.
9497
+ *
9498
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
9499
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
9500
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
9501
+ * */
9502
+ var fakeLocationList = [{
9503
+ id: 'EHAM',
9504
+ name: 'Amsterdam Airport Schiphol - EHAM',
9505
+ source: 'A'
9506
+ }, {
9507
+ id: 'weg-c7702b4019c119f21789f499a9270a8c',
9508
+ name: 'A12, Arnhem',
9509
+ source: 'P'
9510
+ }, {
9511
+ id: 'weg-ef6c8b8fd8440f4d96d96824fc2a4093',
9512
+ name: 'A12, Arnhem, MultiLineString',
9513
+ source: 'P'
9514
+ }, {
9515
+ id: 'pcd-5d8813ff27d390369c3d2fff69bfb0fa',
9516
+ name: 'Blauwkapelseweg, 3572KC Utrecht',
9517
+ source: 'P'
9518
+ }, {
9519
+ id: '06260',
9520
+ name: 'De Bilt - 06260',
9521
+ source: 'W'
9522
+ }, {
9523
+ id: 'gem-0b2a8b92856b27f86fbd67ab35808ebf',
9524
+ name: 'Gemeente Amsterdam',
9525
+ source: 'P'
9526
+ }, {
9527
+ id: 'gem-e64a22d3a9bb57e785a884bd7f7df6ca',
9528
+ name: 'Gemeente Arnhem',
9529
+ source: 'P'
9530
+ }, {
9531
+ id: '658225',
9532
+ name: 'Helsinki, Uusimaa, Finland',
9533
+ source: 'G'
9534
+ }];
9535
+ var fakeLocationDetailList = [{
9536
+ id: 'EHAM',
9537
+ name: 'Amsterdam Airport Schiphol - EHAM',
9538
+ source: 'A',
9539
+ lon: 4.76389,
9540
+ lat: 52.308601
9541
+ }, {
9542
+ id: '06260',
9543
+ name: 'De Bilt - 06260',
9544
+ source: 'W',
9545
+ lon: 5.18,
9546
+ lat: 52.1
9547
+ }, {
9548
+ lat: 52.10125783,
9549
+ lon: 5.12972011,
9550
+ source: 'P',
9551
+ id: 'pcd-5d8813ff27d390369c3d2fff69bfb0fa',
9552
+ name: 'Blauwkapelseweg, 3572KC Utrecht',
9553
+ geometry: {
9554
+ type: 'Feature',
9555
+ geometry: {
9556
+ type: 'Point',
9557
+ coordinates: [5.12972011, 52.10125783]
9558
+ }
9559
+ }
9560
+ }, {
9561
+ id: 'weg-c7702b4019c119f21789f499a9270a8c',
9562
+ name: 'A12, Arnhem',
9563
+ source: 'P',
9564
+ lat: 52.01459863,
9565
+ lon: 5.92115805,
9566
+ geometry: {
9567
+ type: 'Feature',
9568
+ properties: {},
9569
+ geometry: {
9570
+ type: 'LineString',
9571
+ coordinates: [[5.723182066074628, 52.021961941904436], [5.821250546216021, 52.0256350284852], [5.860476940657833, 52.02930789018711], [5.936353777736599, 52.013041507826415], [5.9585833728647515, 51.99098354703645], [5.981670640390121, 51.98046570698139], [6.003008228959999, 51.96574744492605]]
9572
+ }
9573
+ }
9574
+ }, {
9575
+ id: 'gem-e64a22d3a9bb57e785a884bd7f7df6ca',
9576
+ name: 'Gemeente Arnhem',
9577
+ source: 'P',
9578
+ lat: 52.00113721,
9579
+ lon: 5.89259249,
9580
+ geometry: {
9581
+ type: 'Feature',
9582
+ geometry: {
9583
+ type: 'Polygon',
9584
+ coordinates: [[[5.89827, 51.93458], [5.90186, 51.93346], [5.91277, 51.94529], [5.91096, 51.94591], [5.91165, 51.94704], [5.91137, 51.94727], [5.91202, 51.94782], [5.91417, 51.94869], [5.91517, 51.94996], [5.9169, 51.95052], [5.92649, 51.95115], [5.92945, 51.95059], [5.92956, 51.95125], [5.93017, 51.95227], [5.93123, 51.95342], [5.93091, 51.95387], [5.93146, 51.95482], [5.93121, 51.95497], [5.93155, 51.95527], [5.93145, 51.95557], [5.93179, 51.95621], [5.93157, 51.95691], [5.93181, 51.9573], [5.93161, 51.9575], [5.93183, 51.95948], [5.93233, 51.95973], [5.93334, 51.95983], [5.9356, 51.96042], [5.93657, 51.95908], [5.93778, 51.95787], [5.94033, 51.95604], [5.94511, 51.95346], [5.95195, 51.95059], [5.95523, 51.94875], [5.95089, 51.95299], [5.94953, 51.95567], [5.94925, 51.95745], [5.94966, 51.96008], [5.95097, 51.96283], [5.95243, 51.96457], [5.95546, 51.96702], [5.95894, 51.9692], [5.96204, 51.97059], [5.96463, 51.97142], [5.96841, 51.97208], [5.97387, 51.97261], [5.98001, 51.97355], [5.98777, 51.97407], [5.99034, 51.97441], [5.9868, 51.9772], [5.98669, 51.97753], [5.98501, 51.9789], [5.98065, 51.98145], [5.9784, 51.98245], [5.97551, 51.98345], [5.97551, 51.98359], [5.97503, 51.98357], [5.97503, 51.98372], [5.97326, 51.9841], [5.97088, 51.98491], [5.9681, 51.98551], [5.96518, 51.98649], [5.96201, 51.98792], [5.9592, 51.98964], [5.9558, 51.99268], [5.95519, 51.99336], [5.9555, 51.99345], [5.95444, 51.99473], [5.95397, 51.99457], [5.95361, 51.995], [5.95193, 51.99846], [5.95093, 52.00146], [5.95031, 52.00232], [5.94983, 52.00409], [5.94877, 52.00537], [5.94813, 52.00659], [5.94331, 52.01013], [5.94603, 52.01041], [5.94607, 52.01061], [5.9424, 52.01083], [5.9414, 52.01149], [5.94019, 52.01871], [5.9391, 52.03142], [5.93807, 52.03857], [5.9371, 52.04853], [5.94091, 52.05795], [5.94283, 52.06116], [5.94329, 52.06246], [5.95593, 52.07334], [5.95191, 52.07532], [5.9461, 52.07789], [5.94607, 52.07773], [5.94506, 52.07783], [5.94219, 52.07659], [5.90974, 52.0621], [5.89812, 52.06336], [5.89845, 52.06182], [5.89803, 52.06145], [5.89807, 52.06101], [5.8994, 52.04996], [5.88206, 52.04941], [5.85967, 52.05202], [5.85005, 52.0516], [5.83792, 52.04663], [5.82659, 52.03694], [5.82615, 52.03673], [5.82103, 52.03208], [5.80834, 52.01876], [5.80723, 52.0117], [5.80296, 52.00405], [5.807, 52.00311], [5.81725, 52.00143], [5.82628, 51.99956], [5.83629, 51.99856], [5.84054, 51.9987], [5.84712, 51.99836], [5.84967, 51.99804], [5.85242, 51.99707], [5.85621, 51.9961], [5.86374, 51.99589], [5.86256, 51.99122], [5.8647, 51.99108], [5.86315, 51.98529], [5.86382, 51.98517], [5.86624, 51.98411], [5.86737, 51.98029], [5.86728, 51.98014], [5.86586, 51.97987], [5.86547, 51.97865], [5.86374, 51.97796], [5.86472, 51.97627], [5.8659, 51.97569], [5.86687, 51.9753], [5.86919, 51.97599], [5.87086, 51.97511], [5.86778, 51.97241], [5.86532, 51.97092], [5.86206, 51.96991], [5.85912, 51.96954], [5.85707, 51.96953], [5.85469, 51.96976], [5.84403, 51.9725], [5.83906, 51.97328], [5.83534, 51.97356], [5.83548, 51.97239], [5.8362, 51.97143], [5.8362, 51.97089], [5.83538, 51.97085], [5.83518, 51.96886], [5.83585, 51.9684], [5.83598, 51.96633], [5.83518, 51.96417], [5.8346, 51.96325], [5.83401, 51.96271], [5.83237, 51.96189], [5.82934, 51.96085], [5.8302, 51.95862], [5.83109, 51.95869], [5.83134, 51.95854], [5.83128, 51.95555], [5.8307, 51.95439], [5.83008, 51.95385], [5.82991, 51.95343], [5.83051, 51.95327], [5.82877, 51.95004], [5.82866, 51.94826], [5.82966, 51.94551], [5.82993, 51.94524], [5.8373, 51.94518], [5.83731, 51.94416], [5.83864, 51.94412], [5.8389, 51.94431], [5.84401, 51.94376], [5.84968, 51.94294], [5.85039, 51.94451], [5.86193, 51.9425], [5.86224, 51.94289], [5.8685, 51.94218], [5.87189, 51.94152], [5.87476, 51.94079], [5.87619, 51.9402], [5.8772, 51.93917], [5.87786, 51.93883], [5.87949, 51.93865], [5.8814, 51.93825], [5.88283, 51.93777], [5.88464, 51.93749], [5.88777, 51.93614], [5.89267, 51.93573], [5.89792, 51.93436], [5.89827, 51.93458]]]
9585
+ },
9586
+ properties: {}
9587
+ }
9588
+ }, {
9589
+ id: 'gem-0b2a8b92856b27f86fbd67ab35808ebf',
9590
+ name: 'Gemeente Amsterdam',
9591
+ source: 'P',
9592
+ lat: 52.36648685,
9593
+ lon: 4.91978668,
9594
+ geometry: {
9595
+ type: 'Feature',
9596
+ geometry: {
9597
+ type: 'MultiPolygon',
9598
+ coordinates: [[[[5.07349, 52.27806], [5.07708, 52.27798], [5.0846, 52.2794], [5.0877, 52.28168], [5.10207, 52.27989], [5.10218, 52.28123], [5.10201, 52.28165], [5.10278, 52.28209], [5.10282, 52.28238], [5.10428, 52.28321], [5.10426, 52.28381], [5.10481, 52.28432], [5.1047, 52.28556], [5.10205, 52.28766], [5.09968, 52.29001], [5.09884, 52.29063], [5.09871, 52.29057], [5.09847, 52.29164], [5.09874, 52.29219], [5.09948, 52.29271], [5.09935, 52.2928], [5.10292, 52.29447], [5.10607, 52.29467], [5.10742, 52.29633], [5.10767, 52.29729], [5.10725, 52.29786], [5.10622, 52.29834], [5.10526, 52.29842], [5.10197, 52.2978], [5.1013, 52.29792], [5.09894, 52.2987], [5.09719, 52.29995], [5.09677, 52.30046], [5.09577, 52.30376], [5.09626, 52.30686], [5.09682, 52.3076], [5.09871, 52.30877], [5.09959, 52.30953], [5.0998, 52.31003], [5.10057, 52.3103], [5.10055, 52.31044], [5.09767, 52.31154], [5.09213, 52.31301], [5.09308, 52.31415], [5.09281, 52.31427], [5.09261, 52.31422], [5.09053, 52.31499], [5.08481, 52.31633], [5.0849, 52.31674], [5.08321, 52.31727], [5.08296, 52.31702], [5.07751, 52.31818], [5.07311, 52.32018], [5.07276, 52.31994], [5.06951, 52.32179], [5.06908, 52.32153], [5.06878, 52.32172], [5.06586, 52.32224], [5.06522, 52.32221], [5.06469, 52.32201], [5.06528, 52.32144], [5.06572, 52.32048], [5.06526, 52.31918], [5.0633, 52.31821], [5.0624, 52.31758], [5.06084, 52.31698], [5.05972, 52.31679], [5.05834, 52.31632], [5.05803, 52.31668], [5.05909, 52.31705], [5.05674, 52.3196], [5.05814, 52.32042], [5.06039, 52.32116], [5.06147, 52.32175], [5.06144, 52.32204], [5.0611, 52.32208], [5.06151, 52.32367], [5.05747, 52.32503], [5.04934, 52.32695], [5.04815, 52.32702], [5.04625, 52.32673], [5.04518, 52.32685], [5.0444, 52.32715], [5.04486, 52.32745], [5.0439, 52.32799], [5.04355, 52.32778], [5.04249, 52.32828], [5.04013, 52.32896], [5.03329, 52.33019], [5.02877, 52.33078], [5.02483, 52.33063], [5.02159, 52.33086], [5.01727, 52.33019], [5.01811, 52.32782], [5.01849, 52.32329], [5.01665, 52.32299], [5.01613, 52.32451], [5.00652, 52.31908], [5.00153, 52.31591], [4.99786, 52.31398], [4.99746, 52.31425], [4.9973, 52.3142], [4.99709, 52.31446], [4.99737, 52.31667], [4.9971, 52.31739], [4.99211, 52.32377], [4.99074, 52.32635], [4.98905, 52.32798], [4.9853, 52.33026], [4.98397, 52.33067], [4.98252, 52.3308], [4.98068, 52.33076], [4.9798, 52.331], [4.97795, 52.33116], [4.97714, 52.33064], [4.97531, 52.33056], [4.97483, 52.3297], [4.97403, 52.32891], [4.97181, 52.32747], [4.9711, 52.32665], [4.97025, 52.32617], [4.96754, 52.32776], [4.95268, 52.32264], [4.94766, 52.32814], [4.94049, 52.32568], [4.93861, 52.32422], [4.93796, 52.32412], [4.93762, 52.3233], [4.93993, 52.32194], [4.94021, 52.32081], [4.94104, 52.31962], [4.93958, 52.31912], [4.94033, 52.3183], [4.93983, 52.31712], [4.93804, 52.31651], [4.93874, 52.31564], [4.93872, 52.31509], [4.93523, 52.31389], [4.93635, 52.31266], [4.93414, 52.3119], [4.93007, 52.30934], [4.9303, 52.30918], [4.92933, 52.30853], [4.92991, 52.3081], [4.92942, 52.30783], [4.92983, 52.30752], [4.92947, 52.30741], [4.93049, 52.30616], [4.93272, 52.30426], [4.93322, 52.30355], [4.93494, 52.30197], [4.94641, 52.28856], [4.95209, 52.28253], [4.95184, 52.28244], [4.95524, 52.2783], [4.95714, 52.27867], [4.95866, 52.27834], [4.95997, 52.27835], [4.96105, 52.27817], [4.96224, 52.28021], [4.96532, 52.28045], [4.96617, 52.28098], [4.96649, 52.2801], [4.96767, 52.27958], [4.96875, 52.28073], [4.96938, 52.28179], [4.96973, 52.28312], [4.97515, 52.28634], [4.98289, 52.28964], [4.98351, 52.29037], [4.99046, 52.2896], [4.99748, 52.28912], [4.99845, 52.28984], [4.99855, 52.29023], [4.99881, 52.29024], [5.00179, 52.29279], [5.00185, 52.29588], [5.00323, 52.29606], [5.00323, 52.29739], [5.00383, 52.29851], [5.00526, 52.29839], [5.00754, 52.30087], [5.00789, 52.30152], [5.00992, 52.30209], [5.01105, 52.30303], [5.01177, 52.30339], [5.01426, 52.30368], [5.01669, 52.30288], [5.01784, 52.30266], [5.02154, 52.30246], [5.02187, 52.28265], [5.02438, 52.28136], [5.03053, 52.28849], [5.03321, 52.28626], [5.03342, 52.28631], [5.03515, 52.28553], [5.03943, 52.28324], [5.04079, 52.28388], [5.04278, 52.28249], [5.04748, 52.28502], [5.0504, 52.28787], [5.05158, 52.28732], [5.05277, 52.28649], [5.05483, 52.28755], [5.05954, 52.28932], [5.06328, 52.28719], [5.06419, 52.28629], [5.06479, 52.28508], [5.06547, 52.2852], [5.06566, 52.28269], [5.06549, 52.28127], [5.06588, 52.28127], [5.0659, 52.28055], [5.06519, 52.28054], [5.06441, 52.28074], [5.06389, 52.27998], [5.06494, 52.27987], [5.06533, 52.27964], [5.06434, 52.27926], [5.06453, 52.27902], [5.06386, 52.27852], [5.06463, 52.27826], [5.07349, 52.27806]]], [[[4.91359, 52.32069], [4.91073, 52.32191], [4.91135, 52.3229], [4.91033, 52.32357], [4.91129, 52.32416], [4.91388, 52.32455], [4.91293, 52.33051], [4.91417, 52.33068], [4.9169, 52.33136], [4.92255, 52.33308], [4.92244, 52.33322], [4.92351, 52.33426], [4.92377, 52.33544], [4.92577, 52.33537], [4.92694, 52.33578], [4.92677, 52.33596], [4.92849, 52.33655], [4.93422, 52.3355], [4.93562, 52.33551], [4.93651, 52.33459], [4.93815, 52.33524], [4.93953, 52.33559], [4.94171, 52.33553], [4.94172, 52.33641], [4.9438, 52.33671], [4.94955, 52.33838], [4.94986, 52.33853], [4.9497, 52.33873], [4.95189, 52.33967], [4.95305, 52.34037], [4.9597, 52.34693], [4.95993, 52.34745], [4.96137, 52.34885], [4.96496, 52.35328], [4.96582, 52.3547], [4.96624, 52.35416], [4.96831, 52.35493], [4.96952, 52.3555], [4.96931, 52.35561], [4.96959, 52.3561], [4.97218, 52.35555], [4.97449, 52.35467], [4.99932, 52.34154], [4.99991, 52.34193], [5.00072, 52.3422], [5.00411, 52.34258], [5.00547, 52.34246], [5.00829, 52.34185], [5.00953, 52.342], [5.01106, 52.3427], [5.012, 52.34336], [5.01238, 52.34431], [5.0159, 52.34832], [5.03906, 52.35458], [5.03768, 52.3754], [5.0671, 52.38467], [5.07916, 52.38865], [5.07426, 52.41384], [5.06827, 52.41656], [5.06541, 52.41724], [5.06368, 52.41643], [5.06256, 52.41617], [5.05776, 52.41654], [5.05093, 52.41528], [5.04918, 52.41513], [5.04259, 52.41698], [5.03939, 52.41738], [5.03687, 52.41809], [5.03547, 52.41827], [5.03505, 52.4182], [5.0344, 52.41781], [5.03406, 52.41717], [5.03347, 52.41669], [5.03249, 52.41628], [5.03004, 52.41564], [5.03005, 52.41683], [5.02973, 52.41771], [5.02898, 52.41886], [5.02836, 52.41942], [5.0265, 52.42006], [5.02429, 52.42012], [5.02356, 52.42027], [5.02161, 52.42122], [5.02115, 52.42107], [5.02031, 52.4199], [5.01821, 52.41906], [5.00016, 52.42544], [4.99137, 52.4254], [4.99045, 52.42552], [4.99041, 52.42452], [4.98918, 52.42337], [4.98883, 52.42325], [4.98777, 52.42327], [4.9871, 52.42284], [4.98264, 52.42676], [4.97332, 52.4228], [4.95595, 52.42195], [4.95588, 52.42244], [4.9536, 52.42221], [4.95261, 52.42326], [4.95249, 52.42349], [4.95277, 52.42368], [4.95133, 52.42323], [4.95163, 52.42265], [4.95148, 52.42193], [4.94971, 52.42193], [4.94853, 52.42142], [4.94779, 52.42156], [4.94497, 52.41532], [4.94407, 52.41434], [4.94257, 52.41384], [4.93514, 52.41204], [4.93072, 52.41161], [4.93038, 52.41208], [4.92044, 52.41661], [4.91569, 52.41856], [4.9147, 52.41868], [4.91465, 52.4185], [4.91405, 52.4185], [4.91359, 52.41865], [4.90868, 52.42072], [4.90796, 52.42087], [4.90808, 52.42112], [4.90189, 52.42362], [4.89841, 52.42458], [4.89246, 52.42545], [4.88948, 52.42564], [4.88298, 52.42551], [4.88246, 52.42589], [4.88181, 52.42602], [4.87952, 52.42569], [4.87767, 52.42588], [4.87597, 52.42655], [4.87411, 52.42796], [4.87334, 52.42949], [4.87274, 52.42954], [4.8721, 52.42992], [4.87096, 52.43019], [4.87074, 52.43039], [4.8697, 52.42975], [4.86874, 52.43032], [4.86669, 52.43067], [4.86501, 52.43055], [4.86268, 52.42994], [4.86281, 52.42962], [4.86245, 52.42878], [4.85795, 52.42472], [4.85791, 52.42373], [4.85972, 52.42128], [4.85986, 52.42047], [4.85949, 52.41979], [4.85608, 52.41666], [4.84529, 52.41847], [4.76754, 52.4285], [4.76718, 52.42747], [4.73921, 52.43106], [4.72876, 52.40071], [4.75605, 52.39719], [4.75602, 52.3971], [4.75745, 52.39689], [4.75782, 52.39666], [4.75801, 52.38955], [4.75894, 52.38442], [4.75912, 52.37933], [4.75726, 52.37798], [4.75643, 52.37776], [4.75805, 52.37507], [4.7586, 52.37222], [4.75798, 52.36924], [4.7549, 52.35838], [4.7551, 52.35683], [4.75611, 52.35583], [4.75733, 52.3552], [4.77174, 52.34956], [4.79054, 52.34184], [4.79178, 52.34103], [4.79777, 52.33528], [4.81544, 52.32789], [4.81713, 52.32692], [4.81843, 52.32556], [4.81947, 52.32557], [4.81989, 52.32576], [4.82518, 52.32573], [4.82606, 52.32593], [4.83941, 52.32736], [4.83941, 52.32755], [4.83963, 52.32756], [4.83948, 52.32915], [4.84052, 52.32959], [4.84396, 52.33022], [4.84524, 52.32968], [4.84756, 52.33005], [4.84801, 52.33057], [4.85592, 52.33032], [4.85642, 52.32885], [4.85633, 52.32176], [4.85657, 52.32177], [4.85675, 52.32141], [4.85761, 52.32143], [4.85765, 52.32169], [4.85786, 52.32173], [4.89629, 52.32242], [4.89715, 52.3219], [4.89828, 52.32164], [4.9016, 52.32153], [4.90253, 52.32132], [4.9047, 52.32039], [4.90784, 52.3195], [4.90905, 52.31883], [4.90914, 52.31825], [4.91238, 52.31825], [4.91428, 52.32041], [4.91359, 52.32069]]]]
9599
+ },
9600
+ properties: {}
9601
+ }
9602
+ }, {
9603
+ id: 'weg-ef6c8b8fd8440f4d96d96824fc2a4093',
9604
+ name: 'A12, Arnhem, MultiLineString',
9605
+ source: 'P',
9606
+ lat: 52.01459863,
9607
+ lon: 5.92115805,
9608
+ geometry: {
9609
+ type: 'Feature',
9610
+ geometry: {
9611
+ type: 'MultiLineString',
9612
+ coordinates: [[[5.81367, 52.02431], [5.8408, 52.02822], [5.84814, 52.02867], [5.85594, 52.02852], [5.86208, 52.02794], [5.86851, 52.02687], [5.87294, 52.02583], [5.89013, 52.02112], [5.89487, 52.02018], [5.90455, 52.01868]], [[5.90455, 52.01868], [5.91249, 52.01727], [5.91613, 52.01629], [5.91772, 52.01617], [5.91913, 52.01628]], [[5.91913, 52.01628], [5.92001, 52.01581], [5.92095, 52.01472], [5.92158, 52.01445], [5.92244, 52.01443], [5.92515, 52.01498]], [[5.92515, 52.01498], [5.9255, 52.01504]], [[5.8187, 52.02512], [5.8187, 52.02518]], [[5.8187, 52.02518], [5.81862, 52.02604], [5.81882, 52.02654], [5.81936, 52.02697], [5.82019, 52.02724], [5.82155, 52.02717], [5.82312, 52.02642], [5.824, 52.02623], [5.82783, 52.02653]], [[5.82783, 52.02653], [5.83847, 52.0281], [5.84188, 52.02846], [5.84733, 52.02879], [5.85241, 52.02881], [5.85846, 52.02847], [5.86428, 52.02777], [5.87025, 52.02664], [5.87549, 52.02528]], [[5.87549, 52.02528], [5.87771, 52.0248]], [[5.87771, 52.0248], [5.878, 52.02492]], [[5.878, 52.02492], [5.87838, 52.0249]], [[5.87838, 52.0249], [5.87888, 52.02502], [5.88028, 52.02474]], [[5.88028, 52.02474], [5.88138, 52.02384]], [[5.88138, 52.02384], [5.88331, 52.02309]], [[5.88331, 52.02309], [5.88916, 52.0215], [5.89402, 52.02047], [5.91825, 52.01675]], [[5.91825, 52.01675], [5.92178, 52.01645], [5.92271, 52.01665], [5.92437, 52.01738]], [[5.92437, 52.01738], [5.92525, 52.01743]], [[5.97711, 51.98293], [5.97675, 51.98263]], [[5.97675, 51.98263], [5.98048, 51.98113]], [[5.98048, 51.98113], [5.98036, 51.98104]], [[5.98036, 51.98104], [5.98442, 51.97869], [5.98987, 51.97439]], [[5.97426, 51.97989], [5.97562, 51.98025], [5.97614, 51.98058], [5.97646, 51.98107], [5.97645, 51.98179]], [[5.97645, 51.98179], [5.97722, 51.98099], [5.97842, 51.98063]], [[5.97842, 51.98063], [5.97904, 51.98062]], [[5.97904, 51.98062], [5.98113, 51.98027], [5.98276, 51.97952]], [[5.98276, 51.97952], [5.98553, 51.97769], [5.98974, 51.9743]], [[5.98077, 51.98145], [5.98048, 51.98113]], [[5.98048, 51.98113], [5.98289, 51.97985], [5.98509, 51.97841]], [[5.98509, 51.97841], [5.99016, 51.97437]], [[5.98201, 51.98075], [5.98509, 51.97841]], [[5.97842, 51.98063], [5.9767, 51.98035]], [[5.9767, 51.98035], [5.97981, 51.98046], [5.98109, 51.9802], [5.98276, 51.97952]], [[5.97678, 51.98313], [5.96979, 51.98471]], [[5.96979, 51.98471], [5.97675, 51.98263]], [[5.97675, 51.98263], [5.97668, 51.98253]], [[5.97668, 51.98253], [5.98036, 51.98104]], [[5.98036, 51.98104], [5.97904, 51.98062]], [[5.90455, 52.01868], [5.91637, 52.01693]], [[5.91637, 52.01693], [5.91913, 52.01628]], [[5.91913, 52.01628], [5.91978, 52.01641]], [[5.91978, 52.01641], [5.91637, 52.01693]], [[5.91825, 52.01675], [5.93018, 52.01491], [5.93301, 52.01427], [5.93609, 52.01337]], [[5.93609, 52.01337], [5.93938, 52.01198], [5.94245, 52.01033], [5.94487, 52.00861], [5.94703, 52.0066], [5.94931, 52.00346], [5.95348, 51.99491], [5.95508, 51.99278], [5.95704, 51.99088], [5.95967, 51.98895], [5.9627, 51.98727], [5.96604, 51.98588], [5.96979, 51.98471]], [[5.96837, 51.98496], [5.97561, 51.98257], [5.97611, 51.98228], [5.97645, 51.98179]], [[5.97645, 51.98179], [5.97668, 51.98253]], [[5.97668, 51.98253], [5.96837, 51.98496]], [[5.96837, 51.98496], [5.96467, 51.98624], [5.96181, 51.98753], [5.95923, 51.98903], [5.95683, 51.99083], [5.9549, 51.99271], [5.95341, 51.99464], [5.94897, 52.00364], [5.94779, 52.00541], [5.94639, 52.00699], [5.94399, 52.00908], [5.94116, 52.01091], [5.93784, 52.01252], [5.93433, 52.01377]], [[5.93433, 52.01377], [5.92963, 52.01488], [5.91978, 52.01641]], [[5.91978, 52.01641], [5.91988, 52.01644]], [[5.97433, 51.97978], [5.9767, 51.98035]], [[5.92396, 52.02223], [5.92376, 52.0196], [5.92437, 52.01738]], [[5.92437, 52.01738], [5.92505, 52.01641], [5.92611, 52.01579], [5.93142, 52.01479]], [[5.93142, 52.01479], [5.93369, 52.01423], [5.93609, 52.01337]], [[5.92555, 52.01744], [5.92668, 52.0173], [5.92761, 52.01619], [5.9285, 52.01558], [5.93142, 52.01479]], [[5.92571, 52.01505], [5.93004, 52.01465], [5.93433, 52.01377]], [[5.92515, 52.01498], [5.92551, 52.01491]], [[5.81343, 52.02408], [5.81561, 52.02377], [5.81731, 52.02286], [5.81811, 52.02155], [5.81791, 52.01992]], [[5.81381, 52.02447], [5.8187, 52.02518]], [[5.8187, 52.02518], [5.82783, 52.02653]], [[5.87838, 52.0249], [5.87911, 52.02472], [5.87931, 52.02441]], [[5.87931, 52.02441], [5.88066, 52.02414], [5.88138, 52.02384]], [[5.878, 52.02492], [5.87835, 52.02513], [5.87892, 52.02519], [5.88028, 52.02474]], [[5.87771, 52.0248], [5.87931, 52.02441]], [[5.87549, 52.02528], [5.88331, 52.02309]]]
9613
+ },
9614
+ properties: {}
9615
+ }
9616
+ }, {
9617
+ id: '658225',
9618
+ name: 'Helsinki, Uusimaa, Finland',
9619
+ source: 'G',
9620
+ lat: 60.16952,
9621
+ lon: 24.93545,
9622
+ bbox: [24.782805558281286, 59.92249323820872, 25.254496669447338, 60.29783941145479]
9623
+ }];
9624
+ var locationApiEndpoints = [http.get(/^.*locations(.*)$/, function (_ref) {
9625
+ var request = _ref.request;
9626
+ var url = new URL(request.url);
9627
+ var search = url.searchParams.get('search');
9628
+ return HttpResponse.json(search ? fakeLocationList : []);
9629
+ }), http.get(/^.*locationdetail(.*)$/, function (_ref2) {
9630
+ var request = _ref2.request;
9631
+ var url = new URL(request.url);
9632
+ var id = url.searchParams.get('id');
9633
+ var result = fakeLocationDetailList.find(function (item) {
9634
+ return item.id === id;
9635
+ });
9636
+ return HttpResponse.json(result);
9637
+ }), http.get(/^(?!.*(location)).*$/, function () {
9638
+ return passthrough();
9639
+ })];
9640
+
9477
9641
  var initialBbox = {
9478
9642
  srs: 'EPSG:3857',
9479
9643
  bbox: {
@@ -9599,4 +9763,4 @@ var storyUtils = /*#__PURE__*/Object.freeze({
9599
9763
  useDefaultMapSettings: useDefaultMapSettings
9600
9764
  });
9601
9765
 
9602
- export { CORE_NAMESPACE, ConfigurableMapConnect, CoreI18nProvider, CoreStoreProvider, CoreThemeProvider, CoreThemeStoreProvider, DemoWrapper, DemoWrapperConnect, HarmonieTempAndPrecipPreset, LanguageSelect, LayerInfoButtonConnect, LayerInfoDialogConnect, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LegendConnect, LegendMapButtonConnect, LocationSearch, LocationSearchConnect, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, MyMapLocation, OlMapViewConnect, RouterWrapperConnect, SearchControlButtonConnect, SentryRecordButton, SyncGroupViewerConnect, TimeSliderConnect, componentsLookUp, coreTranslations, defaultBbox, defaultConfigurations, filterMapPresets, filterServices, filterTimeSeriesServices, getCenterOfLinkedFeature, getLanguageFromLocalStorage, languageLocalStorageKey, makeLayerInfoPayload, makePrefetchTimeSpan, saveLanguageToLocalStorage, storyUtils, testLayers, useFetchServices, useFitAndHighlightWarningFeature, useGetOpenLayersView, useUpdateTimeSpan, useUpdateTimestep };
9766
+ export { CORE_NAMESPACE, ConfigurableMapConnect, CoreI18nProvider, CoreStoreProvider, CoreThemeProvider, CoreThemeStoreProvider, DemoWrapper, DemoWrapperConnect, HarmonieTempAndPrecipPreset, LanguageSelect, LayerInfoButtonConnect, LayerInfoDialogConnect, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LegendConnect, LegendMapButtonConnect, LocationSearch, LocationSearchConnect, types as LocationSearchTypes, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, MyMapLocation, OlMapViewConnect, RouterWrapperConnect, SearchControlButtonConnect, SentryRecordButton, SyncGroupViewerConnect, TimeSliderConnect, componentsLookUp, coreTranslations, defaultBbox, defaultConfigurations, fakeLocationDetailList, fakeLocationList, filterMapPresets, filterServices, filterTimeSeriesServices, getCenterOfLinkedFeature, getLanguageFromLocalStorage, languageLocalStorageKey, locationApiEndpoints, makeLayerInfoPayload, makePrefetchTimeSpan, saveLanguageToLocalStorage, storyUtils, testLayers, useFetchServices, useFitAndHighlightWarningFeature, useGetOpenLayersView, useLocationDetail, useLocationList, useUpdateTimeSpan, useUpdateTimestep };