@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
|
function getElement(el) {
|
|
3
3
|
if (typeof el === "string") {
|
|
4
4
|
let el_ = document.getElementById(el);
|
|
@@ -14,8 +14,8 @@ function getElement(el) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
var __defProp$1a = Object.defineProperty;
|
|
17
|
-
var __defProps$
|
|
18
|
-
var __getOwnPropDescs$
|
|
17
|
+
var __defProps$u = Object.defineProperties;
|
|
18
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
19
19
|
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
20
20
|
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
21
21
|
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
@@ -31,11 +31,11 @@ var __spreadValues$M = (a, b) => {
|
|
|
31
31
|
}
|
|
32
32
|
return a;
|
|
33
33
|
};
|
|
34
|
-
var __spreadProps$
|
|
34
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
35
35
|
const controlOptions = /* @__PURE__ */ new WeakMap();
|
|
36
36
|
function resolveControlOptions(options = {}) {
|
|
37
37
|
var _a;
|
|
38
|
-
return __spreadProps$
|
|
38
|
+
return __spreadProps$u(__spreadValues$M({}, options), {
|
|
39
39
|
margin: (_a = options.margin) != null ? _a : options.bar
|
|
40
40
|
});
|
|
41
41
|
}
|
|
@@ -73,8 +73,8 @@ function styleInject(css, ref) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
var css_248z$
|
|
77
|
-
styleInject(css_248z$
|
|
76
|
+
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\")}}";
|
|
77
|
+
styleInject(css_248z$3);
|
|
78
78
|
|
|
79
79
|
var __defProp$19 = Object.defineProperty;
|
|
80
80
|
var __defNormalProp$19 = (obj, key, value) => key in obj ? __defProp$19(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -14701,8 +14701,8 @@ function requireLeafletSrc () {
|
|
|
14701
14701
|
var leafletSrcExports = requireLeafletSrc();
|
|
14702
14702
|
|
|
14703
14703
|
var __defProp$18 = Object.defineProperty;
|
|
14704
|
-
var __defProps$
|
|
14705
|
-
var __getOwnPropDescs$
|
|
14704
|
+
var __defProps$t = Object.defineProperties;
|
|
14705
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
14706
14706
|
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
14707
14707
|
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
14708
14708
|
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
@@ -14718,7 +14718,7 @@ var __spreadValues$L = (a, b) => {
|
|
|
14718
14718
|
}
|
|
14719
14719
|
return a;
|
|
14720
14720
|
};
|
|
14721
|
-
var __spreadProps$
|
|
14721
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
14722
14722
|
function createControl(control, options = {}, map) {
|
|
14723
14723
|
const resolvedOptions = resolveControlOptions(options);
|
|
14724
14724
|
const C = leafletSrcExports.Control.extend({
|
|
@@ -14730,7 +14730,7 @@ function createControl(control, options = {}, map) {
|
|
|
14730
14730
|
].filter(Boolean).join(" ");
|
|
14731
14731
|
const element = createControlElement(
|
|
14732
14732
|
control,
|
|
14733
|
-
__spreadProps$
|
|
14733
|
+
__spreadProps$t(__spreadValues$L({}, resolvedOptions), { addClass }),
|
|
14734
14734
|
map != null ? map : leafletMap
|
|
14735
14735
|
);
|
|
14736
14736
|
if (!resolvedOptions.margin) {
|
|
@@ -14778,8 +14778,8 @@ function createToggleControl$1(options, map) {
|
|
|
14778
14778
|
}
|
|
14779
14779
|
|
|
14780
14780
|
var __defProp$17 = Object.defineProperty;
|
|
14781
|
-
var __defProps$
|
|
14782
|
-
var __getOwnPropDescs$
|
|
14781
|
+
var __defProps$s = Object.defineProperties;
|
|
14782
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
14783
14783
|
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
14784
14784
|
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
14785
14785
|
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
@@ -14795,7 +14795,7 @@ var __spreadValues$K = (a, b) => {
|
|
|
14795
14795
|
}
|
|
14796
14796
|
return a;
|
|
14797
14797
|
};
|
|
14798
|
-
var __spreadProps$
|
|
14798
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
14799
14799
|
var __publicField$L = (obj, key, value) => __defNormalProp$17(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
14800
14800
|
class LeafletControlContainer {
|
|
14801
14801
|
constructor(map, options = {}) {
|
|
@@ -14864,7 +14864,7 @@ class LeafletControlContainer {
|
|
|
14864
14864
|
const mapAny = this.map;
|
|
14865
14865
|
const controlCorners = mapAny._controlCorners || {};
|
|
14866
14866
|
const getCorner = (key, selector) => controlCorners[key] || this.map.getContainer().querySelector(selector) || void 0;
|
|
14867
|
-
return new ControlContainer(__spreadProps$
|
|
14867
|
+
return new ControlContainer(__spreadProps$s(__spreadValues$K({}, options), {
|
|
14868
14868
|
map: this.map,
|
|
14869
14869
|
container: mapAny._controlContainer,
|
|
14870
14870
|
positionContainers: {
|
|
@@ -15644,9 +15644,6 @@ function objectRemoveEmpty(obj) {
|
|
|
15644
15644
|
function isObject$1(val) {
|
|
15645
15645
|
return Object.prototype.toString.call(val) === "[object Object]";
|
|
15646
15646
|
}
|
|
15647
|
-
function isArray(val) {
|
|
15648
|
-
return Object.prototype.toString.call(val) === "[object Array]";
|
|
15649
|
-
}
|
|
15650
15647
|
|
|
15651
15648
|
function fixUrlStr(url) {
|
|
15652
15649
|
return url.replace(/([^:]\/)\/+/g, "$1");
|
|
@@ -15774,8 +15771,8 @@ var __defNormalProp$16 = (obj, key, value) => key in obj ? __defProp$16(obj, key
|
|
|
15774
15771
|
var __publicField$K = (obj, key, value) => __defNormalProp$16(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
15775
15772
|
class BaseAdapter {
|
|
15776
15773
|
constructor(map, options) {
|
|
15777
|
-
this
|
|
15778
|
-
this
|
|
15774
|
+
__publicField$K(this, "map", map);
|
|
15775
|
+
__publicField$K(this, "options", options);
|
|
15779
15776
|
__publicField$K(this, "layer");
|
|
15780
15777
|
__publicField$K(this, "pane", "order-0");
|
|
15781
15778
|
if (options.order !== void 0) {
|
|
@@ -16876,8 +16873,8 @@ function preparePaint({
|
|
|
16876
16873
|
}
|
|
16877
16874
|
|
|
16878
16875
|
var __defProp$$ = Object.defineProperty;
|
|
16879
|
-
var __defProps$
|
|
16880
|
-
var __getOwnPropDescs$
|
|
16876
|
+
var __defProps$r = Object.defineProperties;
|
|
16877
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
16881
16878
|
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
16882
16879
|
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
16883
16880
|
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
@@ -16893,7 +16890,7 @@ var __spreadValues$D = (a, b) => {
|
|
|
16893
16890
|
}
|
|
16894
16891
|
return a;
|
|
16895
16892
|
};
|
|
16896
|
-
var __spreadProps$
|
|
16893
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
16897
16894
|
var __objRest$a = (source, exclude) => {
|
|
16898
16895
|
var target = {};
|
|
16899
16896
|
for (var prop in source)
|
|
@@ -16988,7 +16985,7 @@ class GeoJsonPaint {
|
|
|
16988
16985
|
if (html) {
|
|
16989
16986
|
element.innerHTML = html;
|
|
16990
16987
|
}
|
|
16991
|
-
const divIcon = new leafletSrcExports.DivIcon(__spreadProps$
|
|
16988
|
+
const divIcon = new leafletSrcExports.DivIcon(__spreadProps$r(__spreadValues$D({
|
|
16992
16989
|
className: ""
|
|
16993
16990
|
}, toLIconOpt), {
|
|
16994
16991
|
html: element
|
|
@@ -17037,8 +17034,8 @@ class GeoJsonPaint {
|
|
|
17037
17034
|
}
|
|
17038
17035
|
|
|
17039
17036
|
var __defProp$_ = Object.defineProperty;
|
|
17040
|
-
var __defProps$
|
|
17041
|
-
var __getOwnPropDescs$
|
|
17037
|
+
var __defProps$q = Object.defineProperties;
|
|
17038
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
17042
17039
|
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
17043
17040
|
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
17044
17041
|
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
@@ -17054,9 +17051,9 @@ var __spreadValues$C = (a, b) => {
|
|
|
17054
17051
|
}
|
|
17055
17052
|
return a;
|
|
17056
17053
|
};
|
|
17057
|
-
var __spreadProps$
|
|
17054
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
17058
17055
|
var __publicField$H = (obj, key, value) => __defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17059
|
-
var __async$
|
|
17056
|
+
var __async$w = (__this, __arguments, generator) => {
|
|
17060
17057
|
return new Promise((resolve, reject) => {
|
|
17061
17058
|
var fulfilled = (value) => {
|
|
17062
17059
|
try {
|
|
@@ -17103,7 +17100,7 @@ class GeoJsonAdapter extends BaseAdapter {
|
|
|
17103
17100
|
addLayer(options) {
|
|
17104
17101
|
Object.assign(this.options, options);
|
|
17105
17102
|
this.paint = options.paint;
|
|
17106
|
-
this.layer = new leafletSrcExports.FeatureGroup([], __spreadProps$
|
|
17103
|
+
this.layer = new leafletSrcExports.FeatureGroup([], __spreadProps$q(__spreadValues$C({}, options.nativeOptions), {
|
|
17107
17104
|
pane: this.pane
|
|
17108
17105
|
}));
|
|
17109
17106
|
this.selectedPaint = options.selectedPaint;
|
|
@@ -17351,7 +17348,7 @@ class GeoJsonAdapter extends BaseAdapter {
|
|
|
17351
17348
|
}
|
|
17352
17349
|
}
|
|
17353
17350
|
_openPopup(_0) {
|
|
17354
|
-
return __async$
|
|
17351
|
+
return __async$w(this, arguments, function* (def, options = {}, type, latLng) {
|
|
17355
17352
|
var _a, _b;
|
|
17356
17353
|
const { feature, layer } = def;
|
|
17357
17354
|
const {
|
|
@@ -17455,7 +17452,7 @@ class GeoJsonAdapter extends BaseAdapter {
|
|
|
17455
17452
|
if (feature) {
|
|
17456
17453
|
return this._paint.preparePaint(__spreadValues$C(__spreadValues$C({}, PAINT), paint(feature)));
|
|
17457
17454
|
} else {
|
|
17458
|
-
return this._paint.preparePaint(__spreadProps$
|
|
17455
|
+
return this._paint.preparePaint(__spreadProps$q(__spreadValues$C({}, PAINT), { type: "path" }));
|
|
17459
17456
|
}
|
|
17460
17457
|
}
|
|
17461
17458
|
};
|
|
@@ -17985,7 +17982,7 @@ var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key,
|
|
|
17985
17982
|
var __publicField$E = (obj, key, value) => __defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17986
17983
|
class StateItem {
|
|
17987
17984
|
constructor(webMap, opt) {
|
|
17988
|
-
this
|
|
17985
|
+
__publicField$E(this, "webMap", webMap);
|
|
17989
17986
|
__publicField$E(this, "name");
|
|
17990
17987
|
__publicField$E(this, "event");
|
|
17991
17988
|
__publicField$E(this, "value");
|
|
@@ -18103,7 +18100,7 @@ function clearObject(obj) {
|
|
|
18103
18100
|
var __defProp$S = Object.defineProperty;
|
|
18104
18101
|
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
18105
18102
|
var __publicField$A = (obj, key, value) => __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
18106
|
-
var __async$
|
|
18103
|
+
var __async$v = (__this, __arguments, generator) => {
|
|
18107
18104
|
return new Promise((resolve, reject) => {
|
|
18108
18105
|
var fulfilled = (value) => {
|
|
18109
18106
|
try {
|
|
@@ -18196,7 +18193,7 @@ const _WebMapMain = class _WebMapMain {
|
|
|
18196
18193
|
* ```
|
|
18197
18194
|
*/
|
|
18198
18195
|
create() {
|
|
18199
|
-
return __async$
|
|
18196
|
+
return __async$v(this, null, function* () {
|
|
18200
18197
|
if (!this.getEventStatus("create")) {
|
|
18201
18198
|
yield this._setInitMapState(this.mapStateItems);
|
|
18202
18199
|
yield this._setupMap();
|
|
@@ -18524,15 +18521,15 @@ const _WebMapMain = class _WebMapMain {
|
|
|
18524
18521
|
this.emitter.emit(_eventName, data);
|
|
18525
18522
|
}
|
|
18526
18523
|
_addLayerProviders() {
|
|
18527
|
-
return __async$
|
|
18524
|
+
return __async$v(this, null, function* () {
|
|
18528
18525
|
});
|
|
18529
18526
|
}
|
|
18530
18527
|
_onLoadSync() {
|
|
18531
|
-
return __async$
|
|
18528
|
+
return __async$v(this, null, function* () {
|
|
18532
18529
|
});
|
|
18533
18530
|
}
|
|
18534
18531
|
_setupMap() {
|
|
18535
|
-
return __async$
|
|
18532
|
+
return __async$v(this, null, function* () {
|
|
18536
18533
|
if (!this.mapAdapter) {
|
|
18537
18534
|
throw new Error("WebMap `mapAdapter` option is not set");
|
|
18538
18535
|
}
|
|
@@ -18650,8 +18647,8 @@ __publicField$A(_WebMapMain, "getPaintFunctions");
|
|
|
18650
18647
|
let WebMapMain = _WebMapMain;
|
|
18651
18648
|
|
|
18652
18649
|
var __defProp$R = Object.defineProperty;
|
|
18653
|
-
var __defProps$
|
|
18654
|
-
var __getOwnPropDescs$
|
|
18650
|
+
var __defProps$p = Object.defineProperties;
|
|
18651
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
18655
18652
|
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
18656
18653
|
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
18657
18654
|
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
@@ -18667,9 +18664,9 @@ var __spreadValues$A = (a, b) => {
|
|
|
18667
18664
|
}
|
|
18668
18665
|
return a;
|
|
18669
18666
|
};
|
|
18670
|
-
var __spreadProps$
|
|
18667
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
18671
18668
|
var __publicField$z = (obj, key, value) => __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
18672
|
-
var __async$
|
|
18669
|
+
var __async$u = (__this, __arguments, generator) => {
|
|
18673
18670
|
return new Promise((resolve, reject) => {
|
|
18674
18671
|
var fulfilled = (value) => {
|
|
18675
18672
|
try {
|
|
@@ -18707,7 +18704,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
18707
18704
|
* But not all layers have borders
|
|
18708
18705
|
*/
|
|
18709
18706
|
fitLayer(layerDef, options) {
|
|
18710
|
-
return __async$
|
|
18707
|
+
return __async$u(this, null, function* () {
|
|
18711
18708
|
const layer = this.getLayer(layerDef);
|
|
18712
18709
|
const getBounds = layer && (layer.getBounds || layer.getExtent);
|
|
18713
18710
|
if (getBounds) {
|
|
@@ -18800,10 +18797,10 @@ class WebMapLayers extends WebMapMain {
|
|
|
18800
18797
|
* Shortcut method to create base layer
|
|
18801
18798
|
*/
|
|
18802
18799
|
addBaseLayer(adapter, options) {
|
|
18803
|
-
return __async$
|
|
18800
|
+
return __async$u(this, null, function* () {
|
|
18804
18801
|
const layer = yield this.addLayer(
|
|
18805
18802
|
adapter,
|
|
18806
|
-
__spreadProps$
|
|
18803
|
+
__spreadProps$p(__spreadValues$A({}, options), {
|
|
18807
18804
|
baselayer: true
|
|
18808
18805
|
}),
|
|
18809
18806
|
void 0
|
|
@@ -18826,7 +18823,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
18826
18823
|
* ```
|
|
18827
18824
|
*/
|
|
18828
18825
|
addLayer(_0) {
|
|
18829
|
-
return __async$
|
|
18826
|
+
return __async$u(this, arguments, function* (adapter, options = {}, order) {
|
|
18830
18827
|
var _a, _b;
|
|
18831
18828
|
const id = this._layersIdCounter++;
|
|
18832
18829
|
const _order = defined(order) ? order : options.order !== void 0 ? options.order : this.reserveOrder();
|
|
@@ -18863,7 +18860,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
18863
18860
|
}
|
|
18864
18861
|
}
|
|
18865
18862
|
}
|
|
18866
|
-
options = __spreadProps$
|
|
18863
|
+
options = __spreadProps$p(__spreadValues$A({}, options), {
|
|
18867
18864
|
request: this._getLayerRequestOptions(options)
|
|
18868
18865
|
});
|
|
18869
18866
|
if (adapterEngine !== void 0) {
|
|
@@ -18930,7 +18927,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
18930
18927
|
});
|
|
18931
18928
|
}
|
|
18932
18929
|
addLayerFromAsyncAdapter(adapter, options, order) {
|
|
18933
|
-
return __async$
|
|
18930
|
+
return __async$u(this, null, function* () {
|
|
18934
18931
|
const _order = order || options.order !== void 0 ? options.order : this.reserveOrder();
|
|
18935
18932
|
const adapterConstructor = adapter;
|
|
18936
18933
|
const adapterConstructorPromise = adapterConstructor();
|
|
@@ -18957,7 +18954,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
18957
18954
|
}
|
|
18958
18955
|
}
|
|
18959
18956
|
getLegend(options) {
|
|
18960
|
-
return __async$
|
|
18957
|
+
return __async$u(this, null, function* () {
|
|
18961
18958
|
const promises = [];
|
|
18962
18959
|
for (const l of this.orderedLayers()) {
|
|
18963
18960
|
if (l.getLegend) {
|
|
@@ -19055,7 +19052,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
19055
19052
|
}
|
|
19056
19053
|
/** Shortcut for {@link WebMapLayers.addLayer} to create TileLayer adapter */
|
|
19057
19054
|
addTileLayer(url, options = {}) {
|
|
19058
|
-
return this.addLayer("TILE", __spreadProps$
|
|
19055
|
+
return this.addLayer("TILE", __spreadProps$p(__spreadValues$A({}, options), { url }));
|
|
19059
19056
|
}
|
|
19060
19057
|
addImageLayer(urlOrOptions, options) {
|
|
19061
19058
|
let url;
|
|
@@ -19065,7 +19062,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
19065
19062
|
url = urlOrOptions.url;
|
|
19066
19063
|
options = urlOrOptions;
|
|
19067
19064
|
}
|
|
19068
|
-
return this.addLayer("IMAGE", __spreadProps$
|
|
19065
|
+
return this.addLayer("IMAGE", __spreadProps$p(__spreadValues$A({}, options), { url }));
|
|
19069
19066
|
}
|
|
19070
19067
|
/**
|
|
19071
19068
|
* Show added layer on the map by it definition.
|
|
@@ -19097,7 +19094,7 @@ class WebMapLayers extends WebMapMain {
|
|
|
19097
19094
|
const onMap = layer && layer.options.visibility;
|
|
19098
19095
|
const toStatus = status !== void 0 ? status : !onMap;
|
|
19099
19096
|
const silent = options.silent !== void 0 ? options.silent : false;
|
|
19100
|
-
const action = (l) => __async$
|
|
19097
|
+
const action = (l) => __async$u(this, null, function* () {
|
|
19101
19098
|
const id = String(l.id);
|
|
19102
19099
|
const preEventName = toStatus ? "layer:preshow" : "layer:prehide";
|
|
19103
19100
|
const eventName = toStatus ? "layer:show" : "layer:hide";
|
|
@@ -19463,21 +19460,21 @@ class WebMapLayers extends WebMapMain {
|
|
|
19463
19460
|
this.emitter.emit(name, options);
|
|
19464
19461
|
}
|
|
19465
19462
|
_onLayerClick(options) {
|
|
19466
|
-
return __async$
|
|
19463
|
+
return __async$u(this, null, function* () {
|
|
19467
19464
|
const id = options.layer.id;
|
|
19468
19465
|
this._emitLayerEvent("layer:click", id || "", options);
|
|
19469
19466
|
return Promise.resolve(options);
|
|
19470
19467
|
});
|
|
19471
19468
|
}
|
|
19472
19469
|
_onLayerDoubleClick(options) {
|
|
19473
|
-
return __async$
|
|
19470
|
+
return __async$u(this, null, function* () {
|
|
19474
19471
|
const id = options.layer.id;
|
|
19475
19472
|
this._emitLayerEvent("layer:dblclick", id || "", options);
|
|
19476
19473
|
return Promise.resolve(options);
|
|
19477
19474
|
});
|
|
19478
19475
|
}
|
|
19479
19476
|
_onLayerSelect(options) {
|
|
19480
|
-
return __async$
|
|
19477
|
+
return __async$u(this, null, function* () {
|
|
19481
19478
|
this._emitLayerEvent("layer:select", options.layer.id || "", options);
|
|
19482
19479
|
return Promise.resolve(options);
|
|
19483
19480
|
});
|
|
@@ -19564,7 +19561,7 @@ var __objRest$9 = (source, exclude) => {
|
|
|
19564
19561
|
return target;
|
|
19565
19562
|
};
|
|
19566
19563
|
var __publicField$y = (obj, key, value) => __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
19567
|
-
var __async$
|
|
19564
|
+
var __async$t = (__this, __arguments, generator) => {
|
|
19568
19565
|
return new Promise((resolve, reject) => {
|
|
19569
19566
|
var fulfilled = (value) => {
|
|
19570
19567
|
try {
|
|
@@ -19603,7 +19600,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19603
19600
|
});
|
|
19604
19601
|
}
|
|
19605
19602
|
addControl(controlDef, position, options) {
|
|
19606
|
-
return __async$
|
|
19603
|
+
return __async$t(this, null, function* () {
|
|
19607
19604
|
let control;
|
|
19608
19605
|
const { addOptions, createOptions } = this._splitControlOptions(options);
|
|
19609
19606
|
position = position != null ? position : "top-left";
|
|
@@ -19614,7 +19611,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19614
19611
|
}
|
|
19615
19612
|
if (control) {
|
|
19616
19613
|
return new Promise((resolve) => {
|
|
19617
|
-
const promise = () => __async$
|
|
19614
|
+
const promise = () => __async$t(this, null, function* () {
|
|
19618
19615
|
const _control = yield control;
|
|
19619
19616
|
const c = this.mapAdapter.addControl(_control, position, addOptions);
|
|
19620
19617
|
resolve(c);
|
|
@@ -19637,7 +19634,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19637
19634
|
* ```
|
|
19638
19635
|
*/
|
|
19639
19636
|
createControl(control, options) {
|
|
19640
|
-
return __async$
|
|
19637
|
+
return __async$t(this, null, function* () {
|
|
19641
19638
|
yield this.onLoad("build-map");
|
|
19642
19639
|
if (this.mapAdapter.createControl) {
|
|
19643
19640
|
return this.mapAdapter.createControl(control, options);
|
|
@@ -19645,7 +19642,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19645
19642
|
});
|
|
19646
19643
|
}
|
|
19647
19644
|
createButtonControl(options) {
|
|
19648
|
-
return __async$
|
|
19645
|
+
return __async$t(this, null, function* () {
|
|
19649
19646
|
yield this.onLoad("build-map");
|
|
19650
19647
|
if (this.mapAdapter.createButtonControl) {
|
|
19651
19648
|
return this.mapAdapter.createButtonControl(options);
|
|
@@ -19672,7 +19669,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19672
19669
|
* {@link http://code.nextgis.com/demo-examples-toggle-control | Toggle button control example}
|
|
19673
19670
|
*/
|
|
19674
19671
|
createToggleControl(options) {
|
|
19675
|
-
return __async$
|
|
19672
|
+
return __async$t(this, null, function* () {
|
|
19676
19673
|
yield this.onLoad("build-map");
|
|
19677
19674
|
if (this.mapAdapter.createToggleControl) {
|
|
19678
19675
|
return this.mapAdapter.createToggleControl(options);
|
|
@@ -19731,7 +19728,7 @@ const _WebMapControls = class _WebMapControls extends WebMapLayers {
|
|
|
19731
19728
|
}
|
|
19732
19729
|
}
|
|
19733
19730
|
_applyControls(position) {
|
|
19734
|
-
return __async$
|
|
19731
|
+
return __async$t(this, null, function* () {
|
|
19735
19732
|
if (this._loadControlQueue[position].length) {
|
|
19736
19733
|
this._isControlLoading[position] = true;
|
|
19737
19734
|
const controlCb = this._loadControlQueue[position][0];
|
|
@@ -19772,12 +19769,12 @@ __publicField$y(_WebMapControls, "controls", {
|
|
|
19772
19769
|
let WebMapControls = _WebMapControls;
|
|
19773
19770
|
|
|
19774
19771
|
var __defProp$P = Object.defineProperty;
|
|
19775
|
-
var __defProps$
|
|
19776
|
-
var __getOwnPropDescs$
|
|
19772
|
+
var __defProps$o = Object.defineProperties;
|
|
19773
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
19777
19774
|
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
19778
19775
|
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
19779
19776
|
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
19780
|
-
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : Symbol.for("Symbol." + name);
|
|
19777
|
+
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
19781
19778
|
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
19782
19779
|
var __spreadValues$z = (a, b) => {
|
|
19783
19780
|
for (var prop in b || (b = {}))
|
|
@@ -19790,7 +19787,7 @@ var __spreadValues$z = (a, b) => {
|
|
|
19790
19787
|
}
|
|
19791
19788
|
return a;
|
|
19792
19789
|
};
|
|
19793
|
-
var __spreadProps$
|
|
19790
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
19794
19791
|
var __objRest$8 = (source, exclude) => {
|
|
19795
19792
|
var target = {};
|
|
19796
19793
|
for (var prop in source)
|
|
@@ -19803,7 +19800,7 @@ var __objRest$8 = (source, exclude) => {
|
|
|
19803
19800
|
}
|
|
19804
19801
|
return target;
|
|
19805
19802
|
};
|
|
19806
|
-
var __async$
|
|
19803
|
+
var __async$s = (__this, __arguments, generator) => {
|
|
19807
19804
|
return new Promise((resolve, reject) => {
|
|
19808
19805
|
var fulfilled = (value) => {
|
|
19809
19806
|
try {
|
|
@@ -19837,7 +19834,7 @@ class WebMap extends WebMapControls {
|
|
|
19837
19834
|
* @internal
|
|
19838
19835
|
*/
|
|
19839
19836
|
_addLayerProviders() {
|
|
19840
|
-
return __async$
|
|
19837
|
+
return __async$s(this, null, function* () {
|
|
19841
19838
|
try {
|
|
19842
19839
|
for (var iter2 = __forAwait(this._starterKits), more2, temp2, error2; more2 = !(temp2 = yield iter2.next()).done; more2 = false) {
|
|
19843
19840
|
const kit = temp2.value;
|
|
@@ -19881,7 +19878,7 @@ class WebMap extends WebMapControls {
|
|
|
19881
19878
|
* @internal
|
|
19882
19879
|
*/
|
|
19883
19880
|
_onLoadSync() {
|
|
19884
|
-
return __async$
|
|
19881
|
+
return __async$s(this, null, function* () {
|
|
19885
19882
|
try {
|
|
19886
19883
|
for (var iter = __forAwait(this._starterKits), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
|
|
19887
19884
|
const kit = temp.value;
|
|
@@ -19919,7 +19916,7 @@ class WebMap extends WebMapControls {
|
|
|
19919
19916
|
}
|
|
19920
19917
|
}
|
|
19921
19918
|
const _a = controlOptions, { id, order, position } = _a, options = __objRest$8(_a, ["id", "order", "position"]);
|
|
19922
|
-
this.addControl(controlAdapterName, position || "top-left", __spreadProps$
|
|
19919
|
+
this.addControl(controlAdapterName, position || "top-left", __spreadProps$o(__spreadValues$z({}, options), {
|
|
19923
19920
|
id,
|
|
19924
19921
|
order
|
|
19925
19922
|
}));
|
|
@@ -20289,8 +20286,8 @@ class ImageLayer extends leafletSrcExports.Layer {
|
|
|
20289
20286
|
}
|
|
20290
20287
|
|
|
20291
20288
|
var __defProp$L = Object.defineProperty;
|
|
20292
|
-
var __defProps$
|
|
20293
|
-
var __getOwnPropDescs$
|
|
20289
|
+
var __defProps$n = Object.defineProperties;
|
|
20290
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
20294
20291
|
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
20295
20292
|
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
20296
20293
|
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
@@ -20306,7 +20303,7 @@ var __spreadValues$y = (a, b) => {
|
|
|
20306
20303
|
}
|
|
20307
20304
|
return a;
|
|
20308
20305
|
};
|
|
20309
|
-
var __spreadProps$
|
|
20306
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
20310
20307
|
var __publicField$u = (obj, key, value) => __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
20311
20308
|
class ImageAdapter extends BaseAdapter {
|
|
20312
20309
|
constructor() {
|
|
@@ -20319,10 +20316,10 @@ class ImageAdapter extends BaseAdapter {
|
|
|
20319
20316
|
if (url) {
|
|
20320
20317
|
const updateWmsParamsFromOpt = options.updateWmsParams;
|
|
20321
20318
|
const request = getLayerRequestOptions(options);
|
|
20322
|
-
this.layer = new ImageLayer(url, __spreadProps$
|
|
20319
|
+
this.layer = new ImageLayer(url, __spreadProps$n(__spreadValues$y(__spreadValues$y(__spreadValues$y({
|
|
20323
20320
|
pane: this.pane,
|
|
20324
20321
|
setViewDelay: options.setViewDelay
|
|
20325
|
-
}, __spreadProps$
|
|
20322
|
+
}, __spreadProps$n(__spreadValues$y({
|
|
20326
20323
|
transparent: true
|
|
20327
20324
|
}, options), {
|
|
20328
20325
|
opacity: (_a = options.opacity) != null ? _a : void 0
|
|
@@ -20411,8 +20408,8 @@ class TileLayerBase extends leafletSrcExports.TileLayer {
|
|
|
20411
20408
|
const TileLayer = makeRemote(TileLayerBase);
|
|
20412
20409
|
|
|
20413
20410
|
var __defProp$K = Object.defineProperty;
|
|
20414
|
-
var __defProps$
|
|
20415
|
-
var __getOwnPropDescs$
|
|
20411
|
+
var __defProps$m = Object.defineProperties;
|
|
20412
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
20416
20413
|
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
20417
20414
|
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
20418
20415
|
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
@@ -20428,7 +20425,7 @@ var __spreadValues$x = (a, b) => {
|
|
|
20428
20425
|
}
|
|
20429
20426
|
return a;
|
|
20430
20427
|
};
|
|
20431
|
-
var __spreadProps$
|
|
20428
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
20432
20429
|
var __objRest$7 = (source, exclude) => {
|
|
20433
20430
|
var target = {};
|
|
20434
20431
|
for (var prop in source)
|
|
@@ -20459,7 +20456,7 @@ class TileAdapter extends BaseAdapter {
|
|
|
20459
20456
|
let layer;
|
|
20460
20457
|
const request = getLayerRequestOptions(opt);
|
|
20461
20458
|
if (request) {
|
|
20462
|
-
layer = new TileLayer(url, __spreadProps$
|
|
20459
|
+
layer = new TileLayer(url, __spreadProps$m(__spreadValues$x({}, tileLayerOptions), {
|
|
20463
20460
|
request,
|
|
20464
20461
|
setViewDelay: opt.setViewDelay
|
|
20465
20462
|
}));
|
|
@@ -20482,8 +20479,8 @@ class TileAdapter extends BaseAdapter {
|
|
|
20482
20479
|
}
|
|
20483
20480
|
|
|
20484
20481
|
var __defProp$J = Object.defineProperty;
|
|
20485
|
-
var __defProps$
|
|
20486
|
-
var __getOwnPropDescs$
|
|
20482
|
+
var __defProps$l = Object.defineProperties;
|
|
20483
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
20487
20484
|
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
20488
20485
|
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
20489
20486
|
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
@@ -20499,11 +20496,11 @@ var __spreadValues$w = (a, b) => {
|
|
|
20499
20496
|
}
|
|
20500
20497
|
return a;
|
|
20501
20498
|
};
|
|
20502
|
-
var __spreadProps$
|
|
20499
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
20503
20500
|
class OsmAdapter extends TileAdapter {
|
|
20504
20501
|
addLayer(options) {
|
|
20505
20502
|
const url = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
|
|
20506
|
-
return super.addLayer(__spreadProps$
|
|
20503
|
+
return super.addLayer(__spreadProps$l(__spreadValues$w({
|
|
20507
20504
|
name: "OpenStreetMap",
|
|
20508
20505
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
20509
20506
|
}, options), {
|
|
@@ -20520,8 +20517,8 @@ class WmsLayerBase extends leafletSrcExports.TileLayer.WMS {
|
|
|
20520
20517
|
const WmsLayer = makeRemote(WmsLayerBase);
|
|
20521
20518
|
|
|
20522
20519
|
var __defProp$I = Object.defineProperty;
|
|
20523
|
-
var __defProps$
|
|
20524
|
-
var __getOwnPropDescs$
|
|
20520
|
+
var __defProps$k = Object.defineProperties;
|
|
20521
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
20525
20522
|
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
20526
20523
|
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
20527
20524
|
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
@@ -20537,7 +20534,7 @@ var __spreadValues$v = (a, b) => {
|
|
|
20537
20534
|
}
|
|
20538
20535
|
return a;
|
|
20539
20536
|
};
|
|
20540
|
-
var __spreadProps$
|
|
20537
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
20541
20538
|
var __objRest$6 = (source, exclude) => {
|
|
20542
20539
|
var target = {};
|
|
20543
20540
|
for (var prop in source)
|
|
@@ -20569,7 +20566,7 @@ class WmsAdapter extends BaseAdapter {
|
|
|
20569
20566
|
let layer;
|
|
20570
20567
|
const request = getLayerRequestOptions(opt);
|
|
20571
20568
|
if (request) {
|
|
20572
|
-
layer = new WmsLayer(url, __spreadProps$
|
|
20569
|
+
layer = new WmsLayer(url, __spreadProps$k(__spreadValues$v({}, layerOptions), {
|
|
20573
20570
|
request
|
|
20574
20571
|
}));
|
|
20575
20572
|
} else {
|
|
@@ -21048,7 +21045,7 @@ var __spreadValues$t = (a, b) => {
|
|
|
21048
21045
|
}
|
|
21049
21046
|
return a;
|
|
21050
21047
|
};
|
|
21051
|
-
var __async$
|
|
21048
|
+
var __async$r = (__this, __arguments, generator) => {
|
|
21052
21049
|
return new Promise((resolve, reject) => {
|
|
21053
21050
|
var fulfilled = (value) => {
|
|
21054
21051
|
try {
|
|
@@ -21069,7 +21066,7 @@ var __async$s = (__this, __arguments, generator) => {
|
|
|
21069
21066
|
});
|
|
21070
21067
|
};
|
|
21071
21068
|
function apiRequest(opt) {
|
|
21072
|
-
return __async$
|
|
21069
|
+
return __async$r(this, null, function* () {
|
|
21073
21070
|
const { params, name, connector, requestOptions } = opt;
|
|
21074
21071
|
const apiItems = yield connector.connect();
|
|
21075
21072
|
let apiItem = apiItems && apiItems[name];
|
|
@@ -21259,7 +21256,7 @@ __publicField$s(_Cache, "instance", {});
|
|
|
21259
21256
|
let Cache = _Cache;
|
|
21260
21257
|
|
|
21261
21258
|
var pkg = {
|
|
21262
|
-
version: "4.0.0-alpha.
|
|
21259
|
+
version: "4.0.0-alpha.6"};
|
|
21263
21260
|
|
|
21264
21261
|
class AbortError extends Error {
|
|
21265
21262
|
constructor(message = "AbortError") {
|
|
@@ -21473,7 +21470,7 @@ var __objRest$5 = (source, exclude) => {
|
|
|
21473
21470
|
}
|
|
21474
21471
|
return target;
|
|
21475
21472
|
};
|
|
21476
|
-
var __async$
|
|
21473
|
+
var __async$q = (__this, __arguments, generator) => {
|
|
21477
21474
|
return new Promise((resolve, reject) => {
|
|
21478
21475
|
var fulfilled = (value) => {
|
|
21479
21476
|
try {
|
|
@@ -21498,7 +21495,7 @@ function lunkwillCheckResponse(lwResp) {
|
|
|
21498
21495
|
return ct !== void 0 && ct !== null && ct.includes("application/vnd.lunkwill.request-summary+json");
|
|
21499
21496
|
}
|
|
21500
21497
|
function responseJson(response) {
|
|
21501
|
-
return __async$
|
|
21498
|
+
return __async$q(this, null, function* () {
|
|
21502
21499
|
try {
|
|
21503
21500
|
return response.json();
|
|
21504
21501
|
} catch (e) {
|
|
@@ -21507,7 +21504,7 @@ function responseJson(response) {
|
|
|
21507
21504
|
});
|
|
21508
21505
|
}
|
|
21509
21506
|
function lunkwillResponseUrl(lwResp) {
|
|
21510
|
-
return __async$
|
|
21507
|
+
return __async$q(this, null, function* () {
|
|
21511
21508
|
const lwData = yield responseJson(lwResp);
|
|
21512
21509
|
let delay = lwData.delay_ms;
|
|
21513
21510
|
const retry = lwData.retry_ms !== void 0 ? lwData.retry_ms : 2e3;
|
|
@@ -21551,7 +21548,7 @@ function lunkwillResponseUrl(lwResp) {
|
|
|
21551
21548
|
});
|
|
21552
21549
|
}
|
|
21553
21550
|
function lunkwillFetch(lwRespUrl) {
|
|
21554
|
-
return __async$
|
|
21551
|
+
return __async$q(this, null, function* () {
|
|
21555
21552
|
try {
|
|
21556
21553
|
return yield window.fetch(lwRespUrl, { credentials: "same-origin" });
|
|
21557
21554
|
} catch (e) {
|
|
@@ -21599,7 +21596,7 @@ function generateUrl(path, query) {
|
|
|
21599
21596
|
return path + urlParams;
|
|
21600
21597
|
}
|
|
21601
21598
|
function request(path, options, cacheEngine) {
|
|
21602
|
-
return __async$
|
|
21599
|
+
return __async$q(this, null, function* () {
|
|
21603
21600
|
var _b, _c;
|
|
21604
21601
|
const defaults = {
|
|
21605
21602
|
method: "GET",
|
|
@@ -21643,7 +21640,7 @@ function request(path, options, cacheEngine) {
|
|
|
21643
21640
|
opt.headers = headers;
|
|
21644
21641
|
}
|
|
21645
21642
|
const url = generateUrl(path, query);
|
|
21646
|
-
const makeRequest = () => __async$
|
|
21643
|
+
const makeRequest = () => __async$q(null, null, function* () {
|
|
21647
21644
|
let response;
|
|
21648
21645
|
try {
|
|
21649
21646
|
response = yield fetch(url, opt);
|
|
@@ -21707,8 +21704,8 @@ function request(path, options, cacheEngine) {
|
|
|
21707
21704
|
}
|
|
21708
21705
|
|
|
21709
21706
|
var __defProp$x = Object.defineProperty;
|
|
21710
|
-
var __defProps$
|
|
21711
|
-
var __getOwnPropDescs$
|
|
21707
|
+
var __defProps$j = Object.defineProperties;
|
|
21708
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
21712
21709
|
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
21713
21710
|
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
21714
21711
|
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
@@ -21724,7 +21721,7 @@ var __spreadValues$r = (a, b) => {
|
|
|
21724
21721
|
}
|
|
21725
21722
|
return a;
|
|
21726
21723
|
};
|
|
21727
|
-
var __spreadProps$
|
|
21724
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
21728
21725
|
var __objRest$4 = (source, exclude) => {
|
|
21729
21726
|
var target = {};
|
|
21730
21727
|
for (var prop in source)
|
|
@@ -21737,7 +21734,7 @@ var __objRest$4 = (source, exclude) => {
|
|
|
21737
21734
|
}
|
|
21738
21735
|
return target;
|
|
21739
21736
|
};
|
|
21740
|
-
var __async$
|
|
21737
|
+
var __async$p = (__this, __arguments, generator) => {
|
|
21741
21738
|
return new Promise((resolve, reject) => {
|
|
21742
21739
|
var fulfilled = (value) => {
|
|
21743
21740
|
try {
|
|
@@ -21788,7 +21785,7 @@ function routeURL(name, baseUrl, routeData, ...rest) {
|
|
|
21788
21785
|
}
|
|
21789
21786
|
function route(name, connector, ...rest) {
|
|
21790
21787
|
const result = {
|
|
21791
|
-
url: (opt) => __async$
|
|
21788
|
+
url: (opt) => __async$p(null, null, function* () {
|
|
21792
21789
|
var _a;
|
|
21793
21790
|
const routeData = yield connector.connect();
|
|
21794
21791
|
const template = routeURL(
|
|
@@ -21819,7 +21816,7 @@ function route(name, connector, ...rest) {
|
|
|
21819
21816
|
const headers = objectRemoveEmpty(__spreadValues$r(__spreadValues$r({}, connector.getAuthorizationHeaders()), optHeaders != null ? optHeaders : {}));
|
|
21820
21817
|
return request(
|
|
21821
21818
|
template,
|
|
21822
|
-
__spreadProps$
|
|
21819
|
+
__spreadProps$j(__spreadValues$r({
|
|
21823
21820
|
headers
|
|
21824
21821
|
}, restOpt), {
|
|
21825
21822
|
method
|
|
@@ -21944,8 +21941,8 @@ function removeConnector(connector) {
|
|
|
21944
21941
|
}
|
|
21945
21942
|
|
|
21946
21943
|
var __defProp$w = Object.defineProperty;
|
|
21947
|
-
var __defProps$
|
|
21948
|
-
var __getOwnPropDescs$
|
|
21944
|
+
var __defProps$i = Object.defineProperties;
|
|
21945
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
21949
21946
|
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
21950
21947
|
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
21951
21948
|
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
@@ -21961,7 +21958,7 @@ var __spreadValues$q = (a, b) => {
|
|
|
21961
21958
|
}
|
|
21962
21959
|
return a;
|
|
21963
21960
|
};
|
|
21964
|
-
var __spreadProps$
|
|
21961
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
21965
21962
|
var __objRest$3 = (source, exclude) => {
|
|
21966
21963
|
var target = {};
|
|
21967
21964
|
for (var prop in source)
|
|
@@ -21975,7 +21972,7 @@ var __objRest$3 = (source, exclude) => {
|
|
|
21975
21972
|
return target;
|
|
21976
21973
|
};
|
|
21977
21974
|
var __publicField$l = (obj, key, value) => __defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
21978
|
-
var __async$
|
|
21975
|
+
var __async$o = (__this, __arguments, generator) => {
|
|
21979
21976
|
return new Promise((resolve, reject) => {
|
|
21980
21977
|
var fulfilled = (value) => {
|
|
21981
21978
|
try {
|
|
@@ -21999,7 +21996,7 @@ let ID$1 = 0;
|
|
|
21999
21996
|
let REQUEST_ID = 0;
|
|
22000
21997
|
class NgwConnector {
|
|
22001
21998
|
constructor(options) {
|
|
22002
|
-
this
|
|
21999
|
+
__publicField$l(this, "options", options);
|
|
22003
22000
|
__publicField$l(this, "id", ID$1++);
|
|
22004
22001
|
__publicField$l(this, "emitter", new EventEmitter());
|
|
22005
22002
|
__publicField$l(this, "user");
|
|
@@ -22064,7 +22061,7 @@ class NgwConnector {
|
|
|
22064
22061
|
* ```
|
|
22065
22062
|
*/
|
|
22066
22063
|
connect() {
|
|
22067
|
-
return __async$
|
|
22064
|
+
return __async$o(this, arguments, function* ({
|
|
22068
22065
|
signal
|
|
22069
22066
|
} = {}) {
|
|
22070
22067
|
const auth = this.options.auth;
|
|
@@ -22103,7 +22100,7 @@ class NgwConnector {
|
|
|
22103
22100
|
this.emitter.emit("logout");
|
|
22104
22101
|
}
|
|
22105
22102
|
getUserInfo(credentials, options) {
|
|
22106
|
-
return __async$
|
|
22103
|
+
return __async$o(this, null, function* () {
|
|
22107
22104
|
if (this.user && this.user.id) {
|
|
22108
22105
|
return this.user;
|
|
22109
22106
|
}
|
|
@@ -22163,7 +22160,7 @@ class NgwConnector {
|
|
|
22163
22160
|
* @param options - Request options
|
|
22164
22161
|
*/
|
|
22165
22162
|
makeQuery(_0, _1) {
|
|
22166
|
-
return __async$
|
|
22163
|
+
return __async$o(this, arguments, function* (url, params, options = {}) {
|
|
22167
22164
|
var _b;
|
|
22168
22165
|
url = (this.options.baseUrl ? this.options.baseUrl : "") + url;
|
|
22169
22166
|
if (!url) {
|
|
@@ -22196,7 +22193,7 @@ class NgwConnector {
|
|
|
22196
22193
|
});
|
|
22197
22194
|
}
|
|
22198
22195
|
options.signal = internalSignal;
|
|
22199
|
-
const createPromise = () => __async$
|
|
22196
|
+
const createPromise = () => __async$o(this, null, function* () {
|
|
22200
22197
|
const id = REQUEST_ID++;
|
|
22201
22198
|
this.activeRequests[id] = internalAbortController;
|
|
22202
22199
|
try {
|
|
@@ -22206,7 +22203,7 @@ class NgwConnector {
|
|
|
22206
22203
|
}
|
|
22207
22204
|
});
|
|
22208
22205
|
if (method === "GET" && cache !== false) {
|
|
22209
|
-
const cacheOptions = cacheProps ? cacheProps : __spreadProps$
|
|
22206
|
+
const cacheOptions = cacheProps ? cacheProps : __spreadProps$i(__spreadValues$q({}, objectRemoveEmpty({
|
|
22210
22207
|
headers,
|
|
22211
22208
|
withCredentials,
|
|
22212
22209
|
responseType,
|
|
@@ -22260,7 +22257,7 @@ class NgwConnector {
|
|
|
22260
22257
|
});
|
|
22261
22258
|
}
|
|
22262
22259
|
_login(credentials, options) {
|
|
22263
|
-
return __async$
|
|
22260
|
+
return __async$o(this, null, function* () {
|
|
22264
22261
|
try {
|
|
22265
22262
|
const data = yield this.getUserInfo(credentials, options);
|
|
22266
22263
|
this.user = data;
|
|
@@ -22319,8 +22316,8 @@ function resourceToQuery(resource, prefix = "") {
|
|
|
22319
22316
|
}
|
|
22320
22317
|
|
|
22321
22318
|
var __defProp$v = Object.defineProperty;
|
|
22322
|
-
var __defProps$
|
|
22323
|
-
var __getOwnPropDescs$
|
|
22319
|
+
var __defProps$h = Object.defineProperties;
|
|
22320
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
22324
22321
|
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
22325
22322
|
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
22326
22323
|
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
@@ -22336,9 +22333,9 @@ var __spreadValues$p = (a, b) => {
|
|
|
22336
22333
|
}
|
|
22337
22334
|
return a;
|
|
22338
22335
|
};
|
|
22339
|
-
var __spreadProps$
|
|
22336
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
22340
22337
|
var __publicField$k = (obj, key, value) => __defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22341
|
-
var __async$
|
|
22338
|
+
var __async$n = (__this, __arguments, generator) => {
|
|
22342
22339
|
return new Promise((resolve, reject) => {
|
|
22343
22340
|
var fulfilled = (value) => {
|
|
22344
22341
|
try {
|
|
@@ -22456,19 +22453,20 @@ class ResourcesControl {
|
|
|
22456
22453
|
} else {
|
|
22457
22454
|
Object.assign(query, resourceToQuery(resource));
|
|
22458
22455
|
}
|
|
22459
|
-
return this.connector.route("resource.search").get(__spreadProps$
|
|
22456
|
+
return this.connector.route("resource.search").get(__spreadProps$h(__spreadValues$p({}, requestOptions), {
|
|
22460
22457
|
query: __spreadValues$p({
|
|
22461
22458
|
serialization: "full"
|
|
22462
22459
|
}, query)
|
|
22463
22460
|
})).then((resources) => {
|
|
22464
|
-
|
|
22465
|
-
|
|
22461
|
+
const items2 = Array.isArray(resources) ? resources : resources.items;
|
|
22462
|
+
if (requestOptions == null ? void 0 : requestOptions.cache) {
|
|
22463
|
+
for (const x of items2) {
|
|
22466
22464
|
this.cache.add("resource.item", Promise.resolve(x), {
|
|
22467
22465
|
id: x.resource.id
|
|
22468
22466
|
});
|
|
22469
22467
|
}
|
|
22470
22468
|
}
|
|
22471
|
-
return
|
|
22469
|
+
return items2;
|
|
22472
22470
|
});
|
|
22473
22471
|
}
|
|
22474
22472
|
return items;
|
|
@@ -22510,7 +22508,7 @@ class ResourcesControl {
|
|
|
22510
22508
|
});
|
|
22511
22509
|
}
|
|
22512
22510
|
_getChildrenOf(_0, _1) {
|
|
22513
|
-
return __async$
|
|
22511
|
+
return __async$n(this, arguments, function* (parentDef, requestOptions, _items = []) {
|
|
22514
22512
|
let parent = void 0;
|
|
22515
22513
|
if (typeof parentDef === "string") {
|
|
22516
22514
|
parent = yield this.getId(parentDef, requestOptions);
|
|
@@ -22519,7 +22517,7 @@ class ResourcesControl {
|
|
|
22519
22517
|
} else {
|
|
22520
22518
|
parent = parentDef;
|
|
22521
22519
|
}
|
|
22522
|
-
const items = yield this.connector.route("resource.collection").get(__spreadProps$
|
|
22520
|
+
const items = yield this.connector.route("resource.collection").get(__spreadProps$h(__spreadValues$p({}, requestOptions), {
|
|
22523
22521
|
query: {
|
|
22524
22522
|
parent
|
|
22525
22523
|
}
|
|
@@ -22547,7 +22545,7 @@ class ResourcesControl {
|
|
|
22547
22545
|
});
|
|
22548
22546
|
}
|
|
22549
22547
|
_cleanResourceItemCache(id) {
|
|
22550
|
-
return __async$
|
|
22548
|
+
return __async$n(this, null, function* () {
|
|
22551
22549
|
var _a;
|
|
22552
22550
|
const all = this.cache.all();
|
|
22553
22551
|
const toDelete = [];
|
|
@@ -22817,8 +22815,8 @@ class NgwConnectorExtended extends NgwConnector {
|
|
|
22817
22815
|
}
|
|
22818
22816
|
|
|
22819
22817
|
var __defProp$t = Object.defineProperty;
|
|
22820
|
-
var __defProps$
|
|
22821
|
-
var __getOwnPropDescs$
|
|
22818
|
+
var __defProps$g = Object.defineProperties;
|
|
22819
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
22822
22820
|
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
22823
22821
|
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
22824
22822
|
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
@@ -22834,7 +22832,7 @@ var __spreadValues$o = (a, b) => {
|
|
|
22834
22832
|
}
|
|
22835
22833
|
return a;
|
|
22836
22834
|
};
|
|
22837
|
-
var __spreadProps$
|
|
22835
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
22838
22836
|
function getNgwWebmapExtent(webmap) {
|
|
22839
22837
|
const bottom = webmap["extent_bottom"];
|
|
22840
22838
|
const left = webmap["extent_left"];
|
|
@@ -22901,14 +22899,14 @@ function fetchNgwResourceExtent(item, connector, options) {
|
|
|
22901
22899
|
if (resource.cls && resource.parent && resource.cls.indexOf("style") !== -1) {
|
|
22902
22900
|
return connector.getResource(resource.parent.id, options).then((res) => {
|
|
22903
22901
|
if (res) {
|
|
22904
|
-
return fetchNgwLayerExtent(__spreadProps$
|
|
22902
|
+
return fetchNgwLayerExtent(__spreadProps$g(__spreadValues$o({}, options), {
|
|
22905
22903
|
resourceId: res.resource.id,
|
|
22906
22904
|
connector
|
|
22907
22905
|
}));
|
|
22908
22906
|
}
|
|
22909
22907
|
});
|
|
22910
22908
|
} else {
|
|
22911
|
-
return fetchNgwLayerExtent(__spreadProps$
|
|
22909
|
+
return fetchNgwLayerExtent(__spreadProps$g(__spreadValues$o({}, options), {
|
|
22912
22910
|
resourceId: resource.id,
|
|
22913
22911
|
connector
|
|
22914
22912
|
}));
|
|
@@ -22919,7 +22917,7 @@ function fetchNgwResourceExtent(item, connector, options) {
|
|
|
22919
22917
|
var __defProp$s = Object.defineProperty;
|
|
22920
22918
|
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
22921
22919
|
var __publicField$i = (obj, key, value) => __defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22922
|
-
var __async$
|
|
22920
|
+
var __async$m = (__this, __arguments, generator) => {
|
|
22923
22921
|
return new Promise((resolve, reject) => {
|
|
22924
22922
|
var fulfilled = (value) => {
|
|
22925
22923
|
try {
|
|
@@ -22947,12 +22945,12 @@ class NgwResource {
|
|
|
22947
22945
|
}
|
|
22948
22946
|
/** @deprecated use {@link NgwResource.getBounds} instead */
|
|
22949
22947
|
getExtent() {
|
|
22950
|
-
return __async$
|
|
22948
|
+
return __async$m(this, null, function* () {
|
|
22951
22949
|
return this.getBounds();
|
|
22952
22950
|
});
|
|
22953
22951
|
}
|
|
22954
22952
|
getBounds(options) {
|
|
22955
|
-
return __async$
|
|
22953
|
+
return __async$m(this, null, function* () {
|
|
22956
22954
|
if (this._extent) {
|
|
22957
22955
|
return this._extent;
|
|
22958
22956
|
}
|
|
@@ -22968,7 +22966,7 @@ class NgwResource {
|
|
|
22968
22966
|
}
|
|
22969
22967
|
}
|
|
22970
22968
|
|
|
22971
|
-
var __async$
|
|
22969
|
+
var __async$l = (__this, __arguments, generator) => {
|
|
22972
22970
|
return new Promise((resolve, reject) => {
|
|
22973
22971
|
var fulfilled = (value) => {
|
|
22974
22972
|
try {
|
|
@@ -22989,7 +22987,7 @@ var __async$m = (__this, __arguments, generator) => {
|
|
|
22989
22987
|
});
|
|
22990
22988
|
};
|
|
22991
22989
|
function resourceIdFromLayerOptions(options, connector) {
|
|
22992
|
-
return __async$
|
|
22990
|
+
return __async$l(this, null, function* () {
|
|
22993
22991
|
const resource = options.resource;
|
|
22994
22992
|
const item = resource;
|
|
22995
22993
|
let { keyname, resourceId } = options;
|
|
@@ -23031,7 +23029,7 @@ var __spreadValues$n = (a, b) => {
|
|
|
23031
23029
|
return a;
|
|
23032
23030
|
};
|
|
23033
23031
|
var __publicField$h = (obj, key, value) => __defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
23034
|
-
var __async$
|
|
23032
|
+
var __async$k = (__this, __arguments, generator) => {
|
|
23035
23033
|
return new Promise((resolve, reject) => {
|
|
23036
23034
|
var fulfilled = (value) => {
|
|
23037
23035
|
try {
|
|
@@ -23052,7 +23050,7 @@ var __async$l = (__this, __arguments, generator) => {
|
|
|
23052
23050
|
});
|
|
23053
23051
|
};
|
|
23054
23052
|
function createOnFirstShowAdapter(_0) {
|
|
23055
|
-
return __async$
|
|
23053
|
+
return __async$k(this, arguments, function* ({
|
|
23056
23054
|
webMap,
|
|
23057
23055
|
adapterOptions = {},
|
|
23058
23056
|
onLayerAdded,
|
|
@@ -23078,7 +23076,7 @@ function createOnFirstShowAdapter(_0) {
|
|
|
23078
23076
|
return this._removed;
|
|
23079
23077
|
}
|
|
23080
23078
|
showLayer() {
|
|
23081
|
-
return __async$
|
|
23079
|
+
return __async$k(this, null, function* () {
|
|
23082
23080
|
this.options.visibility = true;
|
|
23083
23081
|
if (this.layer.length) {
|
|
23084
23082
|
for (const x of this.layer) {
|
|
@@ -23090,7 +23088,7 @@ function createOnFirstShowAdapter(_0) {
|
|
|
23090
23088
|
});
|
|
23091
23089
|
}
|
|
23092
23090
|
hideLayer() {
|
|
23093
|
-
return __async$
|
|
23091
|
+
return __async$k(this, null, function* () {
|
|
23094
23092
|
this.options.visibility = false;
|
|
23095
23093
|
if (this.layer) {
|
|
23096
23094
|
for (const x of this.layer) {
|
|
@@ -23100,7 +23098,7 @@ function createOnFirstShowAdapter(_0) {
|
|
|
23100
23098
|
});
|
|
23101
23099
|
}
|
|
23102
23100
|
loadLayer() {
|
|
23103
|
-
return __async$
|
|
23101
|
+
return __async$k(this, null, function* () {
|
|
23104
23102
|
if (!this.layer.length && !this._creatingInProgress) {
|
|
23105
23103
|
this._creatingInProgress = true;
|
|
23106
23104
|
const Adapter = yield createAdapter(this);
|
|
@@ -23134,7 +23132,7 @@ function createOnFirstShowAdapter(_0) {
|
|
|
23134
23132
|
});
|
|
23135
23133
|
}
|
|
23136
23134
|
|
|
23137
|
-
var __async$
|
|
23135
|
+
var __async$j = (__this, __arguments, generator) => {
|
|
23138
23136
|
return new Promise((resolve, reject) => {
|
|
23139
23137
|
var fulfilled = (value) => {
|
|
23140
23138
|
try {
|
|
@@ -23155,7 +23153,7 @@ var __async$k = (__this, __arguments, generator) => {
|
|
|
23155
23153
|
});
|
|
23156
23154
|
};
|
|
23157
23155
|
function createOnFirstShowNgwAdapter(_0) {
|
|
23158
|
-
return __async$
|
|
23156
|
+
return __async$j(this, arguments, function* ({
|
|
23159
23157
|
webMap,
|
|
23160
23158
|
connector,
|
|
23161
23159
|
item,
|
|
@@ -23190,8 +23188,6 @@ function createOnFirstShowNgwAdapter(_0) {
|
|
|
23190
23188
|
}
|
|
23191
23189
|
|
|
23192
23190
|
var __defProp$q = Object.defineProperty;
|
|
23193
|
-
var __defProps$g = Object.defineProperties;
|
|
23194
|
-
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
23195
23191
|
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
23196
23192
|
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
23197
23193
|
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
@@ -23207,27 +23203,6 @@ var __spreadValues$m = (a, b) => {
|
|
|
23207
23203
|
}
|
|
23208
23204
|
return a;
|
|
23209
23205
|
};
|
|
23210
|
-
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
23211
|
-
var __async$j = (__this, __arguments, generator) => {
|
|
23212
|
-
return new Promise((resolve, reject) => {
|
|
23213
|
-
var fulfilled = (value) => {
|
|
23214
|
-
try {
|
|
23215
|
-
step(generator.next(value));
|
|
23216
|
-
} catch (e) {
|
|
23217
|
-
reject(e);
|
|
23218
|
-
}
|
|
23219
|
-
};
|
|
23220
|
-
var rejected = (value) => {
|
|
23221
|
-
try {
|
|
23222
|
-
step(generator.throw(value));
|
|
23223
|
-
} catch (e) {
|
|
23224
|
-
reject(e);
|
|
23225
|
-
}
|
|
23226
|
-
};
|
|
23227
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
23228
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
23229
|
-
});
|
|
23230
|
-
};
|
|
23231
23206
|
const FEATURE_REQUEST_PARAMS = {
|
|
23232
23207
|
srs: 4326,
|
|
23233
23208
|
geom_format: "geojson",
|
|
@@ -23274,86 +23249,6 @@ function paramListToQuery(paramList) {
|
|
|
23274
23249
|
{}
|
|
23275
23250
|
);
|
|
23276
23251
|
}
|
|
23277
|
-
function createFeatureFieldFilterQueries(opt) {
|
|
23278
|
-
return __async$j(this, null, function* () {
|
|
23279
|
-
const queries = getQueries(opt);
|
|
23280
|
-
const itemsParts = yield Promise.all(queries);
|
|
23281
|
-
const ids = [];
|
|
23282
|
-
const items = [];
|
|
23283
|
-
for (const part of itemsParts) {
|
|
23284
|
-
for (const item of part) {
|
|
23285
|
-
if (!ids.includes(item.id)) {
|
|
23286
|
-
items.push(item);
|
|
23287
|
-
ids.push(item.id);
|
|
23288
|
-
}
|
|
23289
|
-
}
|
|
23290
|
-
}
|
|
23291
|
-
const offset = opt.offset !== void 0 ? opt.offset : 0;
|
|
23292
|
-
const limit = opt.limit !== void 0 ? opt.limit : items.length;
|
|
23293
|
-
if (opt.offset || opt.limit) {
|
|
23294
|
-
return items.splice(offset, limit);
|
|
23295
|
-
}
|
|
23296
|
-
return items;
|
|
23297
|
-
});
|
|
23298
|
-
}
|
|
23299
|
-
function createParam(pf) {
|
|
23300
|
-
const [field, operation, value] = pf;
|
|
23301
|
-
const isFldStr = field !== "id" ? "fld_" : "";
|
|
23302
|
-
let vStart = "";
|
|
23303
|
-
let vEnd = "";
|
|
23304
|
-
const field_ = String(field).trim().replace(/^(%?)(.+?)(%?)$/, (m, a, b, c) => {
|
|
23305
|
-
vStart = a;
|
|
23306
|
-
vEnd = c;
|
|
23307
|
-
return b;
|
|
23308
|
-
});
|
|
23309
|
-
const v = vStart + value + vEnd;
|
|
23310
|
-
return [`${isFldStr}${field_}__${operation}`, v];
|
|
23311
|
-
}
|
|
23312
|
-
function getQueries(opt, _queries = [], _parentAllParams = []) {
|
|
23313
|
-
var _a;
|
|
23314
|
-
const { filters } = opt;
|
|
23315
|
-
const paramList = (_a = opt.paramList) != null ? _a : [];
|
|
23316
|
-
const logic = typeof filters[0] === "string" ? filters[0] : "all";
|
|
23317
|
-
const filters_ = filters.filter((x) => Array.isArray(x));
|
|
23318
|
-
if (logic === "any") {
|
|
23319
|
-
for (const f of filters_) {
|
|
23320
|
-
if (isPropertyFilter$1(f)) {
|
|
23321
|
-
_queries.push(
|
|
23322
|
-
fetchNgwLayerItemsRequest(__spreadProps$g(__spreadValues$m({}, opt), {
|
|
23323
|
-
paramList: [..._parentAllParams, ...paramList, createParam(f)]
|
|
23324
|
-
}))
|
|
23325
|
-
);
|
|
23326
|
-
} else {
|
|
23327
|
-
getQueries(__spreadProps$g(__spreadValues$m({}, opt), { filters: f }), _queries, [..._parentAllParams]);
|
|
23328
|
-
}
|
|
23329
|
-
}
|
|
23330
|
-
} else if (logic === "all") {
|
|
23331
|
-
const filters2 = [];
|
|
23332
|
-
const propertiesFilterList = [];
|
|
23333
|
-
for (const f of filters_) {
|
|
23334
|
-
if (isPropertyFilter$1(f)) {
|
|
23335
|
-
filters2.push(createParam(f));
|
|
23336
|
-
} else {
|
|
23337
|
-
propertiesFilterList.push(f);
|
|
23338
|
-
}
|
|
23339
|
-
}
|
|
23340
|
-
if (propertiesFilterList.length) {
|
|
23341
|
-
for (const x of propertiesFilterList) {
|
|
23342
|
-
getQueries(__spreadProps$g(__spreadValues$m({}, opt), { filters: x }), _queries, [
|
|
23343
|
-
..._parentAllParams,
|
|
23344
|
-
...filters2
|
|
23345
|
-
]);
|
|
23346
|
-
}
|
|
23347
|
-
} else {
|
|
23348
|
-
_queries.push(
|
|
23349
|
-
fetchNgwLayerItemsRequest(__spreadProps$g(__spreadValues$m({}, opt), {
|
|
23350
|
-
paramList: [..._parentAllParams, ...paramList, ...filters2]
|
|
23351
|
-
}))
|
|
23352
|
-
);
|
|
23353
|
-
}
|
|
23354
|
-
}
|
|
23355
|
-
return _queries;
|
|
23356
|
-
}
|
|
23357
23252
|
function createWktFromCoordArray(coord) {
|
|
23358
23253
|
const polygon = coord.map(([lng, lat]) => {
|
|
23359
23254
|
const [x, y] = degrees2meters(lng, lat).map((c) => round(c));
|
|
@@ -23427,6 +23322,147 @@ function prepareNgwFieldsToPropertiesFilter(fields) {
|
|
|
23427
23322
|
return fields;
|
|
23428
23323
|
}
|
|
23429
23324
|
|
|
23325
|
+
function isPropertyFilter(value) {
|
|
23326
|
+
return Array.isArray(value) && value.length === 3 && typeof value[0] === "string" && typeof value[1] === "string";
|
|
23327
|
+
}
|
|
23328
|
+
function isPropertiesFilterGroup(value) {
|
|
23329
|
+
return Array.isArray(value) && !isPropertyFilter(value);
|
|
23330
|
+
}
|
|
23331
|
+
function toGetExpr(field) {
|
|
23332
|
+
return field === "id" ? ["fid"] : ["get", field];
|
|
23333
|
+
}
|
|
23334
|
+
function parseWildcardField(field) {
|
|
23335
|
+
const leadingWildcard = field.startsWith("%");
|
|
23336
|
+
const trailingWildcard = field.endsWith("%");
|
|
23337
|
+
return {
|
|
23338
|
+
field: field.slice(
|
|
23339
|
+
leadingWildcard ? 1 : 0,
|
|
23340
|
+
trailingWildcard ? -1 : void 0
|
|
23341
|
+
),
|
|
23342
|
+
leadingWildcard,
|
|
23343
|
+
trailingWildcard
|
|
23344
|
+
};
|
|
23345
|
+
}
|
|
23346
|
+
function toConditionExpr(filter) {
|
|
23347
|
+
const [fieldRaw, op, value] = filter;
|
|
23348
|
+
const field = String(fieldRaw);
|
|
23349
|
+
const getExpr = toGetExpr(field);
|
|
23350
|
+
switch (op) {
|
|
23351
|
+
case "eq":
|
|
23352
|
+
if (value === null) {
|
|
23353
|
+
return ["is_null", getExpr];
|
|
23354
|
+
}
|
|
23355
|
+
return ["==", getExpr, value];
|
|
23356
|
+
case "ne":
|
|
23357
|
+
if (value === null) {
|
|
23358
|
+
return ["!is_null", getExpr];
|
|
23359
|
+
}
|
|
23360
|
+
return ["!=", getExpr, value];
|
|
23361
|
+
case "gt":
|
|
23362
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23363
|
+
throw new Error(
|
|
23364
|
+
`Operator "gt" requires number or string for "${field}"`
|
|
23365
|
+
);
|
|
23366
|
+
}
|
|
23367
|
+
return [">", getExpr, value];
|
|
23368
|
+
case "lt":
|
|
23369
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23370
|
+
throw new Error(
|
|
23371
|
+
`Operator "lt" requires number or string for "${field}"`
|
|
23372
|
+
);
|
|
23373
|
+
}
|
|
23374
|
+
return ["<", getExpr, value];
|
|
23375
|
+
case "ge":
|
|
23376
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23377
|
+
throw new Error(
|
|
23378
|
+
`Operator "ge" requires number or string for "${field}"`
|
|
23379
|
+
);
|
|
23380
|
+
}
|
|
23381
|
+
return [">=", getExpr, value];
|
|
23382
|
+
case "le":
|
|
23383
|
+
if (typeof value !== "number" && typeof value !== "string") {
|
|
23384
|
+
throw new Error(
|
|
23385
|
+
`Operator "le" requires number or string for "${field}"`
|
|
23386
|
+
);
|
|
23387
|
+
}
|
|
23388
|
+
return ["<=", getExpr, value];
|
|
23389
|
+
case "in":
|
|
23390
|
+
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
23391
|
+
throw new Error(
|
|
23392
|
+
`Operator "in" requires (string | number)[] for "${field}"`
|
|
23393
|
+
);
|
|
23394
|
+
}
|
|
23395
|
+
if (!value.length) {
|
|
23396
|
+
throw new Error(
|
|
23397
|
+
`Operator "in" requires non-empty array for "${field}"`
|
|
23398
|
+
);
|
|
23399
|
+
}
|
|
23400
|
+
return ["in", getExpr, ...value];
|
|
23401
|
+
case "notin":
|
|
23402
|
+
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
23403
|
+
throw new Error(
|
|
23404
|
+
`Operator "notin" requires (string | number)[] for "${field}"`
|
|
23405
|
+
);
|
|
23406
|
+
}
|
|
23407
|
+
if (!value.length) {
|
|
23408
|
+
throw new Error(
|
|
23409
|
+
`Operator "notin" requires non-empty array for "${field}"`
|
|
23410
|
+
);
|
|
23411
|
+
}
|
|
23412
|
+
return ["!in", getExpr, ...value];
|
|
23413
|
+
case "ilike": {
|
|
23414
|
+
if (typeof value !== "string") {
|
|
23415
|
+
throw new Error(`Operator "ilike" requires string for "${field}"`);
|
|
23416
|
+
}
|
|
23417
|
+
const parsed = parseWildcardField(field);
|
|
23418
|
+
const pattern = `${parsed.leadingWildcard ? "%" : ""}${value}${parsed.trailingWildcard ? "%" : ""}`;
|
|
23419
|
+
return ["ilike", toGetExpr(parsed.field), pattern];
|
|
23420
|
+
}
|
|
23421
|
+
case "like":
|
|
23422
|
+
throw new Error(
|
|
23423
|
+
`Operator "${op}" is not supported by server FilterExpression`
|
|
23424
|
+
);
|
|
23425
|
+
default: {
|
|
23426
|
+
const exhaustive = op;
|
|
23427
|
+
throw new Error(`Unsupported operator: ${exhaustive}`);
|
|
23428
|
+
}
|
|
23429
|
+
}
|
|
23430
|
+
}
|
|
23431
|
+
function toGroupExpr(filters) {
|
|
23432
|
+
let logicalOp = "all";
|
|
23433
|
+
const children = [];
|
|
23434
|
+
for (const item of filters) {
|
|
23435
|
+
if (item === "all" || item === "any") {
|
|
23436
|
+
logicalOp = item;
|
|
23437
|
+
continue;
|
|
23438
|
+
}
|
|
23439
|
+
if (isPropertyFilter(item)) {
|
|
23440
|
+
children.push(toConditionExpr(item));
|
|
23441
|
+
continue;
|
|
23442
|
+
}
|
|
23443
|
+
if (isPropertiesFilterGroup(item)) {
|
|
23444
|
+
children.push(toGroupExpr(item));
|
|
23445
|
+
continue;
|
|
23446
|
+
}
|
|
23447
|
+
throw new Error("Invalid PropertiesFilter node");
|
|
23448
|
+
}
|
|
23449
|
+
return [logicalOp, ...children];
|
|
23450
|
+
}
|
|
23451
|
+
function propertiesFilterToExpression(filters) {
|
|
23452
|
+
if (!(filters == null ? void 0 : filters.length)) {
|
|
23453
|
+
return [];
|
|
23454
|
+
}
|
|
23455
|
+
return toGroupExpr(filters);
|
|
23456
|
+
}
|
|
23457
|
+
function propertiesFilterToExpressionString(filters) {
|
|
23458
|
+
if (!(filters == null ? void 0 : filters.length)) {
|
|
23459
|
+
return void 0;
|
|
23460
|
+
}
|
|
23461
|
+
return JSON.stringify(
|
|
23462
|
+
propertiesFilterToExpression(filters)
|
|
23463
|
+
);
|
|
23464
|
+
}
|
|
23465
|
+
|
|
23430
23466
|
var __defProp$p = Object.defineProperty;
|
|
23431
23467
|
var __defProps$f = Object.defineProperties;
|
|
23432
23468
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
@@ -23471,10 +23507,12 @@ function fetchNgwLayerItems(options) {
|
|
|
23471
23507
|
var _a;
|
|
23472
23508
|
const filters = options.filters;
|
|
23473
23509
|
if (filters) {
|
|
23474
|
-
let data = yield
|
|
23475
|
-
|
|
23510
|
+
let data = yield fetchNgwLayerItemsRequest(__spreadProps$f(__spreadValues$l({}, options), {
|
|
23511
|
+
query: __spreadProps$f(__spreadValues$l({}, options.query), {
|
|
23512
|
+
filter: propertiesFilterToExpressionString(filters)
|
|
23513
|
+
})
|
|
23476
23514
|
}));
|
|
23477
|
-
const clientFilterValidate = (_a = options.clientFilterValidate) != null ? _a :
|
|
23515
|
+
const clientFilterValidate = (_a = options.clientFilterValidate) != null ? _a : false;
|
|
23478
23516
|
if (clientFilterValidate) {
|
|
23479
23517
|
data = data.filter((y) => {
|
|
23480
23518
|
const fields = prepareNgwFieldsToPropertiesFilter(__spreadProps$f(__spreadValues$l({}, y.fields), {
|
|
@@ -23490,21 +23528,6 @@ function fetchNgwLayerItems(options) {
|
|
|
23490
23528
|
}
|
|
23491
23529
|
});
|
|
23492
23530
|
}
|
|
23493
|
-
function isFilterWithAnyCase(filters) {
|
|
23494
|
-
if (filters[0] === "any") {
|
|
23495
|
-
return true;
|
|
23496
|
-
}
|
|
23497
|
-
for (let i = 1; i < filters.length; i++) {
|
|
23498
|
-
const p = filters[i];
|
|
23499
|
-
if (isArray(p)) {
|
|
23500
|
-
const deep = isFilterWithAnyCase(p);
|
|
23501
|
-
if (deep) {
|
|
23502
|
-
return true;
|
|
23503
|
-
}
|
|
23504
|
-
}
|
|
23505
|
-
}
|
|
23506
|
-
return false;
|
|
23507
|
-
}
|
|
23508
23531
|
|
|
23509
23532
|
function getImageAdapterOptions({
|
|
23510
23533
|
resourceId,
|
|
@@ -23680,7 +23703,7 @@ var __spreadValues$j = (a, b) => {
|
|
|
23680
23703
|
var __publicField$g = (obj, key, value) => __defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
23681
23704
|
class BookmarkItem {
|
|
23682
23705
|
constructor(options) {
|
|
23683
|
-
this
|
|
23706
|
+
__publicField$g(this, "options", options);
|
|
23684
23707
|
__publicField$g(this, "name");
|
|
23685
23708
|
__publicField$g(this, "resourceId");
|
|
23686
23709
|
__publicField$g(this, "item");
|
|
@@ -24002,7 +24025,7 @@ const BOOLEAN_TYPE = "boolean";
|
|
|
24002
24025
|
const STRING_TYPE = "string";
|
|
24003
24026
|
const _ItemProperties = class _ItemProperties {
|
|
24004
24027
|
constructor(item, propertiesList) {
|
|
24005
|
-
this
|
|
24028
|
+
__publicField$d(this, "item", item);
|
|
24006
24029
|
__publicField$d(this, "options", {});
|
|
24007
24030
|
__publicField$d(this, "_properties", {});
|
|
24008
24031
|
__publicField$d(this, "_propertiesList", []);
|
|
@@ -24685,6 +24708,9 @@ const _NgwWebmapItem = class _NgwWebmapItem extends Item {
|
|
|
24685
24708
|
this.tree.addChild(childItem);
|
|
24686
24709
|
}
|
|
24687
24710
|
}
|
|
24711
|
+
if (this.item.item_type === "group" && !group.group_enabled) {
|
|
24712
|
+
this.properties.property("visibility").set(false);
|
|
24713
|
+
}
|
|
24688
24714
|
return Promise.resolve();
|
|
24689
24715
|
}
|
|
24690
24716
|
initLayerItem(layer) {
|
|
@@ -24760,7 +24786,9 @@ __publicField$9(_NgwWebmapItem, "options", {
|
|
|
24760
24786
|
name: "visibility",
|
|
24761
24787
|
getProperty(item) {
|
|
24762
24788
|
if (item) {
|
|
24763
|
-
if (item.item.item_type === "group"
|
|
24789
|
+
if (item.item.item_type === "group") {
|
|
24790
|
+
return item.item.group_enabled;
|
|
24791
|
+
} else if (item.item.item_type === "root") {
|
|
24764
24792
|
return treeSome(
|
|
24765
24793
|
item.item,
|
|
24766
24794
|
(i) => "layer_enabled" in i ? i.layer_enabled : false,
|
|
@@ -24773,7 +24801,9 @@ __publicField$9(_NgwWebmapItem, "options", {
|
|
|
24773
24801
|
return false;
|
|
24774
24802
|
},
|
|
24775
24803
|
onSet(value, options, item) {
|
|
24776
|
-
if (item
|
|
24804
|
+
if ((item == null ? void 0 : item.item.item_type) === "group") {
|
|
24805
|
+
item.item.group_enabled = value;
|
|
24806
|
+
} else if ((item == null ? void 0 : item.item.item_type) === "layer") {
|
|
24777
24807
|
if (item.layer) {
|
|
24778
24808
|
if (value) {
|
|
24779
24809
|
item.webMap.showLayer(item.layer, options);
|
|
@@ -24835,8 +24865,8 @@ var __async$e = (__this, __arguments, generator) => {
|
|
|
24835
24865
|
};
|
|
24836
24866
|
class NgwWebmapLayerAdapter {
|
|
24837
24867
|
constructor(map, options) {
|
|
24838
|
-
this
|
|
24839
|
-
this
|
|
24868
|
+
__publicField$8(this, "map", map);
|
|
24869
|
+
__publicField$8(this, "options", options);
|
|
24840
24870
|
__publicField$8(this, "layer");
|
|
24841
24871
|
__publicField$8(this, "NgwWebmapItem", NgwWebmapItem);
|
|
24842
24872
|
/**
|
|
@@ -25352,6 +25382,23 @@ const _QmsClient = class _QmsClient {
|
|
|
25352
25382
|
return prepareQmsWmsLayer(service);
|
|
25353
25383
|
});
|
|
25354
25384
|
}
|
|
25385
|
+
searchServices(_0, _1) {
|
|
25386
|
+
return __async$d(this, arguments, function* (search, { limit = 10, offset, signal, type }) {
|
|
25387
|
+
const params = new URLSearchParams({
|
|
25388
|
+
search,
|
|
25389
|
+
limit: String(limit),
|
|
25390
|
+
type
|
|
25391
|
+
});
|
|
25392
|
+
if (offset !== void 0) {
|
|
25393
|
+
params.set("offset", String(offset));
|
|
25394
|
+
}
|
|
25395
|
+
const response = yield this._getJson(
|
|
25396
|
+
`${this.url}/api/v1/geoservices/?${params}`,
|
|
25397
|
+
{ signal }
|
|
25398
|
+
);
|
|
25399
|
+
return response.results;
|
|
25400
|
+
});
|
|
25401
|
+
}
|
|
25355
25402
|
_getJson(_0, _1) {
|
|
25356
25403
|
return __async$d(this, arguments, function* (url, { signal }) {
|
|
25357
25404
|
const response = yield fetch(url, {
|
|
@@ -25369,6 +25416,9 @@ const _QmsClient = class _QmsClient {
|
|
|
25369
25416
|
__publicField$7(_QmsClient, "url", QMS_URL);
|
|
25370
25417
|
let QmsClient = _QmsClient;
|
|
25371
25418
|
|
|
25419
|
+
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)}";
|
|
25420
|
+
styleInject(css_248z$2);
|
|
25421
|
+
|
|
25372
25422
|
var __defProp$c = Object.defineProperty;
|
|
25373
25423
|
var __defProps$9 = Object.defineProperties;
|
|
25374
25424
|
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
@@ -25474,7 +25524,7 @@ function createQmsAdapter(webMapOrOptions, createOpt = {}) {
|
|
|
25474
25524
|
var _a2, _b, _c;
|
|
25475
25525
|
const signal = (_a2 = options.signal) != null ? _a2 : this.options.signal;
|
|
25476
25526
|
const qmsId = (_c = options.qmsId) != null ? _c : (_b = this.qms) == null ? void 0 : _b.id;
|
|
25477
|
-
if (qmsId
|
|
25527
|
+
if (typeof qmsId !== "number") {
|
|
25478
25528
|
return;
|
|
25479
25529
|
}
|
|
25480
25530
|
try {
|
|
@@ -26057,131 +26107,13 @@ function createWebMapAdapter(_0) {
|
|
|
26057
26107
|
});
|
|
26058
26108
|
}
|
|
26059
26109
|
|
|
26060
|
-
function isPropertyFilter(value) {
|
|
26061
|
-
return Array.isArray(value) && value.length === 3 && typeof value[0] === "string" && typeof value[1] === "string";
|
|
26062
|
-
}
|
|
26063
|
-
function isPropertiesFilterGroup(value) {
|
|
26064
|
-
return Array.isArray(value) && !isPropertyFilter(value);
|
|
26065
|
-
}
|
|
26066
|
-
function toGetExpr(field) {
|
|
26067
|
-
return ["get", field];
|
|
26068
|
-
}
|
|
26069
|
-
function toConditionExpr(filter) {
|
|
26070
|
-
const [fieldRaw, op, value] = filter;
|
|
26071
|
-
const field = String(fieldRaw);
|
|
26072
|
-
const getExpr = toGetExpr(field);
|
|
26073
|
-
switch (op) {
|
|
26074
|
-
case "eq":
|
|
26075
|
-
if (value === null) {
|
|
26076
|
-
return ["is_null", getExpr];
|
|
26077
|
-
}
|
|
26078
|
-
return ["==", getExpr, value];
|
|
26079
|
-
case "ne":
|
|
26080
|
-
if (value === null) {
|
|
26081
|
-
return ["!is_null", getExpr];
|
|
26082
|
-
}
|
|
26083
|
-
return ["!=", getExpr, value];
|
|
26084
|
-
case "gt":
|
|
26085
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26086
|
-
throw new Error(
|
|
26087
|
-
`Operator "gt" requires number or string for "${field}"`
|
|
26088
|
-
);
|
|
26089
|
-
}
|
|
26090
|
-
return [">", getExpr, value];
|
|
26091
|
-
case "lt":
|
|
26092
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26093
|
-
throw new Error(
|
|
26094
|
-
`Operator "lt" requires number or string for "${field}"`
|
|
26095
|
-
);
|
|
26096
|
-
}
|
|
26097
|
-
return ["<", getExpr, value];
|
|
26098
|
-
case "ge":
|
|
26099
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26100
|
-
throw new Error(
|
|
26101
|
-
`Operator "ge" requires number or string for "${field}"`
|
|
26102
|
-
);
|
|
26103
|
-
}
|
|
26104
|
-
return [">=", getExpr, value];
|
|
26105
|
-
case "le":
|
|
26106
|
-
if (typeof value !== "number" && typeof value !== "string") {
|
|
26107
|
-
throw new Error(
|
|
26108
|
-
`Operator "le" requires number or string for "${field}"`
|
|
26109
|
-
);
|
|
26110
|
-
}
|
|
26111
|
-
return ["<=", getExpr, value];
|
|
26112
|
-
case "in":
|
|
26113
|
-
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
26114
|
-
throw new Error(
|
|
26115
|
-
`Operator "in" requires (string | number)[] for "${field}"`
|
|
26116
|
-
);
|
|
26117
|
-
}
|
|
26118
|
-
if (!value.length) {
|
|
26119
|
-
throw new Error(
|
|
26120
|
-
`Operator "in" requires non-empty array for "${field}"`
|
|
26121
|
-
);
|
|
26122
|
-
}
|
|
26123
|
-
return ["in", getExpr, ...value];
|
|
26124
|
-
case "notin":
|
|
26125
|
-
if (!Array.isArray(value) || !value.every((x) => typeof x === "string" || typeof x === "number")) {
|
|
26126
|
-
throw new Error(
|
|
26127
|
-
`Operator "notin" requires (string | number)[] for "${field}"`
|
|
26128
|
-
);
|
|
26129
|
-
}
|
|
26130
|
-
if (!value.length) {
|
|
26131
|
-
throw new Error(
|
|
26132
|
-
`Operator "notin" requires non-empty array for "${field}"`
|
|
26133
|
-
);
|
|
26134
|
-
}
|
|
26135
|
-
return ["!in", getExpr, ...value];
|
|
26136
|
-
case "like":
|
|
26137
|
-
case "ilike":
|
|
26138
|
-
throw new Error(
|
|
26139
|
-
`Operator "${op}" is not supported by server FilterExpression`
|
|
26140
|
-
);
|
|
26141
|
-
default: {
|
|
26142
|
-
const exhaustive = op;
|
|
26143
|
-
throw new Error(`Unsupported operator: ${exhaustive}`);
|
|
26144
|
-
}
|
|
26145
|
-
}
|
|
26146
|
-
}
|
|
26147
|
-
function toGroupExpr(filters) {
|
|
26148
|
-
let logicalOp = "all";
|
|
26149
|
-
const children = [];
|
|
26150
|
-
for (const item of filters) {
|
|
26151
|
-
if (item === "all" || item === "any") {
|
|
26152
|
-
logicalOp = item;
|
|
26153
|
-
continue;
|
|
26154
|
-
}
|
|
26155
|
-
if (isPropertyFilter(item)) {
|
|
26156
|
-
children.push(toConditionExpr(item));
|
|
26157
|
-
continue;
|
|
26158
|
-
}
|
|
26159
|
-
if (isPropertiesFilterGroup(item)) {
|
|
26160
|
-
children.push(toGroupExpr(item));
|
|
26161
|
-
continue;
|
|
26162
|
-
}
|
|
26163
|
-
throw new Error("Invalid PropertiesFilter node");
|
|
26164
|
-
}
|
|
26165
|
-
return [logicalOp, ...children];
|
|
26166
|
-
}
|
|
26167
|
-
function propertiesFilterToExpression(filters) {
|
|
26168
|
-
if (!(filters == null ? void 0 : filters.length)) {
|
|
26169
|
-
return [];
|
|
26170
|
-
}
|
|
26171
|
-
return toGroupExpr(filters);
|
|
26172
|
-
}
|
|
26173
|
-
function propertiesFilterToExpressionString(filters) {
|
|
26174
|
-
if (!(filters == null ? void 0 : filters.length)) {
|
|
26175
|
-
return void 0;
|
|
26176
|
-
}
|
|
26177
|
-
return JSON.stringify(
|
|
26178
|
-
propertiesFilterToExpression(filters)
|
|
26179
|
-
);
|
|
26180
|
-
}
|
|
26181
|
-
|
|
26182
26110
|
function createLayerFilterParam(resourceId, filter) {
|
|
26111
|
+
const value = propertiesFilterToExpressionString(filter);
|
|
26112
|
+
if (value === void 0) {
|
|
26113
|
+
return {};
|
|
26114
|
+
}
|
|
26183
26115
|
return {
|
|
26184
|
-
[`filter[${resourceId}]`]:
|
|
26116
|
+
[`filter[${resourceId}]`]: value
|
|
26185
26117
|
};
|
|
26186
26118
|
}
|
|
26187
26119
|
|
|
@@ -26269,7 +26201,7 @@ function createRasterAdapter(_0) {
|
|
|
26269
26201
|
return class RasterAdapter extends AdapterClass {
|
|
26270
26202
|
constructor(map, _options) {
|
|
26271
26203
|
super(map, _options);
|
|
26272
|
-
this
|
|
26204
|
+
__publicField$3(this, "map", map);
|
|
26273
26205
|
__publicField$3(this, "item", item);
|
|
26274
26206
|
__publicField$3(this, "resourceId", resourceId);
|
|
26275
26207
|
__publicField$3(this, "blocked", false);
|
|
@@ -26567,7 +26499,7 @@ var __async$5 = (__this, __arguments, generator) => {
|
|
|
26567
26499
|
};
|
|
26568
26500
|
class NgwKit {
|
|
26569
26501
|
constructor(options) {
|
|
26570
|
-
this
|
|
26502
|
+
__publicField$2(this, "options", options);
|
|
26571
26503
|
__publicField$2(this, "url");
|
|
26572
26504
|
__publicField$2(this, "connector");
|
|
26573
26505
|
__publicField$2(this, "webMap");
|
|
@@ -27767,7 +27699,7 @@ var img$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZA
|
|
|
27767
27699
|
|
|
27768
27700
|
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC";
|
|
27769
27701
|
|
|
27770
|
-
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}";
|
|
27702
|
+
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}";
|
|
27771
27703
|
styleInject(css_248z$1);
|
|
27772
27704
|
|
|
27773
27705
|
var css_248z = ".ngw-map-container.leaflet-container{background:#fff}.leaflet-pane .leaflet-popup-pane{z-index:9999999999}";
|