@nextgis/ngw-leaflet 4.0.0-alpha.4 → 4.0.0-alpha.6
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/lib/ngw-leaflet.esm-browser.js +326 -394
- package/lib/ngw-leaflet.esm-browser.js.map +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js +2 -2
- package/lib/ngw-leaflet.esm-browser.prod.js.map +1 -1
- package/lib/ngw-leaflet.esm-bundler.js +1 -1
- package/lib/ngw-leaflet.global.js +326 -394
- package/lib/ngw-leaflet.global.js.map +1 -1
- package/lib/ngw-leaflet.global.prod.js +2 -2
- package/lib/ngw-leaflet.global.prod.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-leaflet; version: 4.0.0-alpha.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 4.0.0-alpha.6; author: NextGIS */
|
|
2
2
|
var NgwLeaflet = (function () {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -17,8 +17,8 @@ var NgwLeaflet = (function () {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
var __defProp$1a = Object.defineProperty;
|
|
20
|
-
var __defProps$
|
|
21
|
-
var __getOwnPropDescs$
|
|
20
|
+
var __defProps$u = Object.defineProperties;
|
|
21
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
22
22
|
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
23
23
|
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
24
24
|
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
@@ -34,11 +34,11 @@ var NgwLeaflet = (function () {
|
|
|
34
34
|
}
|
|
35
35
|
return a;
|
|
36
36
|
};
|
|
37
|
-
var __spreadProps$
|
|
37
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
38
38
|
const controlOptions = /* @__PURE__ */ new WeakMap();
|
|
39
39
|
function resolveControlOptions(options = {}) {
|
|
40
40
|
var _a;
|
|
41
|
-
return __spreadProps$
|
|
41
|
+
return __spreadProps$u(__spreadValues$M({}, options), {
|
|
42
42
|
margin: (_a = options.margin) != null ? _a : options.bar
|
|
43
43
|
});
|
|
44
44
|
}
|
|
@@ -76,8 +76,8 @@ var NgwLeaflet = (function () {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
var css_248z$
|
|
80
|
-
styleInject(css_248z$
|
|
79
|
+
var css_248z$3 = ".webmap-ctrl-bottom-left,.webmap-ctrl-bottom-right,.webmap-ctrl-left,.webmap-ctrl-right,.webmap-ctrl-top-left,.webmap-ctrl-top-right{position:absolute;pointer-events:none;z-index:9999}.webmap-ctrl-left,.webmap-ctrl-right{height:100%}.webmap-ctrl-left{padding-right:0}.webmap-ctrl-right{padding-left:0}.webmap-ctrl-top-left{top:0;left:0}.webmap-ctrl-top-right{top:0;right:0}.webmap-ctrl-bottom-left{bottom:0;left:0}.webmap-ctrl-bottom-right{right:0;bottom:0}.webmap-ctrl,.webmap-ctrl-wrapper{clear:both;pointer-events:auto;transform:translate(0)}.webmap-ctrl-top-left>.webmap-ctrl,.webmap-ctrl-top-left>.webmap-ctrl-wrapper{float:left}.webmap-ctrl-top-right>.webmap-ctrl,.webmap-ctrl-top-right>.webmap-ctrl-wrapper{float:right}.webmap-ctrl-bottom-left>.webmap-ctrl,.webmap-ctrl-bottom-left>.webmap-ctrl-wrapper{float:left}.webmap-ctrl-bottom-right>.webmap-ctrl,.webmap-ctrl-bottom-right>.webmap-ctrl-wrapper{float:right}.webmap-ctrl-top-left>.webmap-ctrl-margin{margin:10px 0 0 10px}.webmap-ctrl-top-right>.webmap-ctrl-margin{margin:10px 10px 0 0}.webmap-ctrl-bottom-left>.webmap-ctrl-margin{margin:0 0 10px 10px}.webmap-ctrl-bottom-right>.webmap-ctrl-margin{margin:0 10px 10px 0}.webmap-ctrl-group{border-radius:4px;background:#fff}.webmap-ctrl .webmap-ctrl-wrapper{clear:none;float:none;margin:0}.webmap-ctrl .webmap-ctrl-wrapper>.webmap-ctrl,.webmap-ctrl>.webmap-ctrl{clear:none;float:none;margin:0!important}.webmap-ctrl-horizontal,.webmap-ctrl-vertical{display:flex}.webmap-ctrl-vertical{flex-direction:column;align-items:var(--webmap-ctrl-align,flex-start)}.webmap-ctrl-horizontal{flex-direction:row;align-items:var(--webmap-ctrl-align,stretch)}.webmap-ctrl:not(.webmap-ctrl-group).webmap-ctrl-horizontal,.webmap-ctrl:not(.webmap-ctrl-group).webmap-ctrl-vertical{gap:var(--webmap-ctrl-gap,0)}.webmap-ctrl-gapless:not(.webmap-ctrl-group){border:2px solid rgba(0,0,0,.1);border-radius:4px;box-sizing:border-box;background:#fff;overflow:hidden}.webmap-ctrl-gapless:not(.webmap-ctrl-group):not(:empty){box-shadow:none}.webmap-ctrl-gapless>.webmap-ctrl-group,.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.webmap-ctrl-group{border-radius:0;border:0!important;box-shadow:none!important}.webmap-ctrl-gapless>.leaflet-bar,.webmap-ctrl-gapless>.maplibregl-ctrl-group,.webmap-ctrl-gapless>.ol-control,.webmap-ctrl-gapless>.webmap-ctrl,.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.leaflet-bar,.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.maplibregl-ctrl-group,.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.ol-control,.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.webmap-ctrl{border:0!important;box-shadow:none!important}.webmap-ctrl-gapless.webmap-ctrl-horizontal>.webmap-ctrl-group:first-child,.webmap-ctrl-gapless.webmap-ctrl-horizontal>.webmap-ctrl-wrapper:first-child>.webmap-ctrl-group{border-radius:4px 0 0 4px}.webmap-ctrl-gapless.webmap-ctrl-horizontal>.webmap-ctrl-group:last-child,.webmap-ctrl-gapless.webmap-ctrl-horizontal>.webmap-ctrl-wrapper:last-child>.webmap-ctrl-group{border-radius:0 4px 4px 0}.webmap-ctrl-gapless.webmap-ctrl-vertical>.webmap-ctrl-group:first-child,.webmap-ctrl-gapless.webmap-ctrl-vertical>.webmap-ctrl-wrapper:first-child>.webmap-ctrl-group{border-radius:4px 4px 0 0}.webmap-ctrl-gapless.webmap-ctrl-vertical>.webmap-ctrl-group:last-child,.webmap-ctrl-gapless.webmap-ctrl-vertical>.webmap-ctrl-wrapper:last-child>.webmap-ctrl-group{border-radius:0 0 4px 4px}.webmap-ctrl-gapless>.webmap-ctrl-group:only-child,.webmap-ctrl-gapless>.webmap-ctrl-wrapper:only-child>.webmap-ctrl-group{border-radius:4px}.webmap-ctrl-horizontal>.webmap-ctrl-wrapper,.webmap-ctrl-vertical>.webmap-ctrl-wrapper{display:flex}.webmap-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.webmap-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}.webmap-ctrl-gapless:not(.webmap-ctrl-group){border-color:ButtonText}}.webmap-ctrl-gapless>.webmap-ctrl-group:not(:empty),.webmap-ctrl-gapless>.webmap-ctrl-wrapper>.webmap-ctrl-group:not(:empty){border:0!important;box-shadow:none!important}.webmap-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.webmap-ctrl-button{line-height:inherit!important;font-weight:400!important}.webmap-ctrl-group button+button{border-top:1px solid #ddd}.webmap-ctrl-group.webmap-ctrl-horizontal>button+button{border-top:0;border-left:1px solid #ddd}.webmap-ctrl-gapless .webmap-ctrl-group button+button,.webmap-ctrl-group.webmap-ctrl-gapless button+button{border-top:0!important;border-left:0!important}.webmap-ctrl-gapless .webmap-ctrl-group button{border:0!important;border-radius:0!important;box-shadow:none!important}.webmap-ctrl button .webmap-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.webmap-ctrl-icon{background-color:transparent}.webmap-ctrl-group button+button{border-top:1px solid ButtonText}}.webmap-ctrl button::-moz-focus-inner{border:0;padding:0}.webmap-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.webmap-ctrl button:disabled{cursor:not-allowed}.webmap-ctrl button:disabled .webmap-ctrl-icon{opacity:.25}.webmap-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.webmap-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.webmap-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.webmap-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.webmap-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.webmap-ctrl-group button:focus:only-child{border-radius:inherit}.webmap-ctrl button.webmap-ctrl-zoom-out .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M10%2013c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h9c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013z%22%2F%3E%3C%2Fsvg%3E\")}.webmap-ctrl button.webmap-ctrl-zoom-in .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M14.5%208.5c-.75%200-1.5.75-1.5%201.5v3h-3c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h3v3c0%20.75.75%201.5%201.5%201.5S16%2019.75%2016%2019v-3h3c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013h-3v-3c0-.75-.75-1.5-1.5-1.5%22%2F%3E%3C%2Fsvg%3E\")}@media (-ms-high-contrast:active){.webmap-ctrl button.webmap-ctrl-zoom-out .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M10%2013c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h9c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013z%22%2F%3E%3C%2Fsvg%3E\")}.webmap-ctrl button.webmap-ctrl-zoom-in .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M14.5%208.5c-.75%200-1.5.75-1.5%201.5v3h-3c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h3v3c0%20.75.75%201.5%201.5%201.5S16%2019.75%2016%2019v-3h3c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013h-3v-3c0-.75-.75-1.5-1.5-1.5%22%2F%3E%3C%2Fsvg%3E\")}}@media (-ms-high-contrast:black-on-white){.webmap-ctrl button.webmap-ctrl-zoom-out .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M10%2013c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h9c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013z%22%2F%3E%3C%2Fsvg%3E\")}.webmap-ctrl button.webmap-ctrl-zoom-in .webmap-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2229%22%20viewBox%3D%220%200%2029%2029%22%3E%3Cpath%20d%3D%22M14.5%208.5c-.75%200-1.5.75-1.5%201.5v3h-3c-.75%200-1.5.75-1.5%201.5S9.25%2016%2010%2016h3v3c0%20.75.75%201.5%201.5%201.5S16%2019.75%2016%2019v-3h3c.75%200%201.5-.75%201.5-1.5S19.75%2013%2019%2013h-3v-3c0-.75-.75-1.5-1.5-1.5%22%2F%3E%3C%2Fsvg%3E\")}}";
|
|
80
|
+
styleInject(css_248z$3);
|
|
81
81
|
|
|
82
82
|
var __defProp$19 = Object.defineProperty;
|
|
83
83
|
var __defNormalProp$19 = (obj, key, value) => key in obj ? __defProp$19(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -14704,8 +14704,8 @@ var NgwLeaflet = (function () {
|
|
|
14704
14704
|
var leafletSrcExports = requireLeafletSrc();
|
|
14705
14705
|
|
|
14706
14706
|
var __defProp$18 = Object.defineProperty;
|
|
14707
|
-
var __defProps$
|
|
14708
|
-
var __getOwnPropDescs$
|
|
14707
|
+
var __defProps$t = Object.defineProperties;
|
|
14708
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
14709
14709
|
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
14710
14710
|
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
14711
14711
|
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
@@ -14721,7 +14721,7 @@ var NgwLeaflet = (function () {
|
|
|
14721
14721
|
}
|
|
14722
14722
|
return a;
|
|
14723
14723
|
};
|
|
14724
|
-
var __spreadProps$
|
|
14724
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
14725
14725
|
function createControl(control, options = {}, map) {
|
|
14726
14726
|
const resolvedOptions = resolveControlOptions(options);
|
|
14727
14727
|
const C = leafletSrcExports.Control.extend({
|
|
@@ -14733,7 +14733,7 @@ var NgwLeaflet = (function () {
|
|
|
14733
14733
|
].filter(Boolean).join(" ");
|
|
14734
14734
|
const element = createControlElement(
|
|
14735
14735
|
control,
|
|
14736
|
-
__spreadProps$
|
|
14736
|
+
__spreadProps$t(__spreadValues$L({}, resolvedOptions), { addClass }),
|
|
14737
14737
|
map != null ? map : leafletMap
|
|
14738
14738
|
);
|
|
14739
14739
|
if (!resolvedOptions.margin) {
|
|
@@ -14781,8 +14781,8 @@ var NgwLeaflet = (function () {
|
|
|
14781
14781
|
}
|
|
14782
14782
|
|
|
14783
14783
|
var __defProp$17 = Object.defineProperty;
|
|
14784
|
-
var __defProps$
|
|
14785
|
-
var __getOwnPropDescs$
|
|
14784
|
+
var __defProps$s = Object.defineProperties;
|
|
14785
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
14786
14786
|
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
14787
14787
|
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
14788
14788
|
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
@@ -14798,7 +14798,7 @@ var NgwLeaflet = (function () {
|
|
|
14798
14798
|
}
|
|
14799
14799
|
return a;
|
|
14800
14800
|
};
|
|
14801
|
-
var __spreadProps$
|
|
14801
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
14802
14802
|
var __publicField$L = (obj, key, value) => __defNormalProp$17(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
14803
14803
|
class LeafletControlContainer {
|
|
14804
14804
|
constructor(map, options = {}) {
|
|
@@ -14867,7 +14867,7 @@ var NgwLeaflet = (function () {
|
|
|
14867
14867
|
const mapAny = this.map;
|
|
14868
14868
|
const controlCorners = mapAny._controlCorners || {};
|
|
14869
14869
|
const getCorner = (key, selector) => controlCorners[key] || this.map.getContainer().querySelector(selector) || void 0;
|
|
14870
|
-
return new ControlContainer(__spreadProps$
|
|
14870
|
+
return new ControlContainer(__spreadProps$s(__spreadValues$K({}, options), {
|
|
14871
14871
|
map: this.map,
|
|
14872
14872
|
container: mapAny._controlContainer,
|
|
14873
14873
|
positionContainers: {
|
|
@@ -15647,9 +15647,6 @@ var NgwLeaflet = (function () {
|
|
|
15647
15647
|
function isObject$1(val) {
|
|
15648
15648
|
return Object.prototype.toString.call(val) === "[object Object]";
|
|
15649
15649
|
}
|
|
15650
|
-
function isArray(val) {
|
|
15651
|
-
return Object.prototype.toString.call(val) === "[object Array]";
|
|
15652
|
-
}
|
|
15653
15650
|
|
|
15654
15651
|
function fixUrlStr(url) {
|
|
15655
15652
|
return url.replace(/([^:]\/)\/+/g, "$1");
|
|
@@ -15777,8 +15774,8 @@ var NgwLeaflet = (function () {
|
|
|
15777
15774
|
var __publicField$K = (obj, key, value) => __defNormalProp$16(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
15778
15775
|
class BaseAdapter {
|
|
15779
15776
|
constructor(map, options) {
|
|
15780
|
-
this
|
|
15781
|
-
this
|
|
15777
|
+
__publicField$K(this, "map", map);
|
|
15778
|
+
__publicField$K(this, "options", options);
|
|
15782
15779
|
__publicField$K(this, "layer");
|
|
15783
15780
|
__publicField$K(this, "pane", "order-0");
|
|
15784
15781
|
if (options.order !== void 0) {
|
|
@@ -16879,8 +16876,8 @@ var NgwLeaflet = (function () {
|
|
|
16879
16876
|
}
|
|
16880
16877
|
|
|
16881
16878
|
var __defProp$$ = Object.defineProperty;
|
|
16882
|
-
var __defProps$
|
|
16883
|
-
var __getOwnPropDescs$
|
|
16879
|
+
var __defProps$r = Object.defineProperties;
|
|
16880
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
16884
16881
|
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
16885
16882
|
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
16886
16883
|
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
@@ -16896,7 +16893,7 @@ var NgwLeaflet = (function () {
|
|
|
16896
16893
|
}
|
|
16897
16894
|
return a;
|
|
16898
16895
|
};
|
|
16899
|
-
var __spreadProps$
|
|
16896
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
16900
16897
|
var __objRest$a = (source, exclude) => {
|
|
16901
16898
|
var target = {};
|
|
16902
16899
|
for (var prop in source)
|
|
@@ -16991,7 +16988,7 @@ var NgwLeaflet = (function () {
|
|
|
16991
16988
|
if (html) {
|
|
16992
16989
|
element.innerHTML = html;
|
|
16993
16990
|
}
|
|
16994
|
-
const divIcon = new leafletSrcExports.DivIcon(__spreadProps$
|
|
16991
|
+
const divIcon = new leafletSrcExports.DivIcon(__spreadProps$r(__spreadValues$D({
|
|
16995
16992
|
className: ""
|
|
16996
16993
|
}, toLIconOpt), {
|
|
16997
16994
|
html: element
|
|
@@ -17040,8 +17037,8 @@ var NgwLeaflet = (function () {
|
|
|
17040
17037
|
}
|
|
17041
17038
|
|
|
17042
17039
|
var __defProp$_ = Object.defineProperty;
|
|
17043
|
-
var __defProps$
|
|
17044
|
-
var __getOwnPropDescs$
|
|
17040
|
+
var __defProps$q = Object.defineProperties;
|
|
17041
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
17045
17042
|
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
17046
17043
|
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
17047
17044
|
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
@@ -17057,9 +17054,9 @@ var NgwLeaflet = (function () {
|
|
|
17057
17054
|
}
|
|
17058
17055
|
return a;
|
|
17059
17056
|
};
|
|
17060
|
-
var __spreadProps$
|
|
17057
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
17061
17058
|
var __publicField$H = (obj, key, value) => __defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17062
|
-
var __async$
|
|
17059
|
+
var __async$w = (__this, __arguments, generator) => {
|
|
17063
17060
|
return new Promise((resolve, reject) => {
|
|
17064
17061
|
var fulfilled = (value) => {
|
|
17065
17062
|
try {
|
|
@@ -17106,7 +17103,7 @@ var NgwLeaflet = (function () {
|
|
|
17106
17103
|
addLayer(options) {
|
|
17107
17104
|
Object.assign(this.options, options);
|
|
17108
17105
|
this.paint = options.paint;
|
|
17109
|
-
this.layer = new leafletSrcExports.FeatureGroup([], __spreadProps$
|
|
17106
|
+
this.layer = new leafletSrcExports.FeatureGroup([], __spreadProps$q(__spreadValues$C({}, options.nativeOptions), {
|
|
17110
17107
|
pane: this.pane
|
|
17111
17108
|
}));
|
|
17112
17109
|
this.selectedPaint = options.selectedPaint;
|
|
@@ -17354,7 +17351,7 @@ var NgwLeaflet = (function () {
|
|
|
17354
17351
|
}
|
|
17355
17352
|
}
|
|
17356
17353
|
_openPopup(_0) {
|
|
17357
|
-
return __async$
|
|
17354
|
+
return __async$w(this, arguments, function* (def, options = {}, type, latLng) {
|
|
17358
17355
|
var _a, _b;
|
|
17359
17356
|
const { feature, layer } = def;
|
|
17360
17357
|
const {
|
|
@@ -17458,7 +17455,7 @@ var NgwLeaflet = (function () {
|
|
|
17458
17455
|
if (feature) {
|
|
17459
17456
|
return this._paint.preparePaint(__spreadValues$C(__spreadValues$C({}, PAINT), paint(feature)));
|
|
17460
17457
|
} else {
|
|
17461
|
-
return this._paint.preparePaint(__spreadProps$
|
|
17458
|
+
return this._paint.preparePaint(__spreadProps$q(__spreadValues$C({}, PAINT), { type: "path" }));
|
|
17462
17459
|
}
|
|
17463
17460
|
}
|
|
17464
17461
|
};
|
|
@@ -17988,7 +17985,7 @@ var NgwLeaflet = (function () {
|
|
|
17988
17985
|
var __publicField$E = (obj, key, value) => __defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17989
17986
|
class StateItem {
|
|
17990
17987
|
constructor(webMap, opt) {
|
|
17991
|
-
this
|
|
17988
|
+
__publicField$E(this, "webMap", webMap);
|
|
17992
17989
|
__publicField$E(this, "name");
|
|
17993
17990
|
__publicField$E(this, "event");
|
|
17994
17991
|
__publicField$E(this, "value");
|
|
@@ -18106,7 +18103,7 @@ var NgwLeaflet = (function () {
|
|
|
18106
18103
|
var __defProp$S = Object.defineProperty;
|
|
18107
18104
|
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
18108
18105
|
var __publicField$A = (obj, key, value) => __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
18109
|
-
var __async$
|
|
18106
|
+
var __async$v = (__this, __arguments, generator) => {
|
|
18110
18107
|
return new Promise((resolve, reject) => {
|
|
18111
18108
|
var fulfilled = (value) => {
|
|
18112
18109
|
try {
|
|
@@ -18199,7 +18196,7 @@ var NgwLeaflet = (function () {
|
|
|
18199
18196
|
* ```
|
|
18200
18197
|
*/
|
|
18201
18198
|
create() {
|
|
18202
|
-
return __async$
|
|
18199
|
+
return __async$v(this, null, function* () {
|
|
18203
18200
|
if (!this.getEventStatus("create")) {
|
|
18204
18201
|
yield this._setInitMapState(this.mapStateItems);
|
|
18205
18202
|
yield this._setupMap();
|
|
@@ -18527,15 +18524,15 @@ var NgwLeaflet = (function () {
|
|
|
18527
18524
|
this.emitter.emit(_eventName, data);
|
|
18528
18525
|
}
|
|
18529
18526
|
_addLayerProviders() {
|
|
18530
|
-
return __async$
|
|
18527
|
+
return __async$v(this, null, function* () {
|
|
18531
18528
|
});
|
|
18532
18529
|
}
|
|
18533
18530
|
_onLoadSync() {
|
|
18534
|
-
return __async$
|
|
18531
|
+
return __async$v(this, null, function* () {
|
|
18535
18532
|
});
|
|
18536
18533
|
}
|
|
18537
18534
|
_setupMap() {
|
|
18538
|
-
return __async$
|
|
18535
|
+
return __async$v(this, null, function* () {
|
|
18539
18536
|
if (!this.mapAdapter) {
|
|
18540
18537
|
throw new Error("WebMap `mapAdapter` option is not set");
|
|
18541
18538
|
}
|
|
@@ -18653,8 +18650,8 @@ var NgwLeaflet = (function () {
|
|
|
18653
18650
|
let WebMapMain = _WebMapMain;
|
|
18654
18651
|
|
|
18655
18652
|
var __defProp$R = Object.defineProperty;
|
|
18656
|
-
var __defProps$
|
|
18657
|
-
var __getOwnPropDescs$
|
|
18653
|
+
var __defProps$p = Object.defineProperties;
|
|
18654
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
18658
18655
|
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
18659
18656
|
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
18660
18657
|
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
@@ -18670,9 +18667,9 @@ var NgwLeaflet = (function () {
|
|
|
18670
18667
|
}
|
|
18671
18668
|
return a;
|
|
18672
18669
|
};
|
|
18673
|
-
var __spreadProps$
|
|
18670
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
18674
18671
|
var __publicField$z = (obj, key, value) => __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
18675
|
-
var __async$
|
|
18672
|
+
var __async$u = (__this, __arguments, generator) => {
|
|
18676
18673
|
return new Promise((resolve, reject) => {
|
|
18677
18674
|
var fulfilled = (value) => {
|
|
18678
18675
|
try {
|
|
@@ -18710,7 +18707,7 @@ var NgwLeaflet = (function () {
|
|
|
18710
18707
|
* But not all layers have borders
|
|
18711
18708
|
*/
|
|
18712
18709
|
fitLayer(layerDef, options) {
|
|
18713
|
-
return __async$
|
|
18710
|
+
return __async$u(this, null, function* () {
|
|
18714
18711
|
const layer = this.getLayer(layerDef);
|
|
18715
18712
|
const getBounds = layer && (layer.getBounds || layer.getExtent);
|
|
18716
18713
|
if (getBounds) {
|
|
@@ -18803,10 +18800,10 @@ var NgwLeaflet = (function () {
|
|
|
18803
18800
|
* Shortcut method to create base layer
|
|
18804
18801
|
*/
|
|
18805
18802
|
addBaseLayer(adapter, options) {
|
|
18806
|
-
return __async$
|
|
18803
|
+
return __async$u(this, null, function* () {
|
|
18807
18804
|
const layer = yield this.addLayer(
|
|
18808
18805
|
adapter,
|
|
18809
|
-
__spreadProps$
|
|
18806
|
+
__spreadProps$p(__spreadValues$A({}, options), {
|
|
18810
18807
|
baselayer: true
|
|
18811
18808
|
}),
|
|
18812
18809
|
void 0
|
|
@@ -18829,7 +18826,7 @@ var NgwLeaflet = (function () {
|
|
|
18829
18826
|
* ```
|
|
18830
18827
|
*/
|
|
18831
18828
|
addLayer(_0) {
|
|
18832
|
-
return __async$
|
|
18829
|
+
return __async$u(this, arguments, function* (adapter, options = {}, order) {
|
|
18833
18830
|
var _a, _b;
|
|
18834
18831
|
const id = this._layersIdCounter++;
|
|
18835
18832
|
const _order = defined(order) ? order : options.order !== void 0 ? options.order : this.reserveOrder();
|
|
@@ -18866,7 +18863,7 @@ var NgwLeaflet = (function () {
|
|
|
18866
18863
|
}
|
|
18867
18864
|
}
|
|
18868
18865
|
}
|
|
18869
|
-
options = __spreadProps$
|
|
18866
|
+
options = __spreadProps$p(__spreadValues$A({}, options), {
|
|
18870
18867
|
request: this._getLayerRequestOptions(options)
|
|
18871
18868
|
});
|
|
18872
18869
|
if (adapterEngine !== void 0) {
|
|
@@ -18933,7 +18930,7 @@ var NgwLeaflet = (function () {
|
|
|
18933
18930
|
});
|
|
18934
18931
|
}
|
|
18935
18932
|
addLayerFromAsyncAdapter(adapter, options, order) {
|
|
18936
|
-
return __async$
|
|
18933
|
+
return __async$u(this, null, function* () {
|
|
18937
18934
|
const _order = order || options.order !== void 0 ? options.order : this.reserveOrder();
|
|
18938
18935
|
const adapterConstructor = adapter;
|
|
18939
18936
|
const adapterConstructorPromise = adapterConstructor();
|
|
@@ -18960,7 +18957,7 @@ var NgwLeaflet = (function () {
|
|
|
18960
18957
|
}
|
|
18961
18958
|
}
|
|
18962
18959
|
getLegend(options) {
|
|
18963
|
-
return __async$
|
|
18960
|
+
return __async$u(this, null, function* () {
|
|
18964
18961
|
const promises = [];
|
|
18965
18962
|
for (const l of this.orderedLayers()) {
|
|
18966
18963
|
if (l.getLegend) {
|
|
@@ -19058,7 +19055,7 @@ var NgwLeaflet = (function () {
|
|
|
19058
19055
|
}
|
|
19059
19056
|
/** Shortcut for {@link WebMapLayers.addLayer} to create TileLayer adapter */
|
|
19060
19057
|
addTileLayer(url, options = {}) {
|
|
19061
|
-
return this.addLayer("TILE", __spreadProps$
|
|
19058
|
+
return this.addLayer("TILE", __spreadProps$p(__spreadValues$A({}, options), { url }));
|
|
19062
19059
|
}
|
|
19063
19060
|
addImageLayer(urlOrOptions, options) {
|
|
19064
19061
|
let url;
|
|
@@ -19068,7 +19065,7 @@ var NgwLeaflet = (function () {
|
|
|
19068
19065
|
url = urlOrOptions.url;
|
|
19069
19066
|
options = urlOrOptions;
|
|
19070
19067
|
}
|
|
19071
|
-
return this.addLayer("IMAGE", __spreadProps$
|
|
19068
|
+
return this.addLayer("IMAGE", __spreadProps$p(__spreadValues$A({}, options), { url }));
|
|
19072
19069
|
}
|
|
19073
19070
|
/**
|
|
19074
19071
|
* Show added layer on the map by it definition.
|
|
@@ -19100,7 +19097,7 @@ var NgwLeaflet = (function () {
|
|
|
19100
19097
|
const onMap = layer && layer.options.visibility;
|
|
19101
19098
|
const toStatus = status !== void 0 ? status : !onMap;
|
|
19102
19099
|
const silent = options.silent !== void 0 ? options.silent : false;
|
|
19103
|
-
const action = (l) => __async$
|
|
19100
|
+
const action = (l) => __async$u(this, null, function* () {
|
|
19104
19101
|
const id = String(l.id);
|
|
19105
19102
|
const preEventName = toStatus ? "layer:preshow" : "layer:prehide";
|
|
19106
19103
|
const eventName = toStatus ? "layer:show" : "layer:hide";
|
|
@@ -19466,21 +19463,21 @@ var NgwLeaflet = (function () {
|
|
|
19466
19463
|
this.emitter.emit(name, options);
|
|
19467
19464
|
}
|
|
19468
19465
|
_onLayerClick(options) {
|
|
19469
|
-
return __async$
|
|
19466
|
+
return __async$u(this, null, function* () {
|
|
19470
19467
|
const id = options.layer.id;
|
|
19471
19468
|
this._emitLayerEvent("layer:click", id || "", options);
|
|
19472
19469
|
return Promise.resolve(options);
|
|
19473
19470
|
});
|
|
19474
19471
|
}
|
|
19475
19472
|
_onLayerDoubleClick(options) {
|
|
19476
|
-
return __async$
|
|
19473
|
+
return __async$u(this, null, function* () {
|
|
19477
19474
|
const id = options.layer.id;
|
|
19478
19475
|
this._emitLayerEvent("layer:dblclick", id || "", options);
|
|
19479
19476
|
return Promise.resolve(options);
|
|
19480
19477
|
});
|
|
19481
19478
|
}
|
|
19482
19479
|
_onLayerSelect(options) {
|
|
19483
|
-
return __async$
|
|
19480
|
+
return __async$u(this, null, function* () {
|
|
19484
19481
|
this._emitLayerEvent("layer:select", options.layer.id || "", options);
|
|
19485
19482
|
return Promise.resolve(options);
|
|
19486
19483
|
});
|
|
@@ -19567,7 +19564,7 @@ var NgwLeaflet = (function () {
|
|
|
19567
19564
|
return target;
|
|
19568
19565
|
};
|
|
19569
19566
|
var __publicField$y = (obj, key, value) => __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
19570
|
-
var __async$
|
|
19567
|
+
var __async$t = (__this, __arguments, generator) => {
|
|
19571
19568
|
return new Promise((resolve, reject) => {
|
|
19572
19569
|
var fulfilled = (value) => {
|
|
19573
19570
|
try {
|
|
@@ -19606,7 +19603,7 @@ var NgwLeaflet = (function () {
|
|
|
19606
19603
|
});
|
|
19607
19604
|
}
|
|
19608
19605
|
addControl(controlDef, position, options) {
|
|
19609
|
-
return __async$
|
|
19606
|
+
return __async$t(this, null, function* () {
|
|
19610
19607
|
let control;
|
|
19611
19608
|
const { addOptions, createOptions } = this._splitControlOptions(options);
|
|
19612
19609
|
position = position != null ? position : "top-left";
|
|
@@ -19617,7 +19614,7 @@ var NgwLeaflet = (function () {
|
|
|
19617
19614
|
}
|
|
19618
19615
|
if (control) {
|
|
19619
19616
|
return new Promise((resolve) => {
|
|
19620
|
-
const promise = () => __async$
|
|
19617
|
+
const promise = () => __async$t(this, null, function* () {
|
|
19621
19618
|
const _control = yield control;
|
|
19622
19619
|
const c = this.mapAdapter.addControl(_control, position, addOptions);
|
|
19623
19620
|
resolve(c);
|
|
@@ -19640,7 +19637,7 @@ var NgwLeaflet = (function () {
|
|
|
19640
19637
|
* ```
|
|
19641
19638
|
*/
|
|
19642
19639
|
createControl(control, options) {
|
|
19643
|
-
return __async$
|
|
19640
|
+
return __async$t(this, null, function* () {
|
|
19644
19641
|
yield this.onLoad("build-map");
|
|
19645
19642
|
if (this.mapAdapter.createControl) {
|
|
19646
19643
|
return this.mapAdapter.createControl(control, options);
|
|
@@ -19648,7 +19645,7 @@ var NgwLeaflet = (function () {
|
|
|
19648
19645
|
});
|
|
19649
19646
|
}
|
|
19650
19647
|
createButtonControl(options) {
|
|
19651
|
-
return __async$
|
|
19648
|
+
return __async$t(this, null, function* () {
|
|
19652
19649
|
yield this.onLoad("build-map");
|
|
19653
19650
|
if (this.mapAdapter.createButtonControl) {
|
|
19654
19651
|
return this.mapAdapter.createButtonControl(options);
|
|
@@ -19675,7 +19672,7 @@ var NgwLeaflet = (function () {
|
|
|
19675
19672
|
* {@link http://code.nextgis.com/demo-examples-toggle-control | Toggle button control example}
|
|
19676
19673
|
*/
|
|
19677
19674
|
createToggleControl(options) {
|
|
19678
|
-
return __async$
|
|
19675
|
+
return __async$t(this, null, function* () {
|
|
19679
19676
|
yield this.onLoad("build-map");
|
|
19680
19677
|
if (this.mapAdapter.createToggleControl) {
|
|
19681
19678
|
return this.mapAdapter.createToggleControl(options);
|
|
@@ -19734,7 +19731,7 @@ var NgwLeaflet = (function () {
|
|
|
19734
19731
|
}
|
|
19735
19732
|
}
|
|
19736
19733
|
_applyControls(position) {
|
|
19737
|
-
return __async$
|
|
19734
|
+
return __async$t(this, null, function* () {
|
|
19738
19735
|
if (this._loadControlQueue[position].length) {
|
|
19739
19736
|
this._isControlLoading[position] = true;
|
|
19740
19737
|
const controlCb = this._loadControlQueue[position][0];
|
|
@@ -19775,12 +19772,12 @@ var NgwLeaflet = (function () {
|
|
|
19775
19772
|
let WebMapControls = _WebMapControls;
|
|
19776
19773
|
|
|
19777
19774
|
var __defProp$P = Object.defineProperty;
|
|
19778
|
-
var __defProps$
|
|
19779
|
-
var __getOwnPropDescs$
|
|
19775
|
+
var __defProps$o = Object.defineProperties;
|
|
19776
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
19780
19777
|
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
19781
19778
|
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
19782
19779
|
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
19783
|
-
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : Symbol.for("Symbol." + name);
|
|
19780
|
+
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
19784
19781
|
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
19785
19782
|
var __spreadValues$z = (a, b) => {
|
|
19786
19783
|
for (var prop in b || (b = {}))
|
|
@@ -19793,7 +19790,7 @@ var NgwLeaflet = (function () {
|
|
|
19793
19790
|
}
|
|
19794
19791
|
return a;
|
|
19795
19792
|
};
|
|
19796
|
-
var __spreadProps$
|
|
19793
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
19797
19794
|
var __objRest$8 = (source, exclude) => {
|
|
19798
19795
|
var target = {};
|
|
19799
19796
|
for (var prop in source)
|
|
@@ -19806,7 +19803,7 @@ var NgwLeaflet = (function () {
|
|
|
19806
19803
|
}
|
|
19807
19804
|
return target;
|
|
19808
19805
|
};
|
|
19809
|
-
var __async$
|
|
19806
|
+
var __async$s = (__this, __arguments, generator) => {
|
|
19810
19807
|
return new Promise((resolve, reject) => {
|
|
19811
19808
|
var fulfilled = (value) => {
|
|
19812
19809
|
try {
|
|
@@ -19840,7 +19837,7 @@ var NgwLeaflet = (function () {
|
|
|
19840
19837
|
* @internal
|
|
19841
19838
|
*/
|
|
19842
19839
|
_addLayerProviders() {
|
|
19843
|
-
return __async$
|
|
19840
|
+
return __async$s(this, null, function* () {
|
|
19844
19841
|
try {
|
|
19845
19842
|
for (var iter2 = __forAwait(this._starterKits), more2, temp2, error2; more2 = !(temp2 = yield iter2.next()).done; more2 = false) {
|
|
19846
19843
|
const kit = temp2.value;
|
|
@@ -19884,7 +19881,7 @@ var NgwLeaflet = (function () {
|
|
|
19884
19881
|
* @internal
|
|
19885
19882
|
*/
|
|
19886
19883
|
_onLoadSync() {
|
|
19887
|
-
return __async$
|
|
19884
|
+
return __async$s(this, null, function* () {
|
|
19888
19885
|
try {
|
|
19889
19886
|
for (var iter = __forAwait(this._starterKits), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
|
|
19890
19887
|
const kit = temp.value;
|
|
@@ -19922,7 +19919,7 @@ var NgwLeaflet = (function () {
|
|
|
19922
19919
|
}
|
|
19923
19920
|
}
|
|
19924
19921
|
const _a = controlOptions, { id, order, position } = _a, options = __objRest$8(_a, ["id", "order", "position"]);
|
|
19925
|
-
this.addControl(controlAdapterName, position || "top-left", __spreadProps$
|
|
19922
|
+
this.addControl(controlAdapterName, position || "top-left", __spreadProps$o(__spreadValues$z({}, options), {
|
|
19926
19923
|
id,
|
|
19927
19924
|
order
|
|
19928
19925
|
}));
|
|
@@ -20292,8 +20289,8 @@ var NgwLeaflet = (function () {
|
|
|
20292
20289
|
}
|
|
20293
20290
|
|
|
20294
20291
|
var __defProp$L = Object.defineProperty;
|
|
20295
|
-
var __defProps$
|
|
20296
|
-
var __getOwnPropDescs$
|
|
20292
|
+
var __defProps$n = Object.defineProperties;
|
|
20293
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
20297
20294
|
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
20298
20295
|
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
20299
20296
|
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
@@ -20309,7 +20306,7 @@ var NgwLeaflet = (function () {
|
|
|
20309
20306
|
}
|
|
20310
20307
|
return a;
|
|
20311
20308
|
};
|
|
20312
|
-
var __spreadProps$
|
|
20309
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
20313
20310
|
var __publicField$u = (obj, key, value) => __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
20314
20311
|
class ImageAdapter extends BaseAdapter {
|
|
20315
20312
|
constructor() {
|
|
@@ -20322,10 +20319,10 @@ var NgwLeaflet = (function () {
|
|
|
20322
20319
|
if (url) {
|
|
20323
20320
|
const updateWmsParamsFromOpt = options.updateWmsParams;
|
|
20324
20321
|
const request = getLayerRequestOptions(options);
|
|
20325
|
-
this.layer = new ImageLayer(url, __spreadProps$
|
|
20322
|
+
this.layer = new ImageLayer(url, __spreadProps$n(__spreadValues$y(__spreadValues$y(__spreadValues$y({
|
|
20326
20323
|
pane: this.pane,
|
|
20327
20324
|
setViewDelay: options.setViewDelay
|
|
20328
|
-
}, __spreadProps$
|
|
20325
|
+
}, __spreadProps$n(__spreadValues$y({
|
|
20329
20326
|
transparent: true
|
|
20330
20327
|
}, options), {
|
|
20331
20328
|
opacity: (_a = options.opacity) != null ? _a : void 0
|
|
@@ -20414,8 +20411,8 @@ var NgwLeaflet = (function () {
|
|
|
20414
20411
|
const TileLayer = makeRemote(TileLayerBase);
|
|
20415
20412
|
|
|
20416
20413
|
var __defProp$K = Object.defineProperty;
|
|
20417
|
-
var __defProps$
|
|
20418
|
-
var __getOwnPropDescs$
|
|
20414
|
+
var __defProps$m = Object.defineProperties;
|
|
20415
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
20419
20416
|
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
20420
20417
|
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
20421
20418
|
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
@@ -20431,7 +20428,7 @@ var NgwLeaflet = (function () {
|
|
|
20431
20428
|
}
|
|
20432
20429
|
return a;
|
|
20433
20430
|
};
|
|
20434
|
-
var __spreadProps$
|
|
20431
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
20435
20432
|
var __objRest$7 = (source, exclude) => {
|
|
20436
20433
|
var target = {};
|
|
20437
20434
|
for (var prop in source)
|
|
@@ -20462,7 +20459,7 @@ var NgwLeaflet = (function () {
|
|
|
20462
20459
|
let layer;
|
|
20463
20460
|
const request = getLayerRequestOptions(opt);
|
|
20464
20461
|
if (request) {
|
|
20465
|
-
layer = new TileLayer(url, __spreadProps$
|
|
20462
|
+
layer = new TileLayer(url, __spreadProps$m(__spreadValues$x({}, tileLayerOptions), {
|
|
20466
20463
|
request,
|
|
20467
20464
|
setViewDelay: opt.setViewDelay
|
|
20468
20465
|
}));
|
|
@@ -20485,8 +20482,8 @@ var NgwLeaflet = (function () {
|
|
|
20485
20482
|
}
|
|
20486
20483
|
|
|
20487
20484
|
var __defProp$J = Object.defineProperty;
|
|
20488
|
-
var __defProps$
|
|
20489
|
-
var __getOwnPropDescs$
|
|
20485
|
+
var __defProps$l = Object.defineProperties;
|
|
20486
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
20490
20487
|
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
20491
20488
|
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
20492
20489
|
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
@@ -20502,11 +20499,11 @@ var NgwLeaflet = (function () {
|
|
|
20502
20499
|
}
|
|
20503
20500
|
return a;
|
|
20504
20501
|
};
|
|
20505
|
-
var __spreadProps$
|
|
20502
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
20506
20503
|
class OsmAdapter extends TileAdapter {
|
|
20507
20504
|
addLayer(options) {
|
|
20508
20505
|
const url = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
|
|
20509
|
-
return super.addLayer(__spreadProps$
|
|
20506
|
+
return super.addLayer(__spreadProps$l(__spreadValues$w({
|
|
20510
20507
|
name: "OpenStreetMap",
|
|
20511
20508
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
20512
20509
|
}, options), {
|
|
@@ -20523,8 +20520,8 @@ var NgwLeaflet = (function () {
|
|
|
20523
20520
|
const WmsLayer = makeRemote(WmsLayerBase);
|
|
20524
20521
|
|
|
20525
20522
|
var __defProp$I = Object.defineProperty;
|
|
20526
|
-
var __defProps$
|
|
20527
|
-
var __getOwnPropDescs$
|
|
20523
|
+
var __defProps$k = Object.defineProperties;
|
|
20524
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
20528
20525
|
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
20529
20526
|
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
20530
20527
|
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
@@ -20540,7 +20537,7 @@ var NgwLeaflet = (function () {
|
|
|
20540
20537
|
}
|
|
20541
20538
|
return a;
|
|
20542
20539
|
};
|
|
20543
|
-
var __spreadProps$
|
|
20540
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
20544
20541
|
var __objRest$6 = (source, exclude) => {
|
|
20545
20542
|
var target = {};
|
|
20546
20543
|
for (var prop in source)
|
|
@@ -20572,7 +20569,7 @@ var NgwLeaflet = (function () {
|
|
|
20572
20569
|
let layer;
|
|
20573
20570
|
const request = getLayerRequestOptions(opt);
|
|
20574
20571
|
if (request) {
|
|
20575
|
-
layer = new WmsLayer(url, __spreadProps$
|
|
20572
|
+
layer = new WmsLayer(url, __spreadProps$k(__spreadValues$v({}, layerOptions), {
|
|
20576
20573
|
request
|
|
20577
20574
|
}));
|
|
20578
20575
|
} else {
|
|
@@ -21051,7 +21048,7 @@ var NgwLeaflet = (function () {
|
|
|
21051
21048
|
}
|
|
21052
21049
|
return a;
|
|
21053
21050
|
};
|
|
21054
|
-
var __async$
|
|
21051
|
+
var __async$r = (__this, __arguments, generator) => {
|
|
21055
21052
|
return new Promise((resolve, reject) => {
|
|
21056
21053
|
var fulfilled = (value) => {
|
|
21057
21054
|
try {
|
|
@@ -21072,7 +21069,7 @@ var NgwLeaflet = (function () {
|
|
|
21072
21069
|
});
|
|
21073
21070
|
};
|
|
21074
21071
|
function apiRequest(opt) {
|
|
21075
|
-
return __async$
|
|
21072
|
+
return __async$r(this, null, function* () {
|
|
21076
21073
|
const { params, name, connector, requestOptions } = opt;
|
|
21077
21074
|
const apiItems = yield connector.connect();
|
|
21078
21075
|
let apiItem = apiItems && apiItems[name];
|
|
@@ -21262,7 +21259,7 @@ var NgwLeaflet = (function () {
|
|
|
21262
21259
|
let Cache = _Cache;
|
|
21263
21260
|
|
|
21264
21261
|
var pkg = {
|
|
21265
|
-
version: "4.0.0-alpha.
|
|
21262
|
+
version: "4.0.0-alpha.6"};
|
|
21266
21263
|
|
|
21267
21264
|
class AbortError extends Error {
|
|
21268
21265
|
constructor(message = "AbortError") {
|
|
@@ -21476,7 +21473,7 @@ var NgwLeaflet = (function () {
|
|
|
21476
21473
|
}
|
|
21477
21474
|
return target;
|
|
21478
21475
|
};
|
|
21479
|
-
var __async$
|
|
21476
|
+
var __async$q = (__this, __arguments, generator) => {
|
|
21480
21477
|
return new Promise((resolve, reject) => {
|
|
21481
21478
|
var fulfilled = (value) => {
|
|
21482
21479
|
try {
|
|
@@ -21501,7 +21498,7 @@ var NgwLeaflet = (function () {
|
|
|
21501
21498
|
return ct !== void 0 && ct !== null && ct.includes("application/vnd.lunkwill.request-summary+json");
|
|
21502
21499
|
}
|
|
21503
21500
|
function responseJson(response) {
|
|
21504
|
-
return __async$
|
|
21501
|
+
return __async$q(this, null, function* () {
|
|
21505
21502
|
try {
|
|
21506
21503
|
return response.json();
|
|
21507
21504
|
} catch (e) {
|
|
@@ -21510,7 +21507,7 @@ var NgwLeaflet = (function () {
|
|
|
21510
21507
|
});
|
|
21511
21508
|
}
|
|
21512
21509
|
function lunkwillResponseUrl(lwResp) {
|
|
21513
|
-
return __async$
|
|
21510
|
+
return __async$q(this, null, function* () {
|
|
21514
21511
|
const lwData = yield responseJson(lwResp);
|
|
21515
21512
|
let delay = lwData.delay_ms;
|
|
21516
21513
|
const retry = lwData.retry_ms !== void 0 ? lwData.retry_ms : 2e3;
|
|
@@ -21554,7 +21551,7 @@ var NgwLeaflet = (function () {
|
|
|
21554
21551
|
});
|
|
21555
21552
|
}
|
|
21556
21553
|
function lunkwillFetch(lwRespUrl) {
|
|
21557
|
-
return __async$
|
|
21554
|
+
return __async$q(this, null, function* () {
|
|
21558
21555
|
try {
|
|
21559
21556
|
return yield window.fetch(lwRespUrl, { credentials: "same-origin" });
|
|
21560
21557
|
} catch (e) {
|
|
@@ -21602,7 +21599,7 @@ var NgwLeaflet = (function () {
|
|
|
21602
21599
|
return path + urlParams;
|
|
21603
21600
|
}
|
|
21604
21601
|
function request(path, options, cacheEngine) {
|
|
21605
|
-
return __async$
|
|
21602
|
+
return __async$q(this, null, function* () {
|
|
21606
21603
|
var _b, _c;
|
|
21607
21604
|
const defaults = {
|
|
21608
21605
|
method: "GET",
|
|
@@ -21646,7 +21643,7 @@ var NgwLeaflet = (function () {
|
|
|
21646
21643
|
opt.headers = headers;
|
|
21647
21644
|
}
|
|
21648
21645
|
const url = generateUrl(path, query);
|
|
21649
|
-
const makeRequest = () => __async$
|
|
21646
|
+
const makeRequest = () => __async$q(null, null, function* () {
|
|
21650
21647
|
let response;
|
|
21651
21648
|
try {
|
|
21652
21649
|
response = yield fetch(url, opt);
|
|
@@ -21710,8 +21707,8 @@ var NgwLeaflet = (function () {
|
|
|
21710
21707
|
}
|
|
21711
21708
|
|
|
21712
21709
|
var __defProp$x = Object.defineProperty;
|
|
21713
|
-
var __defProps$
|
|
21714
|
-
var __getOwnPropDescs$
|
|
21710
|
+
var __defProps$j = Object.defineProperties;
|
|
21711
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
21715
21712
|
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
21716
21713
|
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
21717
21714
|
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
@@ -21727,7 +21724,7 @@ var NgwLeaflet = (function () {
|
|
|
21727
21724
|
}
|
|
21728
21725
|
return a;
|
|
21729
21726
|
};
|
|
21730
|
-
var __spreadProps$
|
|
21727
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
21731
21728
|
var __objRest$4 = (source, exclude) => {
|
|
21732
21729
|
var target = {};
|
|
21733
21730
|
for (var prop in source)
|
|
@@ -21740,7 +21737,7 @@ var NgwLeaflet = (function () {
|
|
|
21740
21737
|
}
|
|
21741
21738
|
return target;
|
|
21742
21739
|
};
|
|
21743
|
-
var __async$
|
|
21740
|
+
var __async$p = (__this, __arguments, generator) => {
|
|
21744
21741
|
return new Promise((resolve, reject) => {
|
|
21745
21742
|
var fulfilled = (value) => {
|
|
21746
21743
|
try {
|
|
@@ -21791,7 +21788,7 @@ var NgwLeaflet = (function () {
|
|
|
21791
21788
|
}
|
|
21792
21789
|
function route(name, connector, ...rest) {
|
|
21793
21790
|
const result = {
|
|
21794
|
-
url: (opt) => __async$
|
|
21791
|
+
url: (opt) => __async$p(null, null, function* () {
|
|
21795
21792
|
var _a;
|
|
21796
21793
|
const routeData = yield connector.connect();
|
|
21797
21794
|
const template = routeURL(
|
|
@@ -21822,7 +21819,7 @@ var NgwLeaflet = (function () {
|
|
|
21822
21819
|
const headers = objectRemoveEmpty(__spreadValues$r(__spreadValues$r({}, connector.getAuthorizationHeaders()), optHeaders != null ? optHeaders : {}));
|
|
21823
21820
|
return request(
|
|
21824
21821
|
template,
|
|
21825
|
-
__spreadProps$
|
|
21822
|
+
__spreadProps$j(__spreadValues$r({
|
|
21826
21823
|
headers
|
|
21827
21824
|
}, restOpt), {
|
|
21828
21825
|
method
|
|
@@ -21947,8 +21944,8 @@ var NgwLeaflet = (function () {
|
|
|
21947
21944
|
}
|
|
21948
21945
|
|
|
21949
21946
|
var __defProp$w = Object.defineProperty;
|
|
21950
|
-
var __defProps$
|
|
21951
|
-
var __getOwnPropDescs$
|
|
21947
|
+
var __defProps$i = Object.defineProperties;
|
|
21948
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
21952
21949
|
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
21953
21950
|
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
21954
21951
|
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
@@ -21964,7 +21961,7 @@ var NgwLeaflet = (function () {
|
|
|
21964
21961
|
}
|
|
21965
21962
|
return a;
|
|
21966
21963
|
};
|
|
21967
|
-
var __spreadProps$
|
|
21964
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
21968
21965
|
var __objRest$3 = (source, exclude) => {
|
|
21969
21966
|
var target = {};
|
|
21970
21967
|
for (var prop in source)
|
|
@@ -21978,7 +21975,7 @@ var NgwLeaflet = (function () {
|
|
|
21978
21975
|
return target;
|
|
21979
21976
|
};
|
|
21980
21977
|
var __publicField$l = (obj, key, value) => __defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
21981
|
-
var __async$
|
|
21978
|
+
var __async$o = (__this, __arguments, generator) => {
|
|
21982
21979
|
return new Promise((resolve, reject) => {
|
|
21983
21980
|
var fulfilled = (value) => {
|
|
21984
21981
|
try {
|
|
@@ -22002,7 +21999,7 @@ var NgwLeaflet = (function () {
|
|
|
22002
21999
|
let REQUEST_ID = 0;
|
|
22003
22000
|
class NgwConnector {
|
|
22004
22001
|
constructor(options) {
|
|
22005
|
-
this
|
|
22002
|
+
__publicField$l(this, "options", options);
|
|
22006
22003
|
__publicField$l(this, "id", ID$1++);
|
|
22007
22004
|
__publicField$l(this, "emitter", new EventEmitter());
|
|
22008
22005
|
__publicField$l(this, "user");
|
|
@@ -22067,7 +22064,7 @@ var NgwLeaflet = (function () {
|
|
|
22067
22064
|
* ```
|
|
22068
22065
|
*/
|
|
22069
22066
|
connect() {
|
|
22070
|
-
return __async$
|
|
22067
|
+
return __async$o(this, arguments, function* ({
|
|
22071
22068
|
signal
|
|
22072
22069
|
} = {}) {
|
|
22073
22070
|
const auth = this.options.auth;
|
|
@@ -22106,7 +22103,7 @@ var NgwLeaflet = (function () {
|
|
|
22106
22103
|
this.emitter.emit("logout");
|
|
22107
22104
|
}
|
|
22108
22105
|
getUserInfo(credentials, options) {
|
|
22109
|
-
return __async$
|
|
22106
|
+
return __async$o(this, null, function* () {
|
|
22110
22107
|
if (this.user && this.user.id) {
|
|
22111
22108
|
return this.user;
|
|
22112
22109
|
}
|
|
@@ -22166,7 +22163,7 @@ var NgwLeaflet = (function () {
|
|
|
22166
22163
|
* @param options - Request options
|
|
22167
22164
|
*/
|
|
22168
22165
|
makeQuery(_0, _1) {
|
|
22169
|
-
return __async$
|
|
22166
|
+
return __async$o(this, arguments, function* (url, params, options = {}) {
|
|
22170
22167
|
var _b;
|
|
22171
22168
|
url = (this.options.baseUrl ? this.options.baseUrl : "") + url;
|
|
22172
22169
|
if (!url) {
|
|
@@ -22199,7 +22196,7 @@ var NgwLeaflet = (function () {
|
|
|
22199
22196
|
});
|
|
22200
22197
|
}
|
|
22201
22198
|
options.signal = internalSignal;
|
|
22202
|
-
const createPromise = () => __async$
|
|
22199
|
+
const createPromise = () => __async$o(this, null, function* () {
|
|
22203
22200
|
const id = REQUEST_ID++;
|
|
22204
22201
|
this.activeRequests[id] = internalAbortController;
|
|
22205
22202
|
try {
|
|
@@ -22209,7 +22206,7 @@ var NgwLeaflet = (function () {
|
|
|
22209
22206
|
}
|
|
22210
22207
|
});
|
|
22211
22208
|
if (method === "GET" && cache !== false) {
|
|
22212
|
-
const cacheOptions = cacheProps ? cacheProps : __spreadProps$
|
|
22209
|
+
const cacheOptions = cacheProps ? cacheProps : __spreadProps$i(__spreadValues$q({}, objectRemoveEmpty({
|
|
22213
22210
|
headers,
|
|
22214
22211
|
withCredentials,
|
|
22215
22212
|
responseType,
|
|
@@ -22263,7 +22260,7 @@ var NgwLeaflet = (function () {
|
|
|
22263
22260
|
});
|
|
22264
22261
|
}
|
|
22265
22262
|
_login(credentials, options) {
|
|
22266
|
-
return __async$
|
|
22263
|
+
return __async$o(this, null, function* () {
|
|
22267
22264
|
try {
|
|
22268
22265
|
const data = yield this.getUserInfo(credentials, options);
|
|
22269
22266
|
this.user = data;
|
|
@@ -22322,8 +22319,8 @@ var NgwLeaflet = (function () {
|
|
|
22322
22319
|
}
|
|
22323
22320
|
|
|
22324
22321
|
var __defProp$v = Object.defineProperty;
|
|
22325
|
-
var __defProps$
|
|
22326
|
-
var __getOwnPropDescs$
|
|
22322
|
+
var __defProps$h = Object.defineProperties;
|
|
22323
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
22327
22324
|
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
22328
22325
|
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
22329
22326
|
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
@@ -22339,9 +22336,9 @@ var NgwLeaflet = (function () {
|
|
|
22339
22336
|
}
|
|
22340
22337
|
return a;
|
|
22341
22338
|
};
|
|
22342
|
-
var __spreadProps$
|
|
22339
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
22343
22340
|
var __publicField$k = (obj, key, value) => __defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22344
|
-
var __async$
|
|
22341
|
+
var __async$n = (__this, __arguments, generator) => {
|
|
22345
22342
|
return new Promise((resolve, reject) => {
|
|
22346
22343
|
var fulfilled = (value) => {
|
|
22347
22344
|
try {
|
|
@@ -22459,19 +22456,20 @@ var NgwLeaflet = (function () {
|
|
|
22459
22456
|
} else {
|
|
22460
22457
|
Object.assign(query, resourceToQuery(resource));
|
|
22461
22458
|
}
|
|
22462
|
-
return this.connector.route("resource.search").get(__spreadProps$
|
|
22459
|
+
return this.connector.route("resource.search").get(__spreadProps$h(__spreadValues$p({}, requestOptions), {
|
|
22463
22460
|
query: __spreadValues$p({
|
|
22464
22461
|
serialization: "full"
|
|
22465
22462
|
}, query)
|
|
22466
22463
|
})).then((resources) => {
|
|
22467
|
-
|
|
22468
|
-
|
|
22464
|
+
const items2 = Array.isArray(resources) ? resources : resources.items;
|
|
22465
|
+
if (requestOptions == null ? void 0 : requestOptions.cache) {
|
|
22466
|
+
for (const x of items2) {
|
|
22469
22467
|
this.cache.add("resource.item", Promise.resolve(x), {
|
|
22470
22468
|
id: x.resource.id
|
|
22471
22469
|
});
|
|
22472
22470
|
}
|
|
22473
22471
|
}
|
|
22474
|
-
return
|
|
22472
|
+
return items2;
|
|
22475
22473
|
});
|
|
22476
22474
|
}
|
|
22477
22475
|
return items;
|
|
@@ -22513,7 +22511,7 @@ var NgwLeaflet = (function () {
|
|
|
22513
22511
|
});
|
|
22514
22512
|
}
|
|
22515
22513
|
_getChildrenOf(_0, _1) {
|
|
22516
|
-
return __async$
|
|
22514
|
+
return __async$n(this, arguments, function* (parentDef, requestOptions, _items = []) {
|
|
22517
22515
|
let parent = void 0;
|
|
22518
22516
|
if (typeof parentDef === "string") {
|
|
22519
22517
|
parent = yield this.getId(parentDef, requestOptions);
|
|
@@ -22522,7 +22520,7 @@ var NgwLeaflet = (function () {
|
|
|
22522
22520
|
} else {
|
|
22523
22521
|
parent = parentDef;
|
|
22524
22522
|
}
|
|
22525
|
-
const items = yield this.connector.route("resource.collection").get(__spreadProps$
|
|
22523
|
+
const items = yield this.connector.route("resource.collection").get(__spreadProps$h(__spreadValues$p({}, requestOptions), {
|
|
22526
22524
|
query: {
|
|
22527
22525
|
parent
|
|
22528
22526
|
}
|
|
@@ -22550,7 +22548,7 @@ var NgwLeaflet = (function () {
|
|
|
22550
22548
|
});
|
|
22551
22549
|
}
|
|
22552
22550
|
_cleanResourceItemCache(id) {
|
|
22553
|
-
return __async$
|
|
22551
|
+
return __async$n(this, null, function* () {
|
|
22554
22552
|
var _a;
|
|
22555
22553
|
const all = this.cache.all();
|
|
22556
22554
|
const toDelete = [];
|
|
@@ -22820,8 +22818,8 @@ var NgwLeaflet = (function () {
|
|
|
22820
22818
|
}
|
|
22821
22819
|
|
|
22822
22820
|
var __defProp$t = Object.defineProperty;
|
|
22823
|
-
var __defProps$
|
|
22824
|
-
var __getOwnPropDescs$
|
|
22821
|
+
var __defProps$g = Object.defineProperties;
|
|
22822
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
22825
22823
|
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
22826
22824
|
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
22827
22825
|
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
@@ -22837,7 +22835,7 @@ var NgwLeaflet = (function () {
|
|
|
22837
22835
|
}
|
|
22838
22836
|
return a;
|
|
22839
22837
|
};
|
|
22840
|
-
var __spreadProps$
|
|
22838
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
22841
22839
|
function getNgwWebmapExtent(webmap) {
|
|
22842
22840
|
const bottom = webmap["extent_bottom"];
|
|
22843
22841
|
const left = webmap["extent_left"];
|
|
@@ -22904,14 +22902,14 @@ var NgwLeaflet = (function () {
|
|
|
22904
22902
|
if (resource.cls && resource.parent && resource.cls.indexOf("style") !== -1) {
|
|
22905
22903
|
return connector.getResource(resource.parent.id, options).then((res) => {
|
|
22906
22904
|
if (res) {
|
|
22907
|
-
return fetchNgwLayerExtent(__spreadProps$
|
|
22905
|
+
return fetchNgwLayerExtent(__spreadProps$g(__spreadValues$o({}, options), {
|
|
22908
22906
|
resourceId: res.resource.id,
|
|
22909
22907
|
connector
|
|
22910
22908
|
}));
|
|
22911
22909
|
}
|
|
22912
22910
|
});
|
|
22913
22911
|
} else {
|
|
22914
|
-
return fetchNgwLayerExtent(__spreadProps$
|
|
22912
|
+
return fetchNgwLayerExtent(__spreadProps$g(__spreadValues$o({}, options), {
|
|
22915
22913
|
resourceId: resource.id,
|
|
22916
22914
|
connector
|
|
22917
22915
|
}));
|
|
@@ -22922,7 +22920,7 @@ var NgwLeaflet = (function () {
|
|
|
22922
22920
|
var __defProp$s = Object.defineProperty;
|
|
22923
22921
|
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
22924
22922
|
var __publicField$i = (obj, key, value) => __defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22925
|
-
var __async$
|
|
22923
|
+
var __async$m = (__this, __arguments, generator) => {
|
|
22926
22924
|
return new Promise((resolve, reject) => {
|
|
22927
22925
|
var fulfilled = (value) => {
|
|
22928
22926
|
try {
|
|
@@ -22950,12 +22948,12 @@ var NgwLeaflet = (function () {
|
|
|
22950
22948
|
}
|
|
22951
22949
|
/** @deprecated use {@link NgwResource.getBounds} instead */
|
|
22952
22950
|
getExtent() {
|
|
22953
|
-
return __async$
|
|
22951
|
+
return __async$m(this, null, function* () {
|
|
22954
22952
|
return this.getBounds();
|
|
22955
22953
|
});
|
|
22956
22954
|
}
|
|
22957
22955
|
getBounds(options) {
|
|
22958
|
-
return __async$
|
|
22956
|
+
return __async$m(this, null, function* () {
|
|
22959
22957
|
if (this._extent) {
|
|
22960
22958
|
return this._extent;
|
|
22961
22959
|
}
|
|
@@ -22971,7 +22969,7 @@ var NgwLeaflet = (function () {
|
|
|
22971
22969
|
}
|
|
22972
22970
|
}
|
|
22973
22971
|
|
|
22974
|
-
var __async$
|
|
22972
|
+
var __async$l = (__this, __arguments, generator) => {
|
|
22975
22973
|
return new Promise((resolve, reject) => {
|
|
22976
22974
|
var fulfilled = (value) => {
|
|
22977
22975
|
try {
|
|
@@ -22992,7 +22990,7 @@ var NgwLeaflet = (function () {
|
|
|
22992
22990
|
});
|
|
22993
22991
|
};
|
|
22994
22992
|
function resourceIdFromLayerOptions(options, connector) {
|
|
22995
|
-
return __async$
|
|
22993
|
+
return __async$l(this, null, function* () {
|
|
22996
22994
|
const resource = options.resource;
|
|
22997
22995
|
const item = resource;
|
|
22998
22996
|
let { keyname, resourceId } = options;
|
|
@@ -23034,7 +23032,7 @@ var NgwLeaflet = (function () {
|
|
|
23034
23032
|
return a;
|
|
23035
23033
|
};
|
|
23036
23034
|
var __publicField$h = (obj, key, value) => __defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
23037
|
-
var __async$
|
|
23035
|
+
var __async$k = (__this, __arguments, generator) => {
|
|
23038
23036
|
return new Promise((resolve, reject) => {
|
|
23039
23037
|
var fulfilled = (value) => {
|
|
23040
23038
|
try {
|
|
@@ -23055,7 +23053,7 @@ var NgwLeaflet = (function () {
|
|
|
23055
23053
|
});
|
|
23056
23054
|
};
|
|
23057
23055
|
function createOnFirstShowAdapter(_0) {
|
|
23058
|
-
return __async$
|
|
23056
|
+
return __async$k(this, arguments, function* ({
|
|
23059
23057
|
webMap,
|
|
23060
23058
|
adapterOptions = {},
|
|
23061
23059
|
onLayerAdded,
|
|
@@ -23081,7 +23079,7 @@ var NgwLeaflet = (function () {
|
|
|
23081
23079
|
return this._removed;
|
|
23082
23080
|
}
|
|
23083
23081
|
showLayer() {
|
|
23084
|
-
return __async$
|
|
23082
|
+
return __async$k(this, null, function* () {
|
|
23085
23083
|
this.options.visibility = true;
|
|
23086
23084
|
if (this.layer.length) {
|
|
23087
23085
|
for (const x of this.layer) {
|
|
@@ -23093,7 +23091,7 @@ var NgwLeaflet = (function () {
|
|
|
23093
23091
|
});
|
|
23094
23092
|
}
|
|
23095
23093
|
hideLayer() {
|
|
23096
|
-
return __async$
|
|
23094
|
+
return __async$k(this, null, function* () {
|
|
23097
23095
|
this.options.visibility = false;
|
|
23098
23096
|
if (this.layer) {
|
|
23099
23097
|
for (const x of this.layer) {
|
|
@@ -23103,7 +23101,7 @@ var NgwLeaflet = (function () {
|
|
|
23103
23101
|
});
|
|
23104
23102
|
}
|
|
23105
23103
|
loadLayer() {
|
|
23106
|
-
return __async$
|
|
23104
|
+
return __async$k(this, null, function* () {
|
|
23107
23105
|
if (!this.layer.length && !this._creatingInProgress) {
|
|
23108
23106
|
this._creatingInProgress = true;
|
|
23109
23107
|
const Adapter = yield createAdapter(this);
|
|
@@ -23137,7 +23135,7 @@ var NgwLeaflet = (function () {
|
|
|
23137
23135
|
});
|
|
23138
23136
|
}
|
|
23139
23137
|
|
|
23140
|
-
var __async$
|
|
23138
|
+
var __async$j = (__this, __arguments, generator) => {
|
|
23141
23139
|
return new Promise((resolve, reject) => {
|
|
23142
23140
|
var fulfilled = (value) => {
|
|
23143
23141
|
try {
|
|
@@ -23158,7 +23156,7 @@ var NgwLeaflet = (function () {
|
|
|
23158
23156
|
});
|
|
23159
23157
|
};
|
|
23160
23158
|
function createOnFirstShowNgwAdapter(_0) {
|
|
23161
|
-
return __async$
|
|
23159
|
+
return __async$j(this, arguments, function* ({
|
|
23162
23160
|
webMap,
|
|
23163
23161
|
connector,
|
|
23164
23162
|
item,
|
|
@@ -23193,8 +23191,6 @@ var NgwLeaflet = (function () {
|
|
|
23193
23191
|
}
|
|
23194
23192
|
|
|
23195
23193
|
var __defProp$q = Object.defineProperty;
|
|
23196
|
-
var __defProps$g = Object.defineProperties;
|
|
23197
|
-
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
23198
23194
|
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
23199
23195
|
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
23200
23196
|
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
@@ -23210,27 +23206,6 @@ var NgwLeaflet = (function () {
|
|
|
23210
23206
|
}
|
|
23211
23207
|
return a;
|
|
23212
23208
|
};
|
|
23213
|
-
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
23214
|
-
var __async$j = (__this, __arguments, generator) => {
|
|
23215
|
-
return new Promise((resolve, reject) => {
|
|
23216
|
-
var fulfilled = (value) => {
|
|
23217
|
-
try {
|
|
23218
|
-
step(generator.next(value));
|
|
23219
|
-
} catch (e) {
|
|
23220
|
-
reject(e);
|
|
23221
|
-
}
|
|
23222
|
-
};
|
|
23223
|
-
var rejected = (value) => {
|
|
23224
|
-
try {
|
|
23225
|
-
step(generator.throw(value));
|
|
23226
|
-
} catch (e) {
|
|
23227
|
-
reject(e);
|
|
23228
|
-
}
|
|
23229
|
-
};
|
|
23230
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
23231
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
23232
|
-
});
|
|
23233
|
-
};
|
|
23234
23209
|
const FEATURE_REQUEST_PARAMS = {
|
|
23235
23210
|
srs: 4326,
|
|
23236
23211
|
geom_format: "geojson",
|
|
@@ -23277,86 +23252,6 @@ var NgwLeaflet = (function () {
|
|
|
23277
23252
|
{}
|
|
23278
23253
|
);
|
|
23279
23254
|
}
|
|
23280
|
-
function createFeatureFieldFilterQueries(opt) {
|
|
23281
|
-
return __async$j(this, null, function* () {
|
|
23282
|
-
const queries = getQueries(opt);
|
|
23283
|
-
const itemsParts = yield Promise.all(queries);
|
|
23284
|
-
const ids = [];
|
|
23285
|
-
const items = [];
|
|
23286
|
-
for (const part of itemsParts) {
|
|
23287
|
-
for (const item of part) {
|
|
23288
|
-
if (!ids.includes(item.id)) {
|
|
23289
|
-
items.push(item);
|
|
23290
|
-
ids.push(item.id);
|
|
23291
|
-
}
|
|
23292
|
-
}
|
|
23293
|
-
}
|
|
23294
|
-
const offset = opt.offset !== void 0 ? opt.offset : 0;
|
|
23295
|
-
const limit = opt.limit !== void 0 ? opt.limit : items.length;
|
|
23296
|
-
if (opt.offset || opt.limit) {
|
|
23297
|
-
return items.splice(offset, limit);
|
|
23298
|
-
}
|
|
23299
|
-
return items;
|
|
23300
|
-
});
|
|
23301
|
-
}
|
|
23302
|
-
function createParam(pf) {
|
|
23303
|
-
const [field, operation, value] = pf;
|
|
23304
|
-
const isFldStr = field !== "id" ? "fld_" : "";
|
|
23305
|
-
let vStart = "";
|
|
23306
|
-
let vEnd = "";
|
|
23307
|
-
const field_ = String(field).trim().replace(/^(%?)(.+?)(%?)$/, (m, a, b, c) => {
|
|
23308
|
-
vStart = a;
|
|
23309
|
-
vEnd = c;
|
|
23310
|
-
return b;
|
|
23311
|
-
});
|
|
23312
|
-
const v = vStart + value + vEnd;
|
|
23313
|
-
return [`${isFldStr}${field_}__${operation}`, v];
|
|
23314
|
-
}
|
|
23315
|
-
function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
23316
|
-
var _a;
|
|
23317
|
-
const { filters } = opt;
|
|
23318
|
-
const paramList = (_a = opt.paramList) != null ? _a : [];
|
|
23319
|
-
const logic = typeof filters[0] === "string" ? filters[0] : "all";
|
|
23320
|
-
const filters_ = filters.filter((x) => Array.isArray(x));
|
|
23321
|
-
if (logic === "any") {
|
|
23322
|
-
for (const f of filters_) {
|
|
23323
|
-
if (isPropertyFilter$1(f)) {
|
|
23324
|
-
_queries.push(
|
|
23325
|
-
fetchNgwLayerItemsRequest(__spreadProps$g(__spreadValues$m({}, opt), {
|
|
23326
|
-
paramList: [..._parentAllParams, ...paramList, createParam(f)]
|
|
23327
|
-
}))
|
|
23328
|
-
);
|
|
23329
|
-
} else {
|
|
23330
|
-
getQueries(__spreadProps$g(__spreadValues$m({}, opt), { filters: f }), _queries, [..._parentAllParams]);
|
|
23331
|
-
}
|
|
23332
|
-
}
|
|
23333
|
-
} else if (logic === "all") {
|
|
23334
|
-
const filters2 = [];
|
|
23335
|
-
const propertiesFilterList = [];
|
|
23336
|
-
for (const f of filters_) {
|
|
23337
|
-
if (isPropertyFilter$1(f)) {
|
|
23338
|
-
filters2.push(createParam(f));
|
|
23339
|
-
} else {
|
|
23340
|
-
propertiesFilterList.push(f);
|
|
23341
|
-
}
|
|
23342
|
-
}
|
|
23343
|
-
if (propertiesFilterList.length) {
|
|
23344
|
-
for (const x of propertiesFilterList) {
|
|
23345
|
-
getQueries(__spreadProps$g(__spreadValues$m({}, opt), { filters: x }), _queries, [
|
|
23346
|
-
..._parentAllParams,
|
|
23347
|
-
...filters2
|
|
23348
|
-
]);
|
|
23349
|
-
}
|
|
23350
|
-
} else {
|
|
23351
|
-
_queries.push(
|
|
23352
|
-
fetchNgwLayerItemsRequest(__spreadProps$g(__spreadValues$m({}, opt), {
|
|
23353
|
-
paramList: [..._parentAllParams, ...paramList, ...filters2]
|
|
23354
|
-
}))
|
|
23355
|
-
);
|
|
23356
|
-
}
|
|
23357
|
-
}
|
|
23358
|
-
return _queries;
|
|
23359
|
-
}
|
|
23360
23255
|
function createWktFromCoordArray(coord) {
|
|
23361
23256
|
const polygon = coord.map(([lng, lat]) => {
|
|
23362
23257
|
const [x, y] = degrees2meters(lng, lat).map((c) => round(c));
|
|
@@ -23430,6 +23325,147 @@ var NgwLeaflet = (function () {
|
|
|
23430
23325
|
return fields;
|
|
23431
23326
|
}
|
|
23432
23327
|
|
|
23328
|
+
function isPropertyFilter(value) {
|
|
23329
|
+
return Array.isArray(value) && value.length === 3 && typeof value[0] === "string" && typeof value[1] === "string";
|
|
23330
|
+
}
|
|
23331
|
+
function isPropertiesFilterGroup(value) {
|
|
23332
|
+
return Array.isArray(value) && !isPropertyFilter(value);
|
|
23333
|
+
}
|
|
23334
|
+
function toGetExpr(field) {
|
|
23335
|
+
return field === "id" ? ["fid"] : ["get", field];
|
|
23336
|
+
}
|
|
23337
|
+
function parseWildcardField(field) {
|
|
23338
|
+
const leadingWildcard = field.startsWith("%");
|
|
23339
|
+
const trailingWildcard = field.endsWith("%");
|
|
23340
|
+
return {
|
|
23341
|
+
field: field.slice(
|
|
23342
|
+
leadingWildcard ? 1 : 0,
|
|
23343
|
+
trailingWildcard ? -1 : void 0
|
|
23344
|
+
),
|
|
23345
|
+
leadingWildcard,
|
|
23346
|
+
trailingWildcard
|
|
23347
|
+
};
|
|
23348
|
+
}
|
|
23349
|
+
function toConditionExpr(filter) {
|
|
23350
|
+
const [fieldRaw, op, value] = filter;
|
|
23351
|
+
const field = String(fieldRaw);
|
|
23352
|
+
const getExpr = toGetExpr(field);
|
|
23353
|
+
switch (op) {
|
|
23354
|
+
case "eq":
|
|
23355
|
+
if (value === null) {
|
|
23356
|
+
return ["is_null", getExpr];
|
|
23357
|
+
}
|
|
23358
|
+
return ["==", getExpr, value];
|
|
23359
|
+
case "ne":
|
|
23360
|
+
if (value === null) {
|
|
23361
|
+
return ["!is_null", getExpr];
|
|
23362
|
+
}
|
|
23363
|
+
return ["!=", getExpr, value];
|
|
23364
|
+
case "gt":
|
|
23365
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23366
|
+
throw new Error(
|
|
23367
|
+
`Operator "gt" requires number or string for "${field}"`
|
|
23368
|
+
);
|
|
23369
|
+
}
|
|
23370
|
+
return [">", getExpr, value];
|
|
23371
|
+
case "lt":
|
|
23372
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23373
|
+
throw new Error(
|
|
23374
|
+
`Operator "lt" requires number or string for "${field}"`
|
|
23375
|
+
);
|
|
23376
|
+
}
|
|
23377
|
+
return ["<", getExpr, value];
|
|
23378
|
+
case "ge":
|
|
23379
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23380
|
+
throw new Error(
|
|
23381
|
+
`Operator "ge" requires number or string for "${field}"`
|
|
23382
|
+
);
|
|
23383
|
+
}
|
|
23384
|
+
return [">=", getExpr, value];
|
|
23385
|
+
case "le":
|
|
23386
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23387
|
+
throw new Error(
|
|
23388
|
+
`Operator "le" requires number or string for "${field}"`
|
|
23389
|
+
);
|
|
23390
|
+
}
|
|
23391
|
+
return ["<=", getExpr, value];
|
|
23392
|
+
case "in":
|
|
23393
|
+
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
23394
|
+
throw new Error(
|
|
23395
|
+
`Operator "in" requires (string | number)[] for "${field}"`
|
|
23396
|
+
);
|
|
23397
|
+
}
|
|
23398
|
+
if (!value.length) {
|
|
23399
|
+
throw new Error(
|
|
23400
|
+
`Operator "in" requires non-empty array for "${field}"`
|
|
23401
|
+
);
|
|
23402
|
+
}
|
|
23403
|
+
return ["in", getExpr, ...value];
|
|
23404
|
+
case "notin":
|
|
23405
|
+
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
23406
|
+
throw new Error(
|
|
23407
|
+
`Operator "notin" requires (string | number)[] for "${field}"`
|
|
23408
|
+
);
|
|
23409
|
+
}
|
|
23410
|
+
if (!value.length) {
|
|
23411
|
+
throw new Error(
|
|
23412
|
+
`Operator "notin" requires non-empty array for "${field}"`
|
|
23413
|
+
);
|
|
23414
|
+
}
|
|
23415
|
+
return ["!in", getExpr, ...value];
|
|
23416
|
+
case "ilike": {
|
|
23417
|
+
if (typeof value !== "string") {
|
|
23418
|
+
throw new Error(`Operator "ilike" requires string for "${field}"`);
|
|
23419
|
+
}
|
|
23420
|
+
const parsed = parseWildcardField(field);
|
|
23421
|
+
const pattern = `${parsed.leadingWildcard ? "%" : ""}${value}${parsed.trailingWildcard ? "%" : ""}`;
|
|
23422
|
+
return ["ilike", toGetExpr(parsed.field), pattern];
|
|
23423
|
+
}
|
|
23424
|
+
case "like":
|
|
23425
|
+
throw new Error(
|
|
23426
|
+
`Operator "${op}" is not supported by server FilterExpression`
|
|
23427
|
+
);
|
|
23428
|
+
default: {
|
|
23429
|
+
const exhaustive = op;
|
|
23430
|
+
throw new Error(`Unsupported operator: ${exhaustive}`);
|
|
23431
|
+
}
|
|
23432
|
+
}
|
|
23433
|
+
}
|
|
23434
|
+
function toGroupExpr(filters) {
|
|
23435
|
+
let logicalOp = "all";
|
|
23436
|
+
const children = [];
|
|
23437
|
+
for (const item of filters) {
|
|
23438
|
+
if (item === "all" || item === "any") {
|
|
23439
|
+
logicalOp = item;
|
|
23440
|
+
continue;
|
|
23441
|
+
}
|
|
23442
|
+
if (isPropertyFilter(item)) {
|
|
23443
|
+
children.push(toConditionExpr(item));
|
|
23444
|
+
continue;
|
|
23445
|
+
}
|
|
23446
|
+
if (isPropertiesFilterGroup(item)) {
|
|
23447
|
+
children.push(toGroupExpr(item));
|
|
23448
|
+
continue;
|
|
23449
|
+
}
|
|
23450
|
+
throw new Error("Invalid PropertiesFilter node");
|
|
23451
|
+
}
|
|
23452
|
+
return [logicalOp, ...children];
|
|
23453
|
+
}
|
|
23454
|
+
function propertiesFilterToExpression(filters) {
|
|
23455
|
+
if (!(filters == null ? void 0 : filters.length)) {
|
|
23456
|
+
return [];
|
|
23457
|
+
}
|
|
23458
|
+
return toGroupExpr(filters);
|
|
23459
|
+
}
|
|
23460
|
+
function propertiesFilterToExpressionString(filters) {
|
|
23461
|
+
if (!(filters == null ? void 0 : filters.length)) {
|
|
23462
|
+
return void 0;
|
|
23463
|
+
}
|
|
23464
|
+
return JSON.stringify(
|
|
23465
|
+
propertiesFilterToExpression(filters)
|
|
23466
|
+
);
|
|
23467
|
+
}
|
|
23468
|
+
|
|
23433
23469
|
var __defProp$p = Object.defineProperty;
|
|
23434
23470
|
var __defProps$f = Object.defineProperties;
|
|
23435
23471
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
@@ -23474,10 +23510,12 @@ var NgwLeaflet = (function () {
|
|
|
23474
23510
|
var _a;
|
|
23475
23511
|
const filters = options.filters;
|
|
23476
23512
|
if (filters) {
|
|
23477
|
-
let data = yield
|
|
23478
|
-
|
|
23513
|
+
let data = yield fetchNgwLayerItemsRequest(__spreadProps$f(__spreadValues$l({}, options), {
|
|
23514
|
+
query: __spreadProps$f(__spreadValues$l({}, options.query), {
|
|
23515
|
+
filter: propertiesFilterToExpressionString(filters)
|
|
23516
|
+
})
|
|
23479
23517
|
}));
|
|
23480
|
-
const clientFilterValidate = (_a = options.clientFilterValidate) != null ? _a :
|
|
23518
|
+
const clientFilterValidate = (_a = options.clientFilterValidate) != null ? _a : false;
|
|
23481
23519
|
if (clientFilterValidate) {
|
|
23482
23520
|
data = data.filter((y) => {
|
|
23483
23521
|
const fields = prepareNgwFieldsToPropertiesFilter(__spreadProps$f(__spreadValues$l({}, y.fields), {
|
|
@@ -23493,21 +23531,6 @@ var NgwLeaflet = (function () {
|
|
|
23493
23531
|
}
|
|
23494
23532
|
});
|
|
23495
23533
|
}
|
|
23496
|
-
function isFilterWithAnyCase(filters) {
|
|
23497
|
-
if (filters[0] === "any") {
|
|
23498
|
-
return true;
|
|
23499
|
-
}
|
|
23500
|
-
for (let i = 1; i < filters.length; i++) {
|
|
23501
|
-
const p = filters[i];
|
|
23502
|
-
if (isArray(p)) {
|
|
23503
|
-
const deep = isFilterWithAnyCase(p);
|
|
23504
|
-
if (deep) {
|
|
23505
|
-
return true;
|
|
23506
|
-
}
|
|
23507
|
-
}
|
|
23508
|
-
}
|
|
23509
|
-
return false;
|
|
23510
|
-
}
|
|
23511
23534
|
|
|
23512
23535
|
function getImageAdapterOptions({
|
|
23513
23536
|
resourceId,
|
|
@@ -23683,7 +23706,7 @@ var NgwLeaflet = (function () {
|
|
|
23683
23706
|
var __publicField$g = (obj, key, value) => __defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
23684
23707
|
class BookmarkItem {
|
|
23685
23708
|
constructor(options) {
|
|
23686
|
-
this
|
|
23709
|
+
__publicField$g(this, "options", options);
|
|
23687
23710
|
__publicField$g(this, "name");
|
|
23688
23711
|
__publicField$g(this, "resourceId");
|
|
23689
23712
|
__publicField$g(this, "item");
|
|
@@ -24005,7 +24028,7 @@ var NgwLeaflet = (function () {
|
|
|
24005
24028
|
const STRING_TYPE = "string";
|
|
24006
24029
|
const _ItemProperties = class _ItemProperties {
|
|
24007
24030
|
constructor(item, propertiesList) {
|
|
24008
|
-
this
|
|
24031
|
+
__publicField$d(this, "item", item);
|
|
24009
24032
|
__publicField$d(this, "options", {});
|
|
24010
24033
|
__publicField$d(this, "_properties", {});
|
|
24011
24034
|
__publicField$d(this, "_propertiesList", []);
|
|
@@ -24688,6 +24711,9 @@ var NgwLeaflet = (function () {
|
|
|
24688
24711
|
this.tree.addChild(childItem);
|
|
24689
24712
|
}
|
|
24690
24713
|
}
|
|
24714
|
+
if (this.item.item_type === "group" && !group.group_enabled) {
|
|
24715
|
+
this.properties.property("visibility").set(false);
|
|
24716
|
+
}
|
|
24691
24717
|
return Promise.resolve();
|
|
24692
24718
|
}
|
|
24693
24719
|
initLayerItem(layer) {
|
|
@@ -24763,7 +24789,9 @@ var NgwLeaflet = (function () {
|
|
|
24763
24789
|
name: "visibility",
|
|
24764
24790
|
getProperty(item) {
|
|
24765
24791
|
if (item) {
|
|
24766
|
-
if (item.item.item_type === "group"
|
|
24792
|
+
if (item.item.item_type === "group") {
|
|
24793
|
+
return item.item.group_enabled;
|
|
24794
|
+
} else if (item.item.item_type === "root") {
|
|
24767
24795
|
return treeSome(
|
|
24768
24796
|
item.item,
|
|
24769
24797
|
(i) => "layer_enabled" in i ? i.layer_enabled : false,
|
|
@@ -24776,7 +24804,9 @@ var NgwLeaflet = (function () {
|
|
|
24776
24804
|
return false;
|
|
24777
24805
|
},
|
|
24778
24806
|
onSet(value, options, item) {
|
|
24779
|
-
if (item
|
|
24807
|
+
if ((item == null ? void 0 : item.item.item_type) === "group") {
|
|
24808
|
+
item.item.group_enabled = value;
|
|
24809
|
+
} else if ((item == null ? void 0 : item.item.item_type) === "layer") {
|
|
24780
24810
|
if (item.layer) {
|
|
24781
24811
|
if (value) {
|
|
24782
24812
|
item.webMap.showLayer(item.layer, options);
|
|
@@ -24838,8 +24868,8 @@ var NgwLeaflet = (function () {
|
|
|
24838
24868
|
};
|
|
24839
24869
|
class NgwWebmapLayerAdapter {
|
|
24840
24870
|
constructor(map, options) {
|
|
24841
|
-
this
|
|
24842
|
-
this
|
|
24871
|
+
__publicField$8(this, "map", map);
|
|
24872
|
+
__publicField$8(this, "options", options);
|
|
24843
24873
|
__publicField$8(this, "layer");
|
|
24844
24874
|
__publicField$8(this, "NgwWebmapItem", NgwWebmapItem);
|
|
24845
24875
|
/**
|
|
@@ -25355,6 +25385,23 @@ var NgwLeaflet = (function () {
|
|
|
25355
25385
|
return prepareQmsWmsLayer(service);
|
|
25356
25386
|
});
|
|
25357
25387
|
}
|
|
25388
|
+
searchServices(_0, _1) {
|
|
25389
|
+
return __async$d(this, arguments, function* (search, { limit = 10, offset, signal, type }) {
|
|
25390
|
+
const params = new URLSearchParams({
|
|
25391
|
+
search,
|
|
25392
|
+
limit: String(limit),
|
|
25393
|
+
type
|
|
25394
|
+
});
|
|
25395
|
+
if (offset !== void 0) {
|
|
25396
|
+
params.set("offset", String(offset));
|
|
25397
|
+
}
|
|
25398
|
+
const response = yield this._getJson(
|
|
25399
|
+
`${this.url}/api/v1/geoservices/?${params}`,
|
|
25400
|
+
{ signal }
|
|
25401
|
+
);
|
|
25402
|
+
return response.results;
|
|
25403
|
+
});
|
|
25404
|
+
}
|
|
25358
25405
|
_getJson(_0, _1) {
|
|
25359
25406
|
return __async$d(this, arguments, function* (url, { signal }) {
|
|
25360
25407
|
const response = yield fetch(url, {
|
|
@@ -25372,6 +25419,9 @@ var NgwLeaflet = (function () {
|
|
|
25372
25419
|
__publicField$7(_QmsClient, "url", QMS_URL);
|
|
25373
25420
|
let QmsClient = _QmsClient;
|
|
25374
25421
|
|
|
25422
|
+
var css_248z$2 = ".nextgis-qms-control{--nextgis-qms-control-width:300px;--nextgis-qms-control-max-height:380px;--nextgis-qms-control-background:#fff;--nextgis-qms-control-color:#252a31;--nextgis-qms-control-muted-color:#69717d;--nextgis-qms-control-accent:#0c65af;--nextgis-qms-control-border-color:#d8dde3;--nextgis-qms-control-hover-background:#f3f5f7;--nextgis-qms-control-border-radius:6px;--nextgis-qms-control-shadow:0 2px 10px rgba(0,0,0,.18);--nextgis-qms-control-gap:8px;width:-moz-max-content;width:max-content;color:var(--nextgis-qms-control-color);font:13px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.nextgis-qms-control.ol-control{top:var(--nextgis-qms-control-top,.5em);left:var(--nextgis-qms-control-left,3em);padding:0;background:transparent}.nextgis-qms-control [hidden],.nextgis-qms-control[hidden]{display:none}.nextgis-qms-control button,.nextgis-qms-control input{box-sizing:border-box;font:inherit}.nextgis-qms-control button{margin:0}.nextgis-qms-control .nextgis-qms-control__toggle{display:grid;width:32px;height:32px;padding:0;color:var(--nextgis-qms-control-color);line-height:1;cursor:pointer;background-color:var(--nextgis-qms-control-background);background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22none%22%20viewBox%3D%220%200%2064%2064%22%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22%23176fc1%22%20rx%3D%227.291%22%20style%3D%22stroke-width%3A.202532%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M52%2015.95H33.792a4%204%200%200%201-2.764-1.109l-1.868-1.784a4%204%200%200%200-2.764-1.108H10a2%202%200%200%200-2%202v6h48c0-2.208-1.792-4-4-4M21.244%2034.261a3.1%203.1%200%200%200-1.116-.876q-.665-.31-1.492-.308-.846-.001-1.5.316a3.2%203.2%200%200%200-1.104.884q-.457.571-.692%201.364a6%206%200%200%200-.244%201.768q0%20.983.24%201.768.241.786.692%201.356c.3.376.668.672%201.104.876q.654.307%201.5.308.827.002%201.492-.308a3.04%203.04%200%200%200%201.12-.876q.451-.57.692-1.356.24-.788.24-1.768a6.2%206.2%200%200%200-.24-1.78%204.1%204.1%200%200%200-.692-1.368%22%20style%3D%22stroke-width%3A.202532%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M8%2023.95v26a2%202%200%200%200%202%202h44a2%202%200%200%200%202-2v-26zm16.928%2015.99c-.232.748-.552%201.408-.972%201.972a5.6%205.6%200%200%201-1.492%201.404%206.1%206.1%200%200%201-1.904.808q.095.384.424.624c.216.16.496.292.824.396.336.1.72.176%201.164.232q.664.077%201.436.136l-.616%202.196q-1.5-.055-2.568-.296-1.069-.239-1.808-.664c-.496-.284-.884-.624-1.176-1.036a4.8%204.8%200%200%201-.664-1.424%206.9%206.9%200%200%201-2.216-.664%205.6%205.6%200%200%201-1.768-1.376q-.75-.869-1.176-2.08-.415-1.224-.416-2.76c0-1.14.18-2.148.54-3.012s.844-1.596%201.452-2.184a5.9%205.9%200%200%201%202.116-1.324%207.3%207.3%200%200%201%202.532-.444c.912%200%201.768.144%202.576.444a5.9%205.9%200%200%201%202.116%201.324q.906.888%201.428%202.184.516%201.296.516%203.012%200%201.404-.348%202.532m13.54%204.14a302%20302%200%200%200-.152-4.232c-.06-1.524-.16-3.064-.284-4.616-.236.54-.492%201.132-.776%201.788q-.426.982-.84%201.964-.414.983-.804%201.876-.38.896-.652%201.528h-2.1c-.176-.424-.4-.932-.656-1.532q-.383-.896-.796-1.876c-.276-.656-.56-1.308-.84-1.964-.284-.652-.544-1.248-.772-1.784a107%20107%200%200%200-.292%204.616q-.091%202.286-.152%204.236h-2.924q.072-1.579.18-3.368.107-1.793.232-3.568c.084-1.188.176-2.328.288-3.424q.166-1.648.356-2.972h2.876q.347.634.796%201.568a98%2098%200%200%201%201.92%204.244l.904%202.136c.284-.664.584-1.38.904-2.136q.48-1.133.972-2.224.493-1.091.944-2.02c.304-.62.576-1.144.804-1.568h2.728a61%2061%200%200%201%20.356%202.972q.161%201.643.292%203.424.122%201.778.232%203.568.107%201.79.184%203.364zm12.224-.756q-1.306%201.032-3.944%201.032-.888-.001-1.596-.104a10%2010%200%200%201-1.26-.26%208%208%200%200%201-.944-.328%207%207%200%200%201-.664-.324l.848-2.388c.396.216.888.416%201.472.588s1.296.26%202.144.26q.635-.001%201.048-.104c.276-.072.496-.164.664-.288a.94.94%200%200%200%20.344-.436q.096-.247.096-.56.001-.653-.616-1.084t-2.116-.936a16%2016%200%200%201-1.308-.528%204.8%204.8%200%200%201-1.176-.752%203.6%203.6%200%200%201-.844-1.096q-.326-.643-.328-1.568%200-.925.348-1.664c.232-.496.556-.916.984-1.26a4.5%204.5%200%200%201%201.536-.796q.906-.276%202.04-.276%201.35%200%202.328.288c.652.192%201.196.404%201.616.636L50.5%2033.74a8%208%200%200%200-1.24-.508c-.456-.144-1.004-.22-1.644-.22q-1.08.001-1.548.296-.468.284-.468.904.001.365.176.616.174.25.492.452.318.203.732.364.413.162.916.336a21%2021%200%200%201%201.808.76c.516.248.94.54%201.28.876s.596.724.76%201.176c.152.448.236.996.236%201.636%200%201.244-.436%202.212-1.308%202.896%22%20style%3D%22stroke-width%3A.202532%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:50%;background-size:24px 24px;border:1px solid var(--nextgis-qms-control-border-color);border-radius:var(--nextgis-qms-control-border-radius);box-shadow:var(--nextgis-qms-control-shadow);place-items:center}.nextgis-qms-control .nextgis-qms-control__toggle[hidden]{display:none}.nextgis-qms-control .nextgis-qms-control__about-close:hover,.nextgis-qms-control .nextgis-qms-control__about:hover,.nextgis-qms-control .nextgis-qms-control__close:hover,.nextgis-qms-control .nextgis-qms-control__service:hover,.nextgis-qms-control .nextgis-qms-control__toggle:hover,.nextgis-qms-control__group>summary:hover{background-color:var(--nextgis-qms-control-hover-background)}.nextgis-qms-control button:focus-visible,.nextgis-qms-control input:focus-visible,.nextgis-qms-control__group>summary:focus-visible{outline:2px solid var(--nextgis-qms-control-accent);outline-offset:-2px}.nextgis-qms-control__panel{box-sizing:border-box;width:min(var(--nextgis-qms-control-width),calc(100vw - 20px));padding:var(--nextgis-qms-control-gap);overflow:hidden;background:var(--nextgis-qms-control-background);border:1px solid var(--nextgis-qms-control-border-color);border-radius:var(--nextgis-qms-control-border-radius);box-shadow:var(--nextgis-qms-control-shadow)}.nextgis-qms-control__header{display:flex;min-height:28px;align-items:center;justify-content:space-between;margin-bottom:var(--nextgis-qms-control-gap)}.nextgis-qms-control__title{padding-left:2px;font-size:14px;font-weight:600}.nextgis-qms-control .nextgis-qms-control__close{display:grid;position:relative;width:28px;height:28px;padding:0;color:var(--nextgis-qms-control-muted-color);font-size:0;line-height:0;cursor:pointer;background:transparent;border:0;border-radius:4px;box-shadow:none;place-items:center}.nextgis-qms-control__input{width:100%;height:34px;padding:0 10px;color:inherit;background:var(--nextgis-qms-control-background);border:1px solid var(--nextgis-qms-control-border-color);border-radius:4px}.nextgis-qms-control__input:focus{border-color:var(--nextgis-qms-control-accent)}.nextgis-qms-control__catalog,.nextgis-qms-control__results{max-height:var(--nextgis-qms-control-max-height);margin-top:var(--nextgis-qms-control-gap);overflow-x:hidden;overflow-y:auto;border-top:1px solid var(--nextgis-qms-control-border-color)}.nextgis-qms-control__results{padding:6px 0;color:var(--nextgis-qms-control-muted-color)}.nextgis-qms-control__results>.nextgis-qms-control__service{color:var(--nextgis-qms-control-color)}.nextgis-qms-control__group{border-bottom:1px solid var(--nextgis-qms-control-border-color)}.nextgis-qms-control__group>summary{display:flex;min-height:36px;padding:0 8px;align-items:center;font-weight:600;cursor:pointer;list-style:none}.nextgis-qms-control__group>summary::-webkit-details-marker{display:none}.nextgis-qms-control__group>summary:after{flex:none;margin-left:auto;color:var(--nextgis-qms-control-muted-color);content:\"›\";font-size:18px;transition:transform .12s ease}.nextgis-qms-control__group[open]>summary:after{transform:rotate(90deg)}.nextgis-qms-control__group-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nextgis-qms-control .nextgis-qms-control__service{display:block;width:100%;min-height:34px;padding:7px 10px;overflow:hidden;color:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:transparent;border:0;border-radius:0;box-shadow:none}.nextgis-qms-control__group>.nextgis-qms-control__service{padding-left:22px;color:var(--nextgis-qms-control-muted-color)}.nextgis-qms-control__group>.nextgis-qms-control__service:hover{color:var(--nextgis-qms-control-color)}.nextgis-qms-control__footer{display:flex;padding-top:var(--nextgis-qms-control-gap);justify-content:center}.nextgis-qms-control .nextgis-qms-control__about{display:inline-block;width:auto;height:auto;padding:2px 6px;color:var(--nextgis-qms-control-accent);line-height:inherit;cursor:pointer;background:transparent;border:0;box-shadow:none}.nextgis-qms-control__about-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:24px;color:var(--nextgis-qms-control-color);font:inherit;text-align:left;background:var(--nextgis-qms-control-background);border:1px solid var(--nextgis-qms-control-border-color);border-radius:var(--nextgis-qms-control-border-radius);box-shadow:var(--nextgis-qms-control-shadow)}.nextgis-qms-control__about-dialog::backdrop{background:rgba(0,0,0,.4)}.nextgis-qms-control__about-title{display:block;padding-right:24px;font-size:16px}.nextgis-qms-control__about-dialog p{margin:12px 0}.nextgis-qms-control__about-links{display:grid;gap:6px}.nextgis-qms-control__about-links a{color:var(--nextgis-qms-control-accent)}.nextgis-qms-control .nextgis-qms-control__about-close{position:relative;float:right;width:28px;height:28px;padding:0;color:var(--nextgis-qms-control-muted-color);font-size:0;line-height:0;cursor:pointer;background:transparent;border:0;border-radius:4px;box-shadow:none}.nextgis-qms-control__about-close:after,.nextgis-qms-control__about-close:before,.nextgis-qms-control__close:after,.nextgis-qms-control__close:before{position:absolute;top:50%;left:50%;width:12px;height:1px;background:currentcolor;content:\"\"}.nextgis-qms-control__about-close:before,.nextgis-qms-control__close:before{transform:translate(-50%,-50%) rotate(45deg)}.nextgis-qms-control__about-close:after,.nextgis-qms-control__close:after{transform:translate(-50%,-50%) rotate(-45deg)}.nextgis-qms-control.maplibregl-ctrl .nextgis-qms-control__toggle:not(:disabled):hover{background-color:var(--nextgis-qms-control-hover-background)}.nextgis-qms-control button.nextgis-qms-control__about:not(:focus-visible){outline:0}.nextgis-qms-control__about-developed-by{color:var(--nextgis-qms-control-muted-color)}";
|
|
25423
|
+
styleInject(css_248z$2);
|
|
25424
|
+
|
|
25375
25425
|
var __defProp$c = Object.defineProperty;
|
|
25376
25426
|
var __defProps$9 = Object.defineProperties;
|
|
25377
25427
|
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
@@ -25477,7 +25527,7 @@ var NgwLeaflet = (function () {
|
|
|
25477
25527
|
var _a2, _b, _c;
|
|
25478
25528
|
const signal = (_a2 = options.signal) != null ? _a2 : this.options.signal;
|
|
25479
25529
|
const qmsId = (_c = options.qmsId) != null ? _c : (_b = this.qms) == null ? void 0 : _b.id;
|
|
25480
|
-
if (qmsId
|
|
25530
|
+
if (typeof qmsId !== "number") {
|
|
25481
25531
|
return;
|
|
25482
25532
|
}
|
|
25483
25533
|
try {
|
|
@@ -26060,131 +26110,13 @@ var NgwLeaflet = (function () {
|
|
|
26060
26110
|
});
|
|
26061
26111
|
}
|
|
26062
26112
|
|
|
26063
|
-
function isPropertyFilter(value) {
|
|
26064
|
-
return Array.isArray(value) && value.length === 3 && typeof value[0] === "string" && typeof value[1] === "string";
|
|
26065
|
-
}
|
|
26066
|
-
function isPropertiesFilterGroup(value) {
|
|
26067
|
-
return Array.isArray(value) && !isPropertyFilter(value);
|
|
26068
|
-
}
|
|
26069
|
-
function toGetExpr(field) {
|
|
26070
|
-
return ["get", field];
|
|
26071
|
-
}
|
|
26072
|
-
function toConditionExpr(filter) {
|
|
26073
|
-
const [fieldRaw, op, value] = filter;
|
|
26074
|
-
const field = String(fieldRaw);
|
|
26075
|
-
const getExpr = toGetExpr(field);
|
|
26076
|
-
switch (op) {
|
|
26077
|
-
case "eq":
|
|
26078
|
-
if (value === null) {
|
|
26079
|
-
return ["is_null", getExpr];
|
|
26080
|
-
}
|
|
26081
|
-
return ["==", getExpr, value];
|
|
26082
|
-
case "ne":
|
|
26083
|
-
if (value === null) {
|
|
26084
|
-
return ["!is_null", getExpr];
|
|
26085
|
-
}
|
|
26086
|
-
return ["!=", getExpr, value];
|
|
26087
|
-
case "gt":
|
|
26088
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26089
|
-
throw new Error(
|
|
26090
|
-
`Operator "gt" requires number or string for "${field}"`
|
|
26091
|
-
);
|
|
26092
|
-
}
|
|
26093
|
-
return [">", getExpr, value];
|
|
26094
|
-
case "lt":
|
|
26095
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26096
|
-
throw new Error(
|
|
26097
|
-
`Operator "lt" requires number or string for "${field}"`
|
|
26098
|
-
);
|
|
26099
|
-
}
|
|
26100
|
-
return ["<", getExpr, value];
|
|
26101
|
-
case "ge":
|
|
26102
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26103
|
-
throw new Error(
|
|
26104
|
-
`Operator "ge" requires number or string for "${field}"`
|
|
26105
|
-
);
|
|
26106
|
-
}
|
|
26107
|
-
return [">=", getExpr, value];
|
|
26108
|
-
case "le":
|
|
26109
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26110
|
-
throw new Error(
|
|
26111
|
-
`Operator "le" requires number or string for "${field}"`
|
|
26112
|
-
);
|
|
26113
|
-
}
|
|
26114
|
-
return ["<=", getExpr, value];
|
|
26115
|
-
case "in":
|
|
26116
|
-
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
26117
|
-
throw new Error(
|
|
26118
|
-
`Operator "in" requires (string | number)[] for "${field}"`
|
|
26119
|
-
);
|
|
26120
|
-
}
|
|
26121
|
-
if (!value.length) {
|
|
26122
|
-
throw new Error(
|
|
26123
|
-
`Operator "in" requires non-empty array for "${field}"`
|
|
26124
|
-
);
|
|
26125
|
-
}
|
|
26126
|
-
return ["in", getExpr, ...value];
|
|
26127
|
-
case "notin":
|
|
26128
|
-
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
26129
|
-
throw new Error(
|
|
26130
|
-
`Operator "notin" requires (string | number)[] for "${field}"`
|
|
26131
|
-
);
|
|
26132
|
-
}
|
|
26133
|
-
if (!value.length) {
|
|
26134
|
-
throw new Error(
|
|
26135
|
-
`Operator "notin" requires non-empty array for "${field}"`
|
|
26136
|
-
);
|
|
26137
|
-
}
|
|
26138
|
-
return ["!in", getExpr, ...value];
|
|
26139
|
-
case "like":
|
|
26140
|
-
case "ilike":
|
|
26141
|
-
throw new Error(
|
|
26142
|
-
`Operator "${op}" is not supported by server FilterExpression`
|
|
26143
|
-
);
|
|
26144
|
-
default: {
|
|
26145
|
-
const exhaustive = op;
|
|
26146
|
-
throw new Error(`Unsupported operator: ${exhaustive}`);
|
|
26147
|
-
}
|
|
26148
|
-
}
|
|
26149
|
-
}
|
|
26150
|
-
function toGroupExpr(filters) {
|
|
26151
|
-
let logicalOp = "all";
|
|
26152
|
-
const children = [];
|
|
26153
|
-
for (const item of filters) {
|
|
26154
|
-
if (item === "all" || item === "any") {
|
|
26155
|
-
logicalOp = item;
|
|
26156
|
-
continue;
|
|
26157
|
-
}
|
|
26158
|
-
if (isPropertyFilter(item)) {
|
|
26159
|
-
children.push(toConditionExpr(item));
|
|
26160
|
-
continue;
|
|
26161
|
-
}
|
|
26162
|
-
if (isPropertiesFilterGroup(item)) {
|
|
26163
|
-
children.push(toGroupExpr(item));
|
|
26164
|
-
continue;
|
|
26165
|
-
}
|
|
26166
|
-
throw new Error("Invalid PropertiesFilter node");
|
|
26167
|
-
}
|
|
26168
|
-
return [logicalOp, ...children];
|
|
26169
|
-
}
|
|
26170
|
-
function propertiesFilterToExpression(filters) {
|
|
26171
|
-
if (!(filters == null ? void 0 : filters.length)) {
|
|
26172
|
-
return [];
|
|
26173
|
-
}
|
|
26174
|
-
return toGroupExpr(filters);
|
|
26175
|
-
}
|
|
26176
|
-
function propertiesFilterToExpressionString(filters) {
|
|
26177
|
-
if (!(filters == null ? void 0 : filters.length)) {
|
|
26178
|
-
return void 0;
|
|
26179
|
-
}
|
|
26180
|
-
return JSON.stringify(
|
|
26181
|
-
propertiesFilterToExpression(filters)
|
|
26182
|
-
);
|
|
26183
|
-
}
|
|
26184
|
-
|
|
26185
26113
|
function createLayerFilterParam(resourceId, filter) {
|
|
26114
|
+
const value = propertiesFilterToExpressionString(filter);
|
|
26115
|
+
if (value === void 0) {
|
|
26116
|
+
return {};
|
|
26117
|
+
}
|
|
26186
26118
|
return {
|
|
26187
|
-
[`filter[${resourceId}]`]:
|
|
26119
|
+
[`filter[${resourceId}]`]: value
|
|
26188
26120
|
};
|
|
26189
26121
|
}
|
|
26190
26122
|
|
|
@@ -26272,7 +26204,7 @@ var NgwLeaflet = (function () {
|
|
|
26272
26204
|
return class RasterAdapter extends AdapterClass {
|
|
26273
26205
|
constructor(map, _options) {
|
|
26274
26206
|
super(map, _options);
|
|
26275
|
-
this
|
|
26207
|
+
__publicField$3(this, "map", map);
|
|
26276
26208
|
__publicField$3(this, "item", item);
|
|
26277
26209
|
__publicField$3(this, "resourceId", resourceId);
|
|
26278
26210
|
__publicField$3(this, "blocked", false);
|
|
@@ -26570,7 +26502,7 @@ var NgwLeaflet = (function () {
|
|
|
26570
26502
|
};
|
|
26571
26503
|
class NgwKit {
|
|
26572
26504
|
constructor(options) {
|
|
26573
|
-
this
|
|
26505
|
+
__publicField$2(this, "options", options);
|
|
26574
26506
|
__publicField$2(this, "url");
|
|
26575
26507
|
__publicField$2(this, "connector");
|
|
26576
26508
|
__publicField$2(this, "webMap");
|
|
@@ -27770,7 +27702,7 @@ var NgwLeaflet = (function () {
|
|
|
27770
27702
|
|
|
27771
27703
|
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC";
|
|
27772
27704
|
|
|
27773
|
-
var css_248z$1 = ".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1);will-change:transform}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fff;background:hsla(0,0%,100%,.5);border:2px solid #777;border-top:none;box-sizing:border-box;font-size:11px;line-height:1.1;overflow:hidden;padding:2px 5px 1px;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{line-height:1.4;margin:13px 19px}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#c3c3c3;font:16px/14px Tahoma,Verdana,sans-serif;font-weight:700;height:14px;padding:4px 4px 0 0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:18px}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{border-bottom:1px solid #ddd;border-top:1px solid #ddd;overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:\"\";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}";
|
|
27705
|
+
var css_248z$1 = ".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important;max-height:none!important}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform;transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;box-sizing:border-box;background:#fff;background:hsla(0,0%,100%,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:\"\"}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}";
|
|
27774
27706
|
styleInject(css_248z$1);
|
|
27775
27707
|
|
|
27776
27708
|
var css_248z = ".ngw-map-container.leaflet-container{background:#fff}.leaflet-pane .leaflet-popup-pane{z-index:9999999999}";
|