vue-geojson-view-ts 1.3.5 → 1.3.7
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as wo, openBlock as Lo, createElementBlock as bo, normalizeStyle as
|
|
1
|
+
import { defineComponent as wo, openBlock as Lo, createElementBlock as bo, normalizeStyle as Tl, createElementVNode as mt, ref as Cs, onMounted as c_, withDirectives as Sn, vShow as Ss, normalizeClass as mc, vModelText as yc, createTextVNode as u_, toDisplayString as d_, pushScopeId as f_, popScopeId as g_ } from "vue";
|
|
2
2
|
var hi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
3
|
function Xu(r) {
|
|
4
4
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -28,7 +28,7 @@ var Yu = { exports: {} };
|
|
|
28
28
|
function __(r) {
|
|
29
29
|
throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var Pa = { exports: {} };
|
|
32
32
|
const p_ = {}, m_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33
33
|
__proto__: null,
|
|
34
34
|
default: p_
|
|
@@ -532,7 +532,7 @@ function Ku() {
|
|
|
532
532
|
}(Math);
|
|
533
533
|
return e;
|
|
534
534
|
});
|
|
535
|
-
}(
|
|
535
|
+
}(Pa)), Pa.exports;
|
|
536
536
|
}
|
|
537
537
|
(function(r, t) {
|
|
538
538
|
(function(e, i) {
|
|
@@ -607,7 +607,7 @@ function Ku() {
|
|
|
607
607
|
});
|
|
608
608
|
})(Yu);
|
|
609
609
|
var v_ = Yu.exports;
|
|
610
|
-
const
|
|
610
|
+
const Cl = /* @__PURE__ */ Xu(v_);
|
|
611
611
|
var qu = { exports: {} };
|
|
612
612
|
(function(r, t) {
|
|
613
613
|
(function(e, i) {
|
|
@@ -618,13 +618,13 @@ var qu = { exports: {} };
|
|
|
618
618
|
})(qu);
|
|
619
619
|
var x_ = qu.exports;
|
|
620
620
|
const $u = /* @__PURE__ */ Xu(x_), E_ = (r, t) => {
|
|
621
|
-
localStorage.setItem(r,
|
|
621
|
+
localStorage.setItem(r, Cl.stringify($u.parse(t)));
|
|
622
622
|
}, qs = (r) => {
|
|
623
623
|
const t = localStorage.getItem(r);
|
|
624
|
-
return t ?
|
|
624
|
+
return t ? Cl.parse(t).toString($u) : null;
|
|
625
625
|
}, Ju = (r) => {
|
|
626
626
|
const t = localStorage.getItem(r);
|
|
627
|
-
return t ?
|
|
627
|
+
return t ? Cl.parse(t) : null;
|
|
628
628
|
}, $s = (r) => {
|
|
629
629
|
localStorage.removeItem(r);
|
|
630
630
|
};
|
|
@@ -679,7 +679,7 @@ const HL = () => {
|
|
|
679
679
|
const o = JSON.parse(n);
|
|
680
680
|
return [parseFloat(o.lat), parseFloat(o.long), parseFloat(o.z)];
|
|
681
681
|
}
|
|
682
|
-
},
|
|
682
|
+
}, To = "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=";
|
|
683
683
|
var Ps = { exports: {} };
|
|
684
684
|
/* @preserve
|
|
685
685
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
@@ -1652,7 +1652,7 @@ function Qu() {
|
|
|
1652
1652
|
inlineSvg: pn,
|
|
1653
1653
|
mac: qt,
|
|
1654
1654
|
linux: oe
|
|
1655
|
-
}, wh = X.msPointer ? "MSPointerDown" : "pointerdown", Lh = X.msPointer ? "MSPointerMove" : "pointermove", bh = X.msPointer ? "MSPointerUp" : "pointerup", Th = X.msPointer ? "MSPointerCancel" : "pointercancel",
|
|
1655
|
+
}, wh = X.msPointer ? "MSPointerDown" : "pointerdown", Lh = X.msPointer ? "MSPointerMove" : "pointermove", bh = X.msPointer ? "MSPointerUp" : "pointerup", Th = X.msPointer ? "MSPointerCancel" : "pointercancel", ia = {
|
|
1656
1656
|
touchstart: wh,
|
|
1657
1657
|
touchmove: Lh,
|
|
1658
1658
|
touchend: bh,
|
|
@@ -1664,14 +1664,14 @@ function Qu() {
|
|
|
1664
1664
|
touchcancel: ls
|
|
1665
1665
|
}, yn = {}, Sh = !1;
|
|
1666
1666
|
function sg(s, l, u) {
|
|
1667
|
-
return l === "touchstart" && hg(), Ch[l] ? (u = Ch[l].bind(this, u), s.addEventListener(
|
|
1667
|
+
return l === "touchstart" && hg(), Ch[l] ? (u = Ch[l].bind(this, u), s.addEventListener(ia[l], u, !1), u) : (console.warn("wrong event specified:", l), _);
|
|
1668
1668
|
}
|
|
1669
1669
|
function og(s, l, u) {
|
|
1670
|
-
if (!
|
|
1670
|
+
if (!ia[l]) {
|
|
1671
1671
|
console.warn("wrong event specified:", l);
|
|
1672
1672
|
return;
|
|
1673
1673
|
}
|
|
1674
|
-
s.removeEventListener(
|
|
1674
|
+
s.removeEventListener(ia[l], u, !1);
|
|
1675
1675
|
}
|
|
1676
1676
|
function ag(s) {
|
|
1677
1677
|
yn[s.pointerId] = s;
|
|
@@ -1731,7 +1731,7 @@ function Qu() {
|
|
|
1731
1731
|
function gg(s, l) {
|
|
1732
1732
|
s.removeEventListener("dblclick", l.dblclick), s.removeEventListener("click", l.simDblclick);
|
|
1733
1733
|
}
|
|
1734
|
-
var
|
|
1734
|
+
var na = us(
|
|
1735
1735
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
|
1736
1736
|
), hr = us(
|
|
1737
1737
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
@@ -1767,7 +1767,7 @@ function Qu() {
|
|
|
1767
1767
|
var l = s.parentNode;
|
|
1768
1768
|
l && l.firstChild !== s && l.insertBefore(s, l.firstChild);
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function ra(s, l) {
|
|
1771
1771
|
if (s.classList !== void 0)
|
|
1772
1772
|
return s.classList.contains(l);
|
|
1773
1773
|
var u = cs(s);
|
|
@@ -1777,15 +1777,15 @@ function Qu() {
|
|
|
1777
1777
|
if (s.classList !== void 0)
|
|
1778
1778
|
for (var u = y(l), g = 0, p = u.length; g < p; g++)
|
|
1779
1779
|
s.classList.add(u[g]);
|
|
1780
|
-
else if (!
|
|
1780
|
+
else if (!ra(s, l)) {
|
|
1781
1781
|
var x = cs(s);
|
|
1782
|
-
|
|
1782
|
+
sa(s, (x ? x + " " : "") + l);
|
|
1783
1783
|
}
|
|
1784
1784
|
}
|
|
1785
1785
|
function It(s, l) {
|
|
1786
|
-
s.classList !== void 0 ? s.classList.remove(l) :
|
|
1786
|
+
s.classList !== void 0 ? s.classList.remove(l) : sa(s, v((" " + cs(s) + " ").replace(" " + l + " ", " ")));
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function sa(s, l) {
|
|
1789
1789
|
s.className.baseVal === void 0 ? s.className = l : s.className.baseVal = l;
|
|
1790
1790
|
}
|
|
1791
1791
|
function cs(s) {
|
|
@@ -1812,7 +1812,7 @@ function Qu() {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
function Xi(s, l, u) {
|
|
1814
1814
|
var g = l || new B(0, 0);
|
|
1815
|
-
s.style[
|
|
1815
|
+
s.style[na] = (X.ie3d ? "translate(" + g.x + "px," + g.y + "px)" : "translate3d(" + g.x + "px," + g.y + "px,0)") + (u ? " scale(" + u + ")" : "");
|
|
1816
1816
|
}
|
|
1817
1817
|
function Ft(s, l) {
|
|
1818
1818
|
s._leaflet_pos = l, X.any3d ? Xi(s, l) : (s.style.left = l.x + "px", s.style.top = l.y + "px");
|
|
@@ -1820,7 +1820,7 @@ function Qu() {
|
|
|
1820
1820
|
function Vi(s) {
|
|
1821
1821
|
return s._leaflet_pos || new B(0, 0);
|
|
1822
1822
|
}
|
|
1823
|
-
var ur, dr,
|
|
1823
|
+
var ur, dr, oa;
|
|
1824
1824
|
if ("onselectstart" in document)
|
|
1825
1825
|
ur = function() {
|
|
1826
1826
|
rt(window, "selectstart", Yt);
|
|
@@ -1834,26 +1834,26 @@ function Qu() {
|
|
|
1834
1834
|
ur = function() {
|
|
1835
1835
|
if (fr) {
|
|
1836
1836
|
var s = document.documentElement.style;
|
|
1837
|
-
|
|
1837
|
+
oa = s[fr], s[fr] = "none";
|
|
1838
1838
|
}
|
|
1839
1839
|
}, dr = function() {
|
|
1840
|
-
fr && (document.documentElement.style[fr] =
|
|
1840
|
+
fr && (document.documentElement.style[fr] = oa, oa = void 0);
|
|
1841
1841
|
};
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function aa() {
|
|
1844
1844
|
rt(window, "dragstart", Yt);
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function la() {
|
|
1847
1847
|
Ct(window, "dragstart", Yt);
|
|
1848
1848
|
}
|
|
1849
|
-
var ds,
|
|
1850
|
-
function
|
|
1849
|
+
var ds, ha;
|
|
1850
|
+
function ca(s) {
|
|
1851
1851
|
for (; s.tabIndex === -1; )
|
|
1852
1852
|
s = s.parentNode;
|
|
1853
|
-
s.style && (fs(), ds = s,
|
|
1853
|
+
s.style && (fs(), ds = s, ha = s.style.outlineStyle, s.style.outlineStyle = "none", rt(window, "keydown", fs));
|
|
1854
1854
|
}
|
|
1855
1855
|
function fs() {
|
|
1856
|
-
ds && (ds.style.outlineStyle =
|
|
1856
|
+
ds && (ds.style.outlineStyle = ha, ds = void 0, ha = void 0, Ct(window, "keydown", fs));
|
|
1857
1857
|
}
|
|
1858
1858
|
function Mh(s) {
|
|
1859
1859
|
do
|
|
@@ -1861,7 +1861,7 @@ function Qu() {
|
|
|
1861
1861
|
while ((!s.offsetWidth || !s.offsetHeight) && s !== document.body);
|
|
1862
1862
|
return s;
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function ua(s) {
|
|
1865
1865
|
var l = s.getBoundingClientRect();
|
|
1866
1866
|
return {
|
|
1867
1867
|
x: l.width / s.offsetWidth || 1,
|
|
@@ -1871,7 +1871,7 @@ function Qu() {
|
|
|
1871
1871
|
}
|
|
1872
1872
|
var pg = {
|
|
1873
1873
|
__proto__: null,
|
|
1874
|
-
TRANSFORM:
|
|
1874
|
+
TRANSFORM: na,
|
|
1875
1875
|
TRANSITION: hr,
|
|
1876
1876
|
TRANSITION_END: kh,
|
|
1877
1877
|
get: Rh,
|
|
@@ -1881,10 +1881,10 @@ function Qu() {
|
|
|
1881
1881
|
empty: hs,
|
|
1882
1882
|
toFront: vn,
|
|
1883
1883
|
toBack: xn,
|
|
1884
|
-
hasClass:
|
|
1884
|
+
hasClass: ra,
|
|
1885
1885
|
addClass: ot,
|
|
1886
1886
|
removeClass: It,
|
|
1887
|
-
setClass:
|
|
1887
|
+
setClass: sa,
|
|
1888
1888
|
getClass: cs,
|
|
1889
1889
|
setOpacity: ve,
|
|
1890
1890
|
testProp: us,
|
|
@@ -1897,21 +1897,21 @@ function Qu() {
|
|
|
1897
1897
|
get enableTextSelection() {
|
|
1898
1898
|
return dr;
|
|
1899
1899
|
},
|
|
1900
|
-
disableImageDrag:
|
|
1901
|
-
enableImageDrag:
|
|
1902
|
-
preventOutline:
|
|
1900
|
+
disableImageDrag: aa,
|
|
1901
|
+
enableImageDrag: la,
|
|
1902
|
+
preventOutline: ca,
|
|
1903
1903
|
restoreOutline: fs,
|
|
1904
1904
|
getSizedParentNode: Mh,
|
|
1905
|
-
getScale:
|
|
1905
|
+
getScale: ua
|
|
1906
1906
|
};
|
|
1907
1907
|
function rt(s, l, u, g) {
|
|
1908
1908
|
if (l && typeof l == "object")
|
|
1909
1909
|
for (var p in l)
|
|
1910
|
-
|
|
1910
|
+
fa(s, p, l[p], u);
|
|
1911
1911
|
else {
|
|
1912
1912
|
l = y(l);
|
|
1913
1913
|
for (var x = 0, C = l.length; x < C; x++)
|
|
1914
|
-
|
|
1914
|
+
fa(s, l[x], u, g);
|
|
1915
1915
|
}
|
|
1916
1916
|
return this;
|
|
1917
1917
|
}
|
|
@@ -1921,50 +1921,50 @@ function Qu() {
|
|
|
1921
1921
|
Ih(s), delete s[ze];
|
|
1922
1922
|
else if (l && typeof l == "object")
|
|
1923
1923
|
for (var p in l)
|
|
1924
|
-
|
|
1924
|
+
ga(s, p, l[p], u);
|
|
1925
1925
|
else if (l = y(l), arguments.length === 2)
|
|
1926
1926
|
Ih(s, function(k) {
|
|
1927
1927
|
return P(l, k) !== -1;
|
|
1928
1928
|
});
|
|
1929
1929
|
else
|
|
1930
1930
|
for (var x = 0, C = l.length; x < C; x++)
|
|
1931
|
-
|
|
1931
|
+
ga(s, l[x], u, g);
|
|
1932
1932
|
return this;
|
|
1933
1933
|
}
|
|
1934
1934
|
function Ih(s, l) {
|
|
1935
1935
|
for (var u in s[ze]) {
|
|
1936
1936
|
var g = u.split(/\d/)[0];
|
|
1937
|
-
(!l || l(g)) &&
|
|
1937
|
+
(!l || l(g)) && ga(s, g, null, null, u);
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
|
-
var
|
|
1940
|
+
var da = {
|
|
1941
1941
|
mouseenter: "mouseover",
|
|
1942
1942
|
mouseleave: "mouseout",
|
|
1943
1943
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
1944
1944
|
};
|
|
1945
|
-
function
|
|
1945
|
+
function fa(s, l, u, g) {
|
|
1946
1946
|
var p = l + c(u) + (g ? "_" + c(g) : "");
|
|
1947
1947
|
if (s[ze] && s[ze][p])
|
|
1948
1948
|
return this;
|
|
1949
1949
|
var x = function(k) {
|
|
1950
1950
|
return u.call(g || s, k || window.event);
|
|
1951
1951
|
}, C = x;
|
|
1952
|
-
!X.touchNative && X.pointer && l.indexOf("touch") === 0 ? x = sg(s, l, x) : X.touch && l === "dblclick" ? x = fg(s, x) : "addEventListener" in s ? l === "touchstart" || l === "touchmove" || l === "wheel" || l === "mousewheel" ? s.addEventListener(
|
|
1953
|
-
k = k || window.event,
|
|
1954
|
-
}, s.addEventListener(
|
|
1952
|
+
!X.touchNative && X.pointer && l.indexOf("touch") === 0 ? x = sg(s, l, x) : X.touch && l === "dblclick" ? x = fg(s, x) : "addEventListener" in s ? l === "touchstart" || l === "touchmove" || l === "wheel" || l === "mousewheel" ? s.addEventListener(da[l] || l, x, X.passiveEvents ? { passive: !1 } : !1) : l === "mouseenter" || l === "mouseleave" ? (x = function(k) {
|
|
1953
|
+
k = k || window.event, pa(s, k) && C(k);
|
|
1954
|
+
}, s.addEventListener(da[l], x, !1)) : s.addEventListener(l, C, !1) : s.attachEvent("on" + l, x), s[ze] = s[ze] || {}, s[ze][p] = x;
|
|
1955
1955
|
}
|
|
1956
|
-
function
|
|
1956
|
+
function ga(s, l, u, g, p) {
|
|
1957
1957
|
p = p || l + c(u) + (g ? "_" + c(g) : "");
|
|
1958
1958
|
var x = s[ze] && s[ze][p];
|
|
1959
1959
|
if (!x)
|
|
1960
1960
|
return this;
|
|
1961
|
-
!X.touchNative && X.pointer && l.indexOf("touch") === 0 ? og(s, l, x) : X.touch && l === "dblclick" ? gg(s, x) : "removeEventListener" in s ? s.removeEventListener(
|
|
1961
|
+
!X.touchNative && X.pointer && l.indexOf("touch") === 0 ? og(s, l, x) : X.touch && l === "dblclick" ? gg(s, x) : "removeEventListener" in s ? s.removeEventListener(da[l] || l, x, !1) : s.detachEvent("on" + l, x), s[ze][p] = null;
|
|
1962
1962
|
}
|
|
1963
1963
|
function Yi(s) {
|
|
1964
1964
|
return s.stopPropagation ? s.stopPropagation() : s.originalEvent ? s.originalEvent._stopped = !0 : s.cancelBubble = !0, this;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1967
|
-
return
|
|
1966
|
+
function _a(s) {
|
|
1967
|
+
return fa(s, "wheel", Yi), this;
|
|
1968
1968
|
}
|
|
1969
1969
|
function gr(s) {
|
|
1970
1970
|
return rt(s, "mousedown touchstart dblclick contextmenu", Yi), s._leaflet_disable_click = !0, this;
|
|
@@ -1985,7 +1985,7 @@ function Qu() {
|
|
|
1985
1985
|
function Dh(s, l) {
|
|
1986
1986
|
if (!l)
|
|
1987
1987
|
return new B(s.clientX, s.clientY);
|
|
1988
|
-
var u =
|
|
1988
|
+
var u = ua(l), g = u.boundingClientRect;
|
|
1989
1989
|
return new B(
|
|
1990
1990
|
// offset.left/top values are in page scale (like clientX/Y),
|
|
1991
1991
|
// whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).
|
|
@@ -2021,7 +2021,7 @@ function Qu() {
|
|
|
2021
2021
|
)
|
|
2022
2022
|
);
|
|
2023
2023
|
}
|
|
2024
|
-
function
|
|
2024
|
+
function pa(s, l) {
|
|
2025
2025
|
var u = l.relatedTarget;
|
|
2026
2026
|
if (!u)
|
|
2027
2027
|
return !0;
|
|
@@ -2038,14 +2038,14 @@ function Qu() {
|
|
|
2038
2038
|
on: rt,
|
|
2039
2039
|
off: Ct,
|
|
2040
2040
|
stopPropagation: Yi,
|
|
2041
|
-
disableScrollPropagation:
|
|
2041
|
+
disableScrollPropagation: _a,
|
|
2042
2042
|
disableClickPropagation: gr,
|
|
2043
2043
|
preventDefault: Yt,
|
|
2044
2044
|
stop: Ki,
|
|
2045
2045
|
getPropagationPath: Ah,
|
|
2046
2046
|
getMousePosition: Dh,
|
|
2047
2047
|
getWheelDelta: Oh,
|
|
2048
|
-
isExternalTarget:
|
|
2048
|
+
isExternalTarget: pa,
|
|
2049
2049
|
addListener: rt,
|
|
2050
2050
|
removeListener: Ct
|
|
2051
2051
|
}, Fh = U.extend({
|
|
@@ -2260,7 +2260,7 @@ function Qu() {
|
|
|
2260
2260
|
s = it(s), l = l === void 0 ? C : l;
|
|
2261
2261
|
var k = Math.max(x.x, x.y), R = k * this.getZoomScale(C, l), O = p.distanceTo(g) || 1, Z = 1.42, Q = Z * Z;
|
|
2262
2262
|
function ct(zt) {
|
|
2263
|
-
var Ts = zt ? -1 : 1, o_ = zt ? R : k, a_ = R * R - k * k + Ts * Q * Q * O * O, l_ = 2 * o_ * Q * O,
|
|
2263
|
+
var Ts = zt ? -1 : 1, o_ = zt ? R : k, a_ = R * R - k * k + Ts * Q * Q * O * O, l_ = 2 * o_ * Q * O, Sa = a_ / l_, pc = Math.sqrt(Sa * Sa + 1) - Sa, h_ = pc < 1e-9 ? -18 : Math.log(pc);
|
|
2264
2264
|
return h_;
|
|
2265
2265
|
}
|
|
2266
2266
|
function ne(zt) {
|
|
@@ -2747,7 +2747,7 @@ function Qu() {
|
|
|
2747
2747
|
C = !0;
|
|
2748
2748
|
break;
|
|
2749
2749
|
}
|
|
2750
|
-
if (g && g.listens(l, !0) && (p && !
|
|
2750
|
+
if (g && g.listens(l, !0) && (p && !pa(x, s) || (u.push(g), p)) || x === this._container)
|
|
2751
2751
|
break;
|
|
2752
2752
|
x = x.parentNode;
|
|
2753
2753
|
}
|
|
@@ -2764,7 +2764,7 @@ function Qu() {
|
|
|
2764
2764
|
var l = s.target || s.srcElement;
|
|
2765
2765
|
if (!(!this._loaded || l._leaflet_disable_events || s.type === "click" && this._isClickDisabled(l))) {
|
|
2766
2766
|
var u = s.type;
|
|
2767
|
-
u === "mousedown" &&
|
|
2767
|
+
u === "mousedown" && ca(l), this._fireDOMEvent(s, u);
|
|
2768
2768
|
}
|
|
2769
2769
|
},
|
|
2770
2770
|
_mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
|
|
@@ -2887,7 +2887,7 @@ function Qu() {
|
|
|
2887
2887
|
_createAnimProxy: function() {
|
|
2888
2888
|
var s = this._proxy = pt("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2889
2889
|
this._panes.mapPane.appendChild(s), this.on("zoomanim", function(l) {
|
|
2890
|
-
var u =
|
|
2890
|
+
var u = na, g = this._proxy.style[u];
|
|
2891
2891
|
Xi(this._proxy, this.project(l.center, l.zoom), this.getZoomScale(l.zoom, 1)), g === this._proxy.style[u] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2892
2892
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2893
2893
|
},
|
|
@@ -3083,7 +3083,7 @@ function Qu() {
|
|
|
3083
3083
|
},
|
|
3084
3084
|
_initLayout: function() {
|
|
3085
3085
|
var s = "leaflet-control-layers", l = this._container = pt("div", s), u = this.options.collapsed;
|
|
3086
|
-
l.setAttribute("aria-haspopup", !0), gr(l),
|
|
3086
|
+
l.setAttribute("aria-haspopup", !0), gr(l), _a(l);
|
|
3087
3087
|
var g = this._section = pt("section", s + "-list");
|
|
3088
3088
|
u && (this._map.on("click", this.collapse, this), rt(l, {
|
|
3089
3089
|
mouseenter: this._expandSafely,
|
|
@@ -3173,7 +3173,7 @@ function Qu() {
|
|
|
3173
3173
|
}
|
|
3174
3174
|
}), xg = function(s, l, u) {
|
|
3175
3175
|
return new zh(s, l, u);
|
|
3176
|
-
},
|
|
3176
|
+
}, ma = Se.extend({
|
|
3177
3177
|
// @section
|
|
3178
3178
|
// @aka Control.Zoom options
|
|
3179
3179
|
options: {
|
|
@@ -3234,10 +3234,10 @@ function Qu() {
|
|
|
3234
3234
|
ft.mergeOptions({
|
|
3235
3235
|
zoomControl: !0
|
|
3236
3236
|
}), ft.addInitHook(function() {
|
|
3237
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
3237
|
+
this.options.zoomControl && (this.zoomControl = new ma(), this.addControl(this.zoomControl));
|
|
3238
3238
|
});
|
|
3239
3239
|
var Eg = function(s) {
|
|
3240
|
-
return new
|
|
3240
|
+
return new ma(s);
|
|
3241
3241
|
}, Nh = Se.extend({
|
|
3242
3242
|
// @section
|
|
3243
3243
|
// @aka Control.Scale options
|
|
@@ -3292,7 +3292,7 @@ function Qu() {
|
|
|
3292
3292
|
}
|
|
3293
3293
|
}), wg = function(s) {
|
|
3294
3294
|
return new Nh(s);
|
|
3295
|
-
}, Lg = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',
|
|
3295
|
+
}, Lg = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', ya = Se.extend({
|
|
3296
3296
|
// @section
|
|
3297
3297
|
// @aka Control.Attribution options
|
|
3298
3298
|
options: {
|
|
@@ -3346,12 +3346,12 @@ function Qu() {
|
|
|
3346
3346
|
ft.mergeOptions({
|
|
3347
3347
|
attributionControl: !0
|
|
3348
3348
|
}), ft.addInitHook(function() {
|
|
3349
|
-
this.options.attributionControl && new
|
|
3349
|
+
this.options.attributionControl && new ya().addTo(this);
|
|
3350
3350
|
});
|
|
3351
3351
|
var bg = function(s) {
|
|
3352
|
-
return new
|
|
3352
|
+
return new ya(s);
|
|
3353
3353
|
};
|
|
3354
|
-
Se.Layers = zh, Se.Zoom =
|
|
3354
|
+
Se.Layers = zh, Se.Zoom = ma, Se.Scale = Nh, Se.Attribution = ya, _r.layers = xg, _r.zoom = Eg, _r.scale = wg, _r.attribution = bg;
|
|
3355
3355
|
var Ne = Et.extend({
|
|
3356
3356
|
initialize: function(s) {
|
|
3357
3357
|
this._map = s;
|
|
@@ -3406,15 +3406,15 @@ function Qu() {
|
|
|
3406
3406
|
this._enabled && (Si._dragging === this && this.finishDrag(!0), Ct(this._dragStartTarget, Bh, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
3407
3407
|
},
|
|
3408
3408
|
_onDown: function(s) {
|
|
3409
|
-
if (this._enabled && (this._moved = !1, !
|
|
3409
|
+
if (this._enabled && (this._moved = !1, !ra(this._element, "leaflet-zoom-anim"))) {
|
|
3410
3410
|
if (s.touches && s.touches.length !== 1) {
|
|
3411
3411
|
Si._dragging === this && this.finishDrag();
|
|
3412
3412
|
return;
|
|
3413
3413
|
}
|
|
3414
|
-
if (!(Si._dragging || s.shiftKey || s.which !== 1 && s.button !== 1 && !s.touches) && (Si._dragging = this, this._preventOutline &&
|
|
3414
|
+
if (!(Si._dragging || s.shiftKey || s.which !== 1 && s.button !== 1 && !s.touches) && (Si._dragging = this, this._preventOutline && ca(this._element), aa(), ur(), !this._moving)) {
|
|
3415
3415
|
this.fire("down");
|
|
3416
3416
|
var l = s.touches ? s.touches[0] : s, u = Mh(this._element);
|
|
3417
|
-
this._startPoint = new B(l.clientX, l.clientY), this._startPos = Vi(this._element), this._parentScale =
|
|
3417
|
+
this._startPoint = new B(l.clientX, l.clientY), this._startPos = Vi(this._element), this._parentScale = ua(u);
|
|
3418
3418
|
var g = s.type === "mousedown";
|
|
3419
3419
|
rt(document, g ? "mousemove" : "touchmove", this._onMove, this), rt(document, g ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
3420
3420
|
}
|
|
@@ -3438,7 +3438,7 @@ function Qu() {
|
|
|
3438
3438
|
this._enabled && this.finishDrag();
|
|
3439
3439
|
},
|
|
3440
3440
|
finishDrag: function(s) {
|
|
3441
|
-
It(document.body, "leaflet-dragging"), this._lastTarget && (It(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), Ct(document, "mousemove touchmove", this._onMove, this), Ct(document, "mouseup touchend touchcancel", this._onUp, this),
|
|
3441
|
+
It(document.body, "leaflet-dragging"), this._lastTarget && (It(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), Ct(document, "mousemove touchmove", this._onMove, this), Ct(document, "mouseup touchend touchcancel", this._onUp, this), la(), dr();
|
|
3442
3442
|
var l = this._moved && this._moving;
|
|
3443
3443
|
this._moving = !1, Si._dragging = !1, l && this.fire("dragend", {
|
|
3444
3444
|
noInertia: s,
|
|
@@ -3463,7 +3463,7 @@ function Qu() {
|
|
|
3463
3463
|
throw new Error("latlngs not passed");
|
|
3464
3464
|
xe(s) || (console.warn("latlngs are not flat! Only the first ring will be used"), s = s[0]);
|
|
3465
3465
|
var Q = it([0, 0]), ct = $(s), ne = ct.getNorthWest().distanceTo(ct.getSouthWest()) * ct.getNorthEast().distanceTo(ct.getNorthWest());
|
|
3466
|
-
ne < 1700 && (Q =
|
|
3466
|
+
ne < 1700 && (Q = va(s));
|
|
3467
3467
|
var Zt = s.length, Ee = [];
|
|
3468
3468
|
for (u = 0; u < Zt; u++) {
|
|
3469
3469
|
var ae = it(s[u]);
|
|
@@ -3475,7 +3475,7 @@ function Qu() {
|
|
|
3475
3475
|
var Cn = l.unproject(G(Z));
|
|
3476
3476
|
return it([Cn.lat + Q.lat, Cn.lng + Q.lng]);
|
|
3477
3477
|
}
|
|
3478
|
-
function
|
|
3478
|
+
function va(s) {
|
|
3479
3479
|
for (var l = 0, u = 0, g = 0, p = 0; p < s.length; p++) {
|
|
3480
3480
|
var x = it(s[p]);
|
|
3481
3481
|
l += x.lat, u += x.lng, g++;
|
|
@@ -3486,7 +3486,7 @@ function Qu() {
|
|
|
3486
3486
|
__proto__: null,
|
|
3487
3487
|
clipPolygon: Gh,
|
|
3488
3488
|
polygonCenter: Uh,
|
|
3489
|
-
centroid:
|
|
3489
|
+
centroid: va
|
|
3490
3490
|
};
|
|
3491
3491
|
function Zh(s, l) {
|
|
3492
3492
|
if (!l || !s.length)
|
|
@@ -3502,17 +3502,17 @@ function Qu() {
|
|
|
3502
3502
|
}
|
|
3503
3503
|
function Pg(s, l) {
|
|
3504
3504
|
var u = s.length, g = typeof Uint8Array != void 0 + "" ? Uint8Array : Array, p = new g(u);
|
|
3505
|
-
p[0] = p[u - 1] = 1,
|
|
3505
|
+
p[0] = p[u - 1] = 1, xa(s, p, l, 0, u - 1);
|
|
3506
3506
|
var x, C = [];
|
|
3507
3507
|
for (x = 0; x < u; x++)
|
|
3508
3508
|
p[x] && C.push(s[x]);
|
|
3509
3509
|
return C;
|
|
3510
3510
|
}
|
|
3511
|
-
function
|
|
3511
|
+
function xa(s, l, u, g, p) {
|
|
3512
3512
|
var x = 0, C, k, R;
|
|
3513
3513
|
for (k = g + 1; k <= p - 1; k++)
|
|
3514
3514
|
R = pr(s[k], s[g], s[p], !0), R > x && (C = k, x = R);
|
|
3515
|
-
x > u && (l[C] = 1,
|
|
3515
|
+
x > u && (l[C] = 1, xa(s, l, u, g, C), xa(s, l, u, C, p));
|
|
3516
3516
|
}
|
|
3517
3517
|
function kg(s, l) {
|
|
3518
3518
|
for (var u = [s[0]], g = 1, p = 0, x = s.length; g < x; g++)
|
|
@@ -3558,7 +3558,7 @@ function Qu() {
|
|
|
3558
3558
|
throw new Error("latlngs not passed");
|
|
3559
3559
|
xe(s) || (console.warn("latlngs are not flat! Only the first ring will be used"), s = s[0]);
|
|
3560
3560
|
var Z = it([0, 0]), Q = $(s), ct = Q.getNorthWest().distanceTo(Q.getSouthWest()) * Q.getNorthEast().distanceTo(Q.getNorthWest());
|
|
3561
|
-
ct < 1700 && (Z =
|
|
3561
|
+
ct < 1700 && (Z = va(s));
|
|
3562
3562
|
var ne = s.length, Zt = [];
|
|
3563
3563
|
for (u = 0; u < ne; u++) {
|
|
3564
3564
|
var Ee = it(s[u]);
|
|
@@ -3592,7 +3592,7 @@ function Qu() {
|
|
|
3592
3592
|
isFlat: xe,
|
|
3593
3593
|
_flat: Xh,
|
|
3594
3594
|
polylineCenter: Vh
|
|
3595
|
-
},
|
|
3595
|
+
}, Ea = {
|
|
3596
3596
|
project: function(s) {
|
|
3597
3597
|
return new B(s.lng, s.lat);
|
|
3598
3598
|
},
|
|
@@ -3600,7 +3600,7 @@ function Qu() {
|
|
|
3600
3600
|
return new V(s.y, s.x);
|
|
3601
3601
|
},
|
|
3602
3602
|
bounds: new nt([-180, -90], [180, 90])
|
|
3603
|
-
},
|
|
3603
|
+
}, wa = {
|
|
3604
3604
|
R: 6378137,
|
|
3605
3605
|
R_MINOR: 6356752314245179e-9,
|
|
3606
3606
|
bounds: new nt([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
|
@@ -3615,22 +3615,22 @@ function Qu() {
|
|
|
3615
3615
|
}
|
|
3616
3616
|
}, Ig = {
|
|
3617
3617
|
__proto__: null,
|
|
3618
|
-
LonLat:
|
|
3619
|
-
Mercator:
|
|
3618
|
+
LonLat: Ea,
|
|
3619
|
+
Mercator: wa,
|
|
3620
3620
|
SphericalMercator: Ae
|
|
3621
3621
|
}, Ag = n({}, Tt, {
|
|
3622
3622
|
code: "EPSG:3395",
|
|
3623
|
-
projection:
|
|
3623
|
+
projection: wa,
|
|
3624
3624
|
transformation: function() {
|
|
3625
|
-
var s = 0.5 / (Math.PI *
|
|
3625
|
+
var s = 0.5 / (Math.PI * wa.R);
|
|
3626
3626
|
return ye(s, 0.5, -s, 0.5);
|
|
3627
3627
|
}()
|
|
3628
3628
|
}), Yh = n({}, Tt, {
|
|
3629
3629
|
code: "EPSG:4326",
|
|
3630
|
-
projection:
|
|
3630
|
+
projection: Ea,
|
|
3631
3631
|
transformation: ye(1 / 180, 1, -1 / 180, 0.5)
|
|
3632
3632
|
}), Dg = n({}, Dt, {
|
|
3633
|
-
projection:
|
|
3633
|
+
projection: Ea,
|
|
3634
3634
|
transformation: ye(1, 0, -1, 0),
|
|
3635
3635
|
scale: function(s) {
|
|
3636
3636
|
return Math.pow(2, s);
|
|
@@ -4386,7 +4386,7 @@ function Qu() {
|
|
|
4386
4386
|
function Bg(s, l) {
|
|
4387
4387
|
return new ps(s, l);
|
|
4388
4388
|
}
|
|
4389
|
-
var
|
|
4389
|
+
var La = ps.extend({
|
|
4390
4390
|
initialize: function(s, l, u) {
|
|
4391
4391
|
if (typeof l == "number" && (l = n({}, u, { radius: l })), E(this, l), this._latlng = it(s), isNaN(this.options.radius))
|
|
4392
4392
|
throw new Error("Circle radius cannot be NaN");
|
|
@@ -4425,7 +4425,7 @@ function Qu() {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
});
|
|
4427
4427
|
function Gg(s, l, u) {
|
|
4428
|
-
return new
|
|
4428
|
+
return new La(s, l, u);
|
|
4429
4429
|
}
|
|
4430
4430
|
var Qe = Pi.extend({
|
|
4431
4431
|
// @section
|
|
@@ -4700,7 +4700,7 @@ function Qu() {
|
|
|
4700
4700
|
}
|
|
4701
4701
|
});
|
|
4702
4702
|
function ms(s, l) {
|
|
4703
|
-
var u = s.type === "Feature" ? s.geometry : s, g = u ? u.coordinates : null, p = [], x = l && l.pointToLayer, C = l && l.coordsToLatLng ||
|
|
4703
|
+
var u = s.type === "Feature" ? s.geometry : s, g = u ? u.coordinates : null, p = [], x = l && l.pointToLayer, C = l && l.coordsToLatLng || ba, k, R, O, Z;
|
|
4704
4704
|
if (!g && !u)
|
|
4705
4705
|
return null;
|
|
4706
4706
|
switch (u.type) {
|
|
@@ -4739,20 +4739,20 @@ function Qu() {
|
|
|
4739
4739
|
function qh(s, l, u, g) {
|
|
4740
4740
|
return s ? s(l, u) : new _s(u, g && g.markersInheritOptions && g);
|
|
4741
4741
|
}
|
|
4742
|
-
function
|
|
4742
|
+
function ba(s) {
|
|
4743
4743
|
return new V(s[1], s[0], s[2]);
|
|
4744
4744
|
}
|
|
4745
4745
|
function ys(s, l, u) {
|
|
4746
4746
|
for (var g = [], p = 0, x = s.length, C; p < x; p++)
|
|
4747
|
-
C = l ? ys(s[p], l - 1, u) : (u ||
|
|
4747
|
+
C = l ? ys(s[p], l - 1, u) : (u || ba)(s[p]), g.push(C);
|
|
4748
4748
|
return g;
|
|
4749
4749
|
}
|
|
4750
|
-
function
|
|
4750
|
+
function Ta(s, l) {
|
|
4751
4751
|
return s = it(s), s.alt !== void 0 ? [m(s.lng, l), m(s.lat, l), m(s.alt, l)] : [m(s.lng, l), m(s.lat, l)];
|
|
4752
4752
|
}
|
|
4753
4753
|
function vs(s, l, u, g) {
|
|
4754
4754
|
for (var p = [], x = 0, C = s.length; x < C; x++)
|
|
4755
|
-
p.push(l ? vs(s[x], xe(s[x]) ? 0 : l - 1, u, g) :
|
|
4755
|
+
p.push(l ? vs(s[x], xe(s[x]) ? 0 : l - 1, u, g) : Ta(s[x], g));
|
|
4756
4756
|
return !l && u && p.length > 0 && p.push(p[0].slice()), p;
|
|
4757
4757
|
}
|
|
4758
4758
|
function bn(s, l) {
|
|
@@ -4765,15 +4765,15 @@ function Qu() {
|
|
|
4765
4765
|
geometry: s
|
|
4766
4766
|
};
|
|
4767
4767
|
}
|
|
4768
|
-
var
|
|
4768
|
+
var Ca = {
|
|
4769
4769
|
toGeoJSON: function(s) {
|
|
4770
4770
|
return bn(this, {
|
|
4771
4771
|
type: "Point",
|
|
4772
|
-
coordinates:
|
|
4772
|
+
coordinates: Ta(this.getLatLng(), s)
|
|
4773
4773
|
});
|
|
4774
4774
|
}
|
|
4775
4775
|
};
|
|
4776
|
-
_s.include(
|
|
4776
|
+
_s.include(Ca), La.include(Ca), ps.include(Ca), Qe.include({
|
|
4777
4777
|
toGeoJSON: function(s) {
|
|
4778
4778
|
var l = !xe(this._latlngs), u = vs(this._latlngs, l ? 1 : 0, !1, s);
|
|
4779
4779
|
return bn(this, {
|
|
@@ -5258,7 +5258,7 @@ function Qu() {
|
|
|
5258
5258
|
"div",
|
|
5259
5259
|
s + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
|
5260
5260
|
), u = this._wrapper = pt("div", s + "-content-wrapper", l);
|
|
5261
|
-
if (this._contentNode = pt("div", s + "-content", u), gr(l),
|
|
5261
|
+
if (this._contentNode = pt("div", s + "-content", u), gr(l), _a(this._contentNode), rt(l, "contextmenu", Yi), this._tipContainer = pt("div", s + "-tip-container", l), this._tip = pt("div", s + "-tip", this._tipContainer), this.options.closeButton) {
|
|
5262
5262
|
var g = this._closeButton = pt("a", s + "-close-button", l);
|
|
5263
5263
|
g.setAttribute("role", "button"), g.setAttribute("aria-label", "Close popup"), g.href = "#close", g.innerHTML = '<span aria-hidden="true">×</span>', rt(g, "click", function(p) {
|
|
5264
5264
|
Yt(p), this.close();
|
|
@@ -6548,7 +6548,7 @@ function Qu() {
|
|
|
6548
6548
|
function Qg(s, l) {
|
|
6549
6549
|
return new oc(s, l);
|
|
6550
6550
|
}
|
|
6551
|
-
xr.create = bs, xr.pointsToPath = Le, ti.geometryToLayer = ms, ti.coordsToLatLng =
|
|
6551
|
+
xr.create = bs, xr.pointsToPath = Le, ti.geometryToLayer = ms, ti.coordsToLatLng = ba, ti.coordsToLatLngs = ys, ti.latLngToCoords = Ta, ti.latLngsToCoords = vs, ti.getFeature = bn, ti.asFeature = xs, ft.mergeOptions({
|
|
6552
6552
|
// @option boxZoom: Boolean = true
|
|
6553
6553
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
6554
6554
|
// dragging the mouse while pressing the shift key.
|
|
@@ -6579,7 +6579,7 @@ function Qu() {
|
|
|
6579
6579
|
_onMouseDown: function(s) {
|
|
6580
6580
|
if (!s.shiftKey || s.which !== 1 && s.button !== 1)
|
|
6581
6581
|
return !1;
|
|
6582
|
-
this._clearDeferredResetState(), this._resetState(), ur(),
|
|
6582
|
+
this._clearDeferredResetState(), this._resetState(), ur(), aa(), this._startPoint = this._map.mouseEventToContainerPoint(s), rt(document, {
|
|
6583
6583
|
contextmenu: Ki,
|
|
6584
6584
|
mousemove: this._onMouseMove,
|
|
6585
6585
|
mouseup: this._onMouseUp,
|
|
@@ -6592,7 +6592,7 @@ function Qu() {
|
|
|
6592
6592
|
Ft(this._box, l.min), this._box.style.width = u.x + "px", this._box.style.height = u.y + "px";
|
|
6593
6593
|
},
|
|
6594
6594
|
_finish: function() {
|
|
6595
|
-
this._moved && (kt(this._box), It(this._container, "leaflet-crosshair")), dr(),
|
|
6595
|
+
this._moved && (kt(this._box), It(this._container, "leaflet-crosshair")), dr(), la(), Ct(document, {
|
|
6596
6596
|
contextmenu: Ki,
|
|
6597
6597
|
mousemove: this._onMouseMove,
|
|
6598
6598
|
mouseup: this._onMouseUp,
|
|
@@ -6989,7 +6989,7 @@ function Qu() {
|
|
|
6989
6989
|
this._zooming = !1, K(this._animRequest), Ct(document, "touchmove", this._onTouchMove, this), Ct(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
6990
6990
|
}
|
|
6991
6991
|
});
|
|
6992
|
-
ft.addInitHook("addHandler", "touchZoom", fc), ft.BoxZoom = ac, ft.DoubleClickZoom = lc, ft.Drag = hc, ft.Keyboard = cc, ft.ScrollWheelZoom = uc, ft.TapHold = dc, ft.TouchZoom = fc, e.Bounds = nt, e.Browser = X, e.CRS = Dt, e.Canvas = nc, e.Circle =
|
|
6992
|
+
ft.addInitHook("addHandler", "touchZoom", fc), ft.BoxZoom = ac, ft.DoubleClickZoom = lc, ft.Drag = hc, ft.Keyboard = cc, ft.ScrollWheelZoom = uc, ft.TapHold = dc, ft.TouchZoom = fc, e.Bounds = nt, e.Browser = X, e.CRS = Dt, e.Canvas = nc, e.Circle = La, e.CircleMarker = ps, e.Class = Et, e.Control = Se, e.DivIcon = tc, e.DivOverlay = Be, e.DomEvent = yg, e.DomUtil = pg, e.Draggable = Si, e.Evented = U, e.FeatureGroup = Je, e.GeoJSON = ti, e.GridLayer = yr, e.Handler = Ne, e.Icon = wn, e.ImageOverlay = Es, e.LatLng = V, e.LatLngBounds = wt, e.Layer = Pe, e.LayerGroup = En, e.LineUtil = Mg, e.Map = ft, e.Marker = _s, e.Mixin = Tg, e.Path = Pi, e.Point = B, e.PolyUtil = Cg, e.Polygon = Ln, e.Polyline = Qe, e.Popup = ws, e.PosAnimation = Fh, e.Projection = Ig, e.Rectangle = oc, e.Renderer = ei, e.SVG = xr, e.SVGOverlay = Qh, e.TileLayer = Tn, e.Tooltip = Ls, e.Transformation = yi, e.Util = lt, e.VideoOverlay = Jh, e.bind = a, e.bounds = F, e.canvas = rc, e.circle = Gg, e.circleMarker = Bg, e.control = _r, e.divIcon = Kg, e.extend = n, e.featureGroup = Fg, e.geoJSON = $h, e.geoJson = jg, e.gridLayer = qg, e.icon = zg, e.imageOverlay = Wg, e.latLng = it, e.latLngBounds = $, e.layerGroup = Og, e.map = vg, e.marker = Ng, e.point = G, e.polygon = Zg, e.polyline = Ug, e.popup = Vg, e.rectangle = Qg, e.setOptions = E, e.stamp = c, e.svg = sc, e.svgOverlay = Xg, e.tileLayer = ec, e.tooltip = Yg, e.transformation = ye, e.version = i, e.videoOverlay = Hg;
|
|
6993
6993
|
var e_ = window.L;
|
|
6994
6994
|
e.noConflict = function() {
|
|
6995
6995
|
return window.L = e_, this;
|
|
@@ -7095,7 +7095,7 @@ let id = class {
|
|
|
7095
7095
|
for (; e; ) {
|
|
7096
7096
|
for (let a = 0; a < e.children.length; a++) {
|
|
7097
7097
|
const h = e.children[a], c = e.leaf ? n(h) : h;
|
|
7098
|
-
Rs(t, c) && (e.leaf ? i.push(h) :
|
|
7098
|
+
Rs(t, c) && (e.leaf ? i.push(h) : Ra(t, c) ? this._all(h, i) : o.push(h));
|
|
7099
7099
|
}
|
|
7100
7100
|
e = o.pop();
|
|
7101
7101
|
}
|
|
@@ -7110,7 +7110,7 @@ let id = class {
|
|
|
7110
7110
|
for (let n = 0; n < e.children.length; n++) {
|
|
7111
7111
|
const o = e.children[n], a = e.leaf ? this.toBBox(o) : o;
|
|
7112
7112
|
if (Rs(t, a)) {
|
|
7113
|
-
if (e.leaf ||
|
|
7113
|
+
if (e.leaf || Ra(t, a))
|
|
7114
7114
|
return !0;
|
|
7115
7115
|
i.push(o);
|
|
7116
7116
|
}
|
|
@@ -7159,7 +7159,7 @@ let id = class {
|
|
|
7159
7159
|
if (f !== -1)
|
|
7160
7160
|
return i.children.splice(f, 1), o.push(i), this._condense(o), this;
|
|
7161
7161
|
}
|
|
7162
|
-
!d && !i.leaf &&
|
|
7162
|
+
!d && !i.leaf && Ra(i, n) ? (o.push(i), a.push(h), h = 0, c = i, i = i.children[0]) : c ? (h++, i = c.children[h], d = !1) : i = null;
|
|
7163
7163
|
}
|
|
7164
7164
|
return this;
|
|
7165
7165
|
}
|
|
@@ -7206,7 +7206,7 @@ let id = class {
|
|
|
7206
7206
|
for (; n.push(e), !(e.leaf || n.length - 1 === i); ) {
|
|
7207
7207
|
let o = 1 / 0, a = 1 / 0, h;
|
|
7208
7208
|
for (let c = 0; c < e.children.length; c++) {
|
|
7209
|
-
const d = e.children[c], f =
|
|
7209
|
+
const d = e.children[c], f = ka(d), _ = A_(t, d) - f;
|
|
7210
7210
|
_ < a ? (a = _, o = f < o ? f : o, h = d) : _ === a && f < o && (o = f, h = d);
|
|
7211
7211
|
}
|
|
7212
7212
|
e = h || e.children[0];
|
|
@@ -7232,7 +7232,7 @@ let id = class {
|
|
|
7232
7232
|
_chooseSplitIndex(t, e, i) {
|
|
7233
7233
|
let n, o = 1 / 0, a = 1 / 0;
|
|
7234
7234
|
for (let h = e; h <= i - e; h++) {
|
|
7235
|
-
const c = br(t, 0, h, this.toBBox), d = br(t, h, i, this.toBBox), f = D_(c, d), _ =
|
|
7235
|
+
const c = br(t, 0, h, this.toBBox), d = br(t, h, i, this.toBBox), f = D_(c, d), _ = ka(c) + ka(d);
|
|
7236
7236
|
f < o ? (o = f, n = h, a = _ < a ? _ : a) : f === o && _ < a && (a = _, n = h);
|
|
7237
7237
|
}
|
|
7238
7238
|
return n || i - e;
|
|
@@ -7294,7 +7294,7 @@ function M_(r, t) {
|
|
|
7294
7294
|
function I_(r, t) {
|
|
7295
7295
|
return r.minY - t.minY;
|
|
7296
7296
|
}
|
|
7297
|
-
function
|
|
7297
|
+
function ka(r) {
|
|
7298
7298
|
return (r.maxX - r.minX) * (r.maxY - r.minY);
|
|
7299
7299
|
}
|
|
7300
7300
|
function ks(r) {
|
|
@@ -7307,7 +7307,7 @@ function D_(r, t) {
|
|
|
7307
7307
|
const e = Math.max(r.minX, t.minX), i = Math.max(r.minY, t.minY), n = Math.min(r.maxX, t.maxX), o = Math.min(r.maxY, t.maxY);
|
|
7308
7308
|
return Math.max(0, n - e) * Math.max(0, o - i);
|
|
7309
7309
|
}
|
|
7310
|
-
function
|
|
7310
|
+
function Ra(r, t) {
|
|
7311
7311
|
return r.minX <= t.minX && r.minY <= t.minY && t.maxX <= r.maxX && t.maxY <= r.maxY;
|
|
7312
7312
|
}
|
|
7313
7313
|
function Rs(r, t) {
|
|
@@ -7366,9 +7366,9 @@ function F_(r, t) {
|
|
|
7366
7366
|
return t[0] <= r[0] && t[1] <= r[1] && t[2] >= r[0] && t[3] >= r[1];
|
|
7367
7367
|
}
|
|
7368
7368
|
var nd = { exports: {} };
|
|
7369
|
-
nd.exports =
|
|
7370
|
-
nd.exports.default =
|
|
7371
|
-
function
|
|
7369
|
+
nd.exports = Co;
|
|
7370
|
+
nd.exports.default = Co;
|
|
7371
|
+
function Co(r, t, e) {
|
|
7372
7372
|
e = e || 2;
|
|
7373
7373
|
var i = t && t.length, n = i ? t[0] * e : r.length, o = rd(r, 0, n, e, !0), a = [];
|
|
7374
7374
|
if (!o || o.next === o.prev)
|
|
@@ -7384,13 +7384,13 @@ function To(r, t, e) {
|
|
|
7384
7384
|
}
|
|
7385
7385
|
function rd(r, t, e, i, n) {
|
|
7386
7386
|
var o, a;
|
|
7387
|
-
if (n ===
|
|
7387
|
+
if (n === Ja(r, t, e, i) > 0)
|
|
7388
7388
|
for (o = t; o < e; o += i)
|
|
7389
7389
|
a = bc(o, r[o], r[o + 1], a);
|
|
7390
7390
|
else
|
|
7391
7391
|
for (o = e - i; o >= t; o -= i)
|
|
7392
7392
|
a = bc(o, r[o], r[o + 1], a);
|
|
7393
|
-
return a &&
|
|
7393
|
+
return a && So(a, a.next) && (Ir(a), a = a.next), a;
|
|
7394
7394
|
}
|
|
7395
7395
|
function hn(r, t) {
|
|
7396
7396
|
if (!r)
|
|
@@ -7398,7 +7398,7 @@ function hn(r, t) {
|
|
|
7398
7398
|
t || (t = r);
|
|
7399
7399
|
var e = r, i;
|
|
7400
7400
|
do
|
|
7401
|
-
if (i = !1, !e.steiner && (
|
|
7401
|
+
if (i = !1, !e.steiner && (So(e, e.next) || Rt(e.prev, e, e.next) === 0)) {
|
|
7402
7402
|
if (Ir(e), e = t = e.prev, e === e.next)
|
|
7403
7403
|
break;
|
|
7404
7404
|
i = !0;
|
|
@@ -7437,7 +7437,7 @@ function N_(r, t, e, i) {
|
|
|
7437
7437
|
var n = r.prev, o = r, a = r.next;
|
|
7438
7438
|
if (Rt(n, o, a) >= 0)
|
|
7439
7439
|
return !1;
|
|
7440
|
-
for (var h = n.x, c = o.x, d = a.x, f = n.y, _ = o.y, m = a.y, v = h < c ? h < d ? h : d : c < d ? c : d, y = f < _ ? f < m ? f : m : _ < m ? _ : m, E = h > c ? h > d ? h : d : c > d ? c : d, b = f > _ ? f > m ? f : m : _ > m ? _ : m, S =
|
|
7440
|
+
for (var h = n.x, c = o.x, d = a.x, f = n.y, _ = o.y, m = a.y, v = h < c ? h < d ? h : d : c < d ? c : d, y = f < _ ? f < m ? f : m : _ < m ? _ : m, E = h > c ? h > d ? h : d : c > d ? c : d, b = f > _ ? f > m ? f : m : _ > m ? _ : m, S = qa(v, y, t, e, i), w = qa(E, b, t, e, i), T = r.prevZ, P = r.nextZ; T && T.z >= S && P && P.z <= w; ) {
|
|
7441
7441
|
if (T.x >= v && T.x <= E && T.y >= y && T.y <= b && T !== n && T !== a && Gn(h, f, c, _, d, m, T.x, T.y) && Rt(T.prev, T, T.next) >= 0 || (T = T.prevZ, P.x >= v && P.x <= E && P.y >= y && P.y <= b && P !== n && P !== a && Gn(h, f, c, _, d, m, P.x, P.y) && Rt(P.prev, P, P.next) >= 0))
|
|
7442
7442
|
return !1;
|
|
7443
7443
|
P = P.nextZ;
|
|
@@ -7458,7 +7458,7 @@ function B_(r, t, e) {
|
|
|
7458
7458
|
var i = r;
|
|
7459
7459
|
do {
|
|
7460
7460
|
var n = i.prev, o = i.next.next;
|
|
7461
|
-
!
|
|
7461
|
+
!So(n, o) && sd(n, i, i.next, o) && Mr(n, o) && Mr(o, n) && (t.push(n.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), Ir(i), Ir(i.next), i = r = o), i = i.next;
|
|
7462
7462
|
} while (i !== r);
|
|
7463
7463
|
return hn(i);
|
|
7464
7464
|
}
|
|
@@ -7519,7 +7519,7 @@ function H_(r, t) {
|
|
|
7519
7519
|
function X_(r, t, e, i) {
|
|
7520
7520
|
var n = r;
|
|
7521
7521
|
do
|
|
7522
|
-
n.z === 0 && (n.z =
|
|
7522
|
+
n.z === 0 && (n.z = qa(n.x, n.y, t, e, i)), n.prevZ = n.prev, n.nextZ = n.next, n = n.next;
|
|
7523
7523
|
while (n !== r);
|
|
7524
7524
|
n.prevZ.nextZ = null, n.prevZ = null, V_(n);
|
|
7525
7525
|
}
|
|
@@ -7537,7 +7537,7 @@ function V_(r) {
|
|
|
7537
7537
|
} while (a > 1);
|
|
7538
7538
|
return r;
|
|
7539
7539
|
}
|
|
7540
|
-
function
|
|
7540
|
+
function qa(r, t, e, i, n) {
|
|
7541
7541
|
return r = (r - e) * n | 0, t = (t - i) * n | 0, r = (r | r << 8) & 16711935, r = (r | r << 4) & 252645135, r = (r | r << 2) & 858993459, r = (r | r << 1) & 1431655765, t = (t | t << 8) & 16711935, t = (t | t << 4) & 252645135, t = (t | t << 2) & 858993459, t = (t | t << 1) & 1431655765, r | t << 1;
|
|
7542
7542
|
}
|
|
7543
7543
|
function Y_(r) {
|
|
@@ -7554,12 +7554,12 @@ function K_(r, t) {
|
|
|
7554
7554
|
return r.next.i !== t.i && r.prev.i !== t.i && !q_(r, t) && // dones't intersect other edges
|
|
7555
7555
|
(Mr(r, t) && Mr(t, r) && $_(r, t) && // locally visible
|
|
7556
7556
|
(Rt(r.prev, r, t.prev) || Rt(r, t.prev, t)) || // does not create opposite-facing sectors
|
|
7557
|
-
|
|
7557
|
+
So(r, t) && Rt(r.prev, r, r.next) > 0 && Rt(t.prev, t, t.next) > 0);
|
|
7558
7558
|
}
|
|
7559
7559
|
function Rt(r, t, e) {
|
|
7560
7560
|
return (t.y - r.y) * (e.x - t.x) - (t.x - r.x) * (e.y - t.y);
|
|
7561
7561
|
}
|
|
7562
|
-
function
|
|
7562
|
+
function So(r, t) {
|
|
7563
7563
|
return r.x === t.x && r.y === t.y;
|
|
7564
7564
|
}
|
|
7565
7565
|
function sd(r, t, e, i) {
|
|
@@ -7592,25 +7592,25 @@ function $_(r, t) {
|
|
|
7592
7592
|
return i;
|
|
7593
7593
|
}
|
|
7594
7594
|
function od(r, t) {
|
|
7595
|
-
var e = new
|
|
7595
|
+
var e = new $a(r.i, r.x, r.y), i = new $a(t.i, t.x, t.y), n = r.next, o = t.prev;
|
|
7596
7596
|
return r.next = t, t.prev = r, e.next = n, n.prev = e, i.next = e, e.prev = i, o.next = i, i.prev = o, i;
|
|
7597
7597
|
}
|
|
7598
7598
|
function bc(r, t, e, i) {
|
|
7599
|
-
var n = new
|
|
7599
|
+
var n = new $a(r, t, e);
|
|
7600
7600
|
return i ? (n.next = i.next, n.prev = i, i.next.prev = n, i.next = n) : (n.prev = n, n.next = n), n;
|
|
7601
7601
|
}
|
|
7602
7602
|
function Ir(r) {
|
|
7603
7603
|
r.next.prev = r.prev, r.prev.next = r.next, r.prevZ && (r.prevZ.nextZ = r.nextZ), r.nextZ && (r.nextZ.prevZ = r.prevZ);
|
|
7604
7604
|
}
|
|
7605
|
-
function
|
|
7605
|
+
function $a(r, t, e) {
|
|
7606
7606
|
this.i = r, this.x = t, this.y = e, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
|
|
7607
7607
|
}
|
|
7608
|
-
|
|
7609
|
-
var n = t && t.length, o = n ? t[0] * e : r.length, a = Math.abs(
|
|
7608
|
+
Co.deviation = function(r, t, e, i) {
|
|
7609
|
+
var n = t && t.length, o = n ? t[0] * e : r.length, a = Math.abs(Ja(r, 0, o, e));
|
|
7610
7610
|
if (n)
|
|
7611
7611
|
for (var h = 0, c = t.length; h < c; h++) {
|
|
7612
7612
|
var d = t[h] * e, f = h < c - 1 ? t[h + 1] * e : r.length;
|
|
7613
|
-
a -= Math.abs(
|
|
7613
|
+
a -= Math.abs(Ja(r, d, f, e));
|
|
7614
7614
|
}
|
|
7615
7615
|
var _ = 0;
|
|
7616
7616
|
for (h = 0; h < i.length; h += 3) {
|
|
@@ -7621,12 +7621,12 @@ To.deviation = function(r, t, e, i) {
|
|
|
7621
7621
|
}
|
|
7622
7622
|
return a === 0 && _ === 0 ? 0 : Math.abs((_ - a) / a);
|
|
7623
7623
|
};
|
|
7624
|
-
function
|
|
7624
|
+
function Ja(r, t, e, i) {
|
|
7625
7625
|
for (var n = 0, o = t, a = e - i; o < e; o += i)
|
|
7626
7626
|
n += (r[a] - r[o]) * (r[o + 1] + r[a + 1]), a = o;
|
|
7627
7627
|
return n;
|
|
7628
7628
|
}
|
|
7629
|
-
|
|
7629
|
+
Co.flatten = function(r) {
|
|
7630
7630
|
for (var t = r[0][0].length, e = { vertices: [], holes: [], dimensions: t }, i = 0, n = 0; n < r.length; n++) {
|
|
7631
7631
|
for (var o = 0; o < r[n].length; o++)
|
|
7632
7632
|
for (var a = 0; a < t; a++)
|
|
@@ -7947,7 +7947,7 @@ const ip = wo({
|
|
|
7947
7947
|
data() {
|
|
7948
7948
|
return {
|
|
7949
7949
|
markerIconDefault: {
|
|
7950
|
-
iconUrl:
|
|
7950
|
+
iconUrl: To,
|
|
7951
7951
|
iconSize: [25, 41],
|
|
7952
7952
|
iconAnchor: [12, 41]
|
|
7953
7953
|
}
|
|
@@ -8989,10 +8989,10 @@ function ad(r, t) {
|
|
|
8989
8989
|
return r.apply(t, arguments);
|
|
8990
8990
|
};
|
|
8991
8991
|
}
|
|
8992
|
-
const { toString: Cp } = Object.prototype, { getPrototypeOf: Pl } = Object,
|
|
8992
|
+
const { toString: Cp } = Object.prototype, { getPrototypeOf: Pl } = Object, Po = ((r) => (t) => {
|
|
8993
8993
|
const e = Cp.call(t);
|
|
8994
8994
|
return r[e] || (r[e] = e.slice(8, -1).toLowerCase());
|
|
8995
|
-
})(/* @__PURE__ */ Object.create(null)), Ye = (r) => (r = r.toLowerCase(), (t) =>
|
|
8995
|
+
})(/* @__PURE__ */ Object.create(null)), Ye = (r) => (r = r.toLowerCase(), (t) => Po(t) === r), ko = (r) => (t) => typeof t === r, { isArray: er } = Array, Ar = ko("undefined");
|
|
8996
8996
|
function Sp(r) {
|
|
8997
8997
|
return r !== null && !Ar(r) && r.constructor !== null && !Ar(r.constructor) && we(r.constructor.isBuffer) && r.constructor.isBuffer(r);
|
|
8998
8998
|
}
|
|
@@ -9001,14 +9001,14 @@ function Pp(r) {
|
|
|
9001
9001
|
let t;
|
|
9002
9002
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(r) : t = r && r.buffer && ld(r.buffer), t;
|
|
9003
9003
|
}
|
|
9004
|
-
const kp =
|
|
9005
|
-
if (
|
|
9004
|
+
const kp = ko("string"), we = ko("function"), hd = ko("number"), Ro = (r) => r !== null && typeof r == "object", Rp = (r) => r === !0 || r === !1, Xs = (r) => {
|
|
9005
|
+
if (Po(r) !== "object")
|
|
9006
9006
|
return !1;
|
|
9007
9007
|
const t = Pl(r);
|
|
9008
9008
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in r) && !(Symbol.iterator in r);
|
|
9009
|
-
}, Mp = Ye("Date"), Ip = Ye("File"), Ap = Ye("Blob"), Dp = Ye("FileList"), Op = (r) =>
|
|
9009
|
+
}, Mp = Ye("Date"), Ip = Ye("File"), Ap = Ye("Blob"), Dp = Ye("FileList"), Op = (r) => Ro(r) && we(r.pipe), Fp = (r) => {
|
|
9010
9010
|
let t;
|
|
9011
|
-
return r && (typeof FormData == "function" && r instanceof FormData || we(r.append) && ((t =
|
|
9011
|
+
return r && (typeof FormData == "function" && r instanceof FormData || we(r.append) && ((t = Po(r)) === "formdata" || // detect form-data instance
|
|
9012
9012
|
t === "object" && we(r.toString) && r.toString() === "[object FormData]"));
|
|
9013
9013
|
}, zp = Ye("URLSearchParams"), Np = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
9014
9014
|
function Xr(r, t, { allOwnKeys: e = !1 } = {}) {
|
|
@@ -9035,10 +9035,10 @@ function cd(r, t) {
|
|
|
9035
9035
|
return null;
|
|
9036
9036
|
}
|
|
9037
9037
|
const ud = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), dd = (r) => !Ar(r) && r !== ud;
|
|
9038
|
-
function
|
|
9038
|
+
function Qa() {
|
|
9039
9039
|
const { caseless: r } = dd(this) && this || {}, t = {}, e = (i, n) => {
|
|
9040
9040
|
const o = r && cd(t, n) || n;
|
|
9041
|
-
Xs(t[o]) && Xs(i) ? t[o] =
|
|
9041
|
+
Xs(t[o]) && Xs(i) ? t[o] = Qa(t[o], i) : Xs(i) ? t[o] = Qa({}, i) : er(i) ? t[o] = i.slice() : t[o] = i;
|
|
9042
9042
|
};
|
|
9043
9043
|
for (let i = 0, n = arguments.length; i < n; i++)
|
|
9044
9044
|
arguments[i] && Xr(arguments[i], e);
|
|
@@ -9124,10 +9124,10 @@ const Bp = (r, t, e, { allOwnKeys: i } = {}) => (Xr(t, (n, o) => {
|
|
|
9124
9124
|
};
|
|
9125
9125
|
return er(r) ? i(r) : i(String(r).split(t)), e;
|
|
9126
9126
|
}, Qp = () => {
|
|
9127
|
-
}, tm = (r, t) => (r = +r, Number.isFinite(r) ? r : t),
|
|
9127
|
+
}, tm = (r, t) => (r = +r, Number.isFinite(r) ? r : t), Ma = "abcdefghijklmnopqrstuvwxyz", kc = "0123456789", gd = {
|
|
9128
9128
|
DIGIT: kc,
|
|
9129
|
-
ALPHA:
|
|
9130
|
-
ALPHA_DIGIT:
|
|
9129
|
+
ALPHA: Ma,
|
|
9130
|
+
ALPHA_DIGIT: Ma + Ma.toUpperCase() + kc
|
|
9131
9131
|
}, em = (r = 16, t = gd.ALPHA_DIGIT) => {
|
|
9132
9132
|
let e = "";
|
|
9133
9133
|
const { length: i } = t;
|
|
@@ -9140,7 +9140,7 @@ function im(r) {
|
|
|
9140
9140
|
}
|
|
9141
9141
|
const nm = (r) => {
|
|
9142
9142
|
const t = new Array(10), e = (i, n) => {
|
|
9143
|
-
if (
|
|
9143
|
+
if (Ro(i)) {
|
|
9144
9144
|
if (t.indexOf(i) >= 0)
|
|
9145
9145
|
return;
|
|
9146
9146
|
if (!("toJSON" in i)) {
|
|
@@ -9155,7 +9155,7 @@ const nm = (r) => {
|
|
|
9155
9155
|
return i;
|
|
9156
9156
|
};
|
|
9157
9157
|
return e(r, 0);
|
|
9158
|
-
}, rm = Ye("AsyncFunction"), sm = (r) => r && (
|
|
9158
|
+
}, rm = Ye("AsyncFunction"), sm = (r) => r && (Ro(r) || we(r)) && we(r.then) && we(r.catch), A = {
|
|
9159
9159
|
isArray: er,
|
|
9160
9160
|
isArrayBuffer: ld,
|
|
9161
9161
|
isBuffer: Sp,
|
|
@@ -9164,7 +9164,7 @@ const nm = (r) => {
|
|
|
9164
9164
|
isString: kp,
|
|
9165
9165
|
isNumber: hd,
|
|
9166
9166
|
isBoolean: Rp,
|
|
9167
|
-
isObject:
|
|
9167
|
+
isObject: Ro,
|
|
9168
9168
|
isPlainObject: Xs,
|
|
9169
9169
|
isUndefined: Ar,
|
|
9170
9170
|
isDate: Mp,
|
|
@@ -9177,13 +9177,13 @@ const nm = (r) => {
|
|
|
9177
9177
|
isTypedArray: Hp,
|
|
9178
9178
|
isFileList: Dp,
|
|
9179
9179
|
forEach: Xr,
|
|
9180
|
-
merge:
|
|
9180
|
+
merge: Qa,
|
|
9181
9181
|
extend: Bp,
|
|
9182
9182
|
trim: Np,
|
|
9183
9183
|
stripBOM: Gp,
|
|
9184
9184
|
inherits: Up,
|
|
9185
9185
|
toFlatObject: Zp,
|
|
9186
|
-
kindOf:
|
|
9186
|
+
kindOf: Po,
|
|
9187
9187
|
kindOfTest: Ye,
|
|
9188
9188
|
endsWith: jp,
|
|
9189
9189
|
toArray: Wp,
|
|
@@ -9260,7 +9260,7 @@ gt.from = (r, t, e, i, n, o) => {
|
|
|
9260
9260
|
}, (h) => h !== "isAxiosError"), gt.call(a, r.message, t, e, i, n), a.cause = r, a.name = r.name, o && Object.assign(a, o), a;
|
|
9261
9261
|
};
|
|
9262
9262
|
const om = null;
|
|
9263
|
-
function
|
|
9263
|
+
function tl(r) {
|
|
9264
9264
|
return A.isPlainObject(r) || A.isArray(r);
|
|
9265
9265
|
}
|
|
9266
9266
|
function md(r) {
|
|
@@ -9272,12 +9272,12 @@ function Rc(r, t, e) {
|
|
|
9272
9272
|
}).join(e ? "." : "") : t;
|
|
9273
9273
|
}
|
|
9274
9274
|
function am(r) {
|
|
9275
|
-
return A.isArray(r) && !r.some(
|
|
9275
|
+
return A.isArray(r) && !r.some(tl);
|
|
9276
9276
|
}
|
|
9277
9277
|
const lm = A.toFlatObject(A, {}, null, function(t) {
|
|
9278
9278
|
return /^is[A-Z]/.test(t);
|
|
9279
9279
|
});
|
|
9280
|
-
function
|
|
9280
|
+
function Mo(r, t, e) {
|
|
9281
9281
|
if (!A.isObject(r))
|
|
9282
9282
|
throw new TypeError("target must be an object");
|
|
9283
9283
|
t = t || new FormData(), e = A.toFlatObject(e, {
|
|
@@ -9313,12 +9313,12 @@ function Ro(r, t, e) {
|
|
|
9313
9313
|
);
|
|
9314
9314
|
}), !1;
|
|
9315
9315
|
}
|
|
9316
|
-
return
|
|
9316
|
+
return tl(y) ? !0 : (t.append(Rc(b, E, o), d(y)), !1);
|
|
9317
9317
|
}
|
|
9318
9318
|
const _ = [], m = Object.assign(lm, {
|
|
9319
9319
|
defaultVisitor: f,
|
|
9320
9320
|
convertValue: d,
|
|
9321
|
-
isVisitable:
|
|
9321
|
+
isVisitable: tl
|
|
9322
9322
|
});
|
|
9323
9323
|
function v(y, E) {
|
|
9324
9324
|
if (!A.isUndefined(y)) {
|
|
@@ -9354,7 +9354,7 @@ function Mc(r) {
|
|
|
9354
9354
|
});
|
|
9355
9355
|
}
|
|
9356
9356
|
function kl(r, t) {
|
|
9357
|
-
this._pairs = [], r &&
|
|
9357
|
+
this._pairs = [], r && Mo(r, this, t);
|
|
9358
9358
|
}
|
|
9359
9359
|
const yd = kl.prototype;
|
|
9360
9360
|
yd.append = function(t, e) {
|
|
@@ -9456,7 +9456,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
9456
9456
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
9457
9457
|
};
|
|
9458
9458
|
function pm(r, t) {
|
|
9459
|
-
return
|
|
9459
|
+
return Mo(r, new je.classes.URLSearchParams(), Object.assign({
|
|
9460
9460
|
visitor: function(e, i, n, o) {
|
|
9461
9461
|
return je.isNode && A.isBuffer(e) ? (this.append(i, e.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
9462
9462
|
}
|
|
@@ -9517,7 +9517,7 @@ const Rl = {
|
|
|
9517
9517
|
return pm(t, this.formSerializer).toString();
|
|
9518
9518
|
if ((h = A.isFileList(t)) || i.indexOf("multipart/form-data") > -1) {
|
|
9519
9519
|
const c = this.env && this.env.FormData;
|
|
9520
|
-
return
|
|
9520
|
+
return Mo(
|
|
9521
9521
|
h ? { "files[]": t } : t,
|
|
9522
9522
|
c && new c(),
|
|
9523
9523
|
this.formSerializer
|
|
@@ -9605,7 +9605,7 @@ function wm(r) {
|
|
|
9605
9605
|
return t;
|
|
9606
9606
|
}
|
|
9607
9607
|
const Lm = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
|
|
9608
|
-
function
|
|
9608
|
+
function Ia(r, t, e, i, n) {
|
|
9609
9609
|
if (A.isFunction(i))
|
|
9610
9610
|
return i.call(this, t, e);
|
|
9611
9611
|
if (n && (t = e), !!A.isString(t)) {
|
|
@@ -9629,7 +9629,7 @@ function Tm(r, t) {
|
|
|
9629
9629
|
});
|
|
9630
9630
|
});
|
|
9631
9631
|
}
|
|
9632
|
-
class
|
|
9632
|
+
class Io {
|
|
9633
9633
|
constructor(t) {
|
|
9634
9634
|
t && this.set(t);
|
|
9635
9635
|
}
|
|
@@ -9665,7 +9665,7 @@ class Mo {
|
|
|
9665
9665
|
has(t, e) {
|
|
9666
9666
|
if (t = wr(t), t) {
|
|
9667
9667
|
const i = A.findKey(this, t);
|
|
9668
|
-
return !!(i && this[i] !== void 0 && (!e ||
|
|
9668
|
+
return !!(i && this[i] !== void 0 && (!e || Ia(this, this[i], i, e)));
|
|
9669
9669
|
}
|
|
9670
9670
|
return !1;
|
|
9671
9671
|
}
|
|
@@ -9675,7 +9675,7 @@ class Mo {
|
|
|
9675
9675
|
function o(a) {
|
|
9676
9676
|
if (a = wr(a), a) {
|
|
9677
9677
|
const h = A.findKey(i, a);
|
|
9678
|
-
h && (!e ||
|
|
9678
|
+
h && (!e || Ia(i, i[h], h, e)) && (delete i[h], n = !0);
|
|
9679
9679
|
}
|
|
9680
9680
|
}
|
|
9681
9681
|
return A.isArray(t) ? t.forEach(o) : o(t), n;
|
|
@@ -9685,7 +9685,7 @@ class Mo {
|
|
|
9685
9685
|
let i = e.length, n = !1;
|
|
9686
9686
|
for (; i--; ) {
|
|
9687
9687
|
const o = e[i];
|
|
9688
|
-
(!t ||
|
|
9688
|
+
(!t || Ia(this, this[o], o, t, !0)) && (delete this[o], n = !0);
|
|
9689
9689
|
}
|
|
9690
9690
|
return n;
|
|
9691
9691
|
}
|
|
@@ -9738,8 +9738,8 @@ class Mo {
|
|
|
9738
9738
|
return A.isArray(t) ? t.forEach(o) : o(t), this;
|
|
9739
9739
|
}
|
|
9740
9740
|
}
|
|
9741
|
-
|
|
9742
|
-
A.reduceDescriptors(
|
|
9741
|
+
Io.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
9742
|
+
A.reduceDescriptors(Io.prototype, ({ value: r }, t) => {
|
|
9743
9743
|
let e = t[0].toUpperCase() + t.slice(1);
|
|
9744
9744
|
return {
|
|
9745
9745
|
get: () => r,
|
|
@@ -9748,9 +9748,9 @@ A.reduceDescriptors(Mo.prototype, ({ value: r }, t) => {
|
|
|
9748
9748
|
}
|
|
9749
9749
|
};
|
|
9750
9750
|
});
|
|
9751
|
-
A.freezeMethods(
|
|
9752
|
-
const ui =
|
|
9753
|
-
function
|
|
9751
|
+
A.freezeMethods(Io);
|
|
9752
|
+
const ui = Io;
|
|
9753
|
+
function Aa(r, t) {
|
|
9754
9754
|
const e = this || Ml, i = t || e, n = ui.from(i.headers);
|
|
9755
9755
|
let o = i.data;
|
|
9756
9756
|
return A.forEach(r, function(h) {
|
|
@@ -9953,11 +9953,11 @@ const Am = typeof XMLHttpRequest < "u", Dm = Am && function(r) {
|
|
|
9953
9953
|
}
|
|
9954
9954
|
f.send(n || null);
|
|
9955
9955
|
});
|
|
9956
|
-
},
|
|
9956
|
+
}, el = {
|
|
9957
9957
|
http: om,
|
|
9958
9958
|
xhr: Dm
|
|
9959
9959
|
};
|
|
9960
|
-
A.forEach(
|
|
9960
|
+
A.forEach(el, (r, t) => {
|
|
9961
9961
|
if (r) {
|
|
9962
9962
|
try {
|
|
9963
9963
|
Object.defineProperty(r, "name", { value: t });
|
|
@@ -9975,7 +9975,7 @@ const Oc = (r) => `- ${r}`, Om = (r) => A.isFunction(r) || r === null || r === !
|
|
|
9975
9975
|
for (let o = 0; o < t; o++) {
|
|
9976
9976
|
e = r[o];
|
|
9977
9977
|
let a;
|
|
9978
|
-
if (i = e, !Om(e) && (i =
|
|
9978
|
+
if (i = e, !Om(e) && (i = el[(a = String(e)).toLowerCase()], i === void 0))
|
|
9979
9979
|
throw new gt(`Unknown adapter '${a}'`);
|
|
9980
9980
|
if (i)
|
|
9981
9981
|
break;
|
|
@@ -9995,24 +9995,24 @@ const Oc = (r) => `- ${r}`, Om = (r) => A.isFunction(r) || r === null || r === !
|
|
|
9995
9995
|
}
|
|
9996
9996
|
return i;
|
|
9997
9997
|
},
|
|
9998
|
-
adapters:
|
|
9998
|
+
adapters: el
|
|
9999
9999
|
};
|
|
10000
|
-
function
|
|
10000
|
+
function Da(r) {
|
|
10001
10001
|
if (r.cancelToken && r.cancelToken.throwIfRequested(), r.signal && r.signal.aborted)
|
|
10002
10002
|
throw new Vr(null, r);
|
|
10003
10003
|
}
|
|
10004
10004
|
function Fc(r) {
|
|
10005
|
-
return
|
|
10005
|
+
return Da(r), r.headers = ui.from(r.headers), r.data = Aa.call(
|
|
10006
10006
|
r,
|
|
10007
10007
|
r.transformRequest
|
|
10008
10008
|
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), bd.getAdapter(r.adapter || Ml.adapter)(r).then(function(i) {
|
|
10009
|
-
return
|
|
10009
|
+
return Da(r), i.data = Aa.call(
|
|
10010
10010
|
r,
|
|
10011
10011
|
r.transformResponse,
|
|
10012
10012
|
i
|
|
10013
10013
|
), i.headers = ui.from(i.headers), i;
|
|
10014
10014
|
}, function(i) {
|
|
10015
|
-
return wd(i) || (
|
|
10015
|
+
return wd(i) || (Da(r), i && i.response && (i.response.data = Aa.call(
|
|
10016
10016
|
r,
|
|
10017
10017
|
r.transformResponse,
|
|
10018
10018
|
i.response
|
|
@@ -10127,10 +10127,10 @@ function Fm(r, t, e) {
|
|
|
10127
10127
|
throw new gt("Unknown option " + o, gt.ERR_BAD_OPTION);
|
|
10128
10128
|
}
|
|
10129
10129
|
}
|
|
10130
|
-
const
|
|
10130
|
+
const il = {
|
|
10131
10131
|
assertOptions: Fm,
|
|
10132
10132
|
validators: Il
|
|
10133
|
-
}, ki =
|
|
10133
|
+
}, ki = il.validators;
|
|
10134
10134
|
class Js {
|
|
10135
10135
|
constructor(t) {
|
|
10136
10136
|
this.defaults = t, this.interceptors = {
|
|
@@ -10149,13 +10149,13 @@ class Js {
|
|
|
10149
10149
|
request(t, e) {
|
|
10150
10150
|
typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = Vn(this.defaults, e);
|
|
10151
10151
|
const { transitional: i, paramsSerializer: n, headers: o } = e;
|
|
10152
|
-
i !== void 0 &&
|
|
10152
|
+
i !== void 0 && il.assertOptions(i, {
|
|
10153
10153
|
silentJSONParsing: ki.transitional(ki.boolean),
|
|
10154
10154
|
forcedJSONParsing: ki.transitional(ki.boolean),
|
|
10155
10155
|
clarifyTimeoutError: ki.transitional(ki.boolean)
|
|
10156
10156
|
}, !1), n != null && (A.isFunction(n) ? e.paramsSerializer = {
|
|
10157
10157
|
serialize: n
|
|
10158
|
-
} :
|
|
10158
|
+
} : il.assertOptions(n, {
|
|
10159
10159
|
encode: ki.function,
|
|
10160
10160
|
serialize: ki.function
|
|
10161
10161
|
}, !0)), e.method = (e.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -10313,7 +10313,7 @@ function Nm(r) {
|
|
|
10313
10313
|
function Bm(r) {
|
|
10314
10314
|
return A.isObject(r) && r.isAxiosError === !0;
|
|
10315
10315
|
}
|
|
10316
|
-
const
|
|
10316
|
+
const nl = {
|
|
10317
10317
|
Continue: 100,
|
|
10318
10318
|
SwitchingProtocols: 101,
|
|
10319
10319
|
Processing: 102,
|
|
@@ -10378,10 +10378,10 @@ const il = {
|
|
|
10378
10378
|
NotExtended: 510,
|
|
10379
10379
|
NetworkAuthenticationRequired: 511
|
|
10380
10380
|
};
|
|
10381
|
-
Object.entries(
|
|
10382
|
-
|
|
10381
|
+
Object.entries(nl).forEach(([r, t]) => {
|
|
10382
|
+
nl[t] = r;
|
|
10383
10383
|
});
|
|
10384
|
-
const Gm =
|
|
10384
|
+
const Gm = nl;
|
|
10385
10385
|
function Cd(r) {
|
|
10386
10386
|
const t = new Ys(r), e = ad(Ys.prototype.request, t);
|
|
10387
10387
|
return A.extend(e, Ys.prototype, t, { allOwnKeys: !0 }), A.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(n) {
|
|
@@ -10394,7 +10394,7 @@ Bt.CanceledError = Vr;
|
|
|
10394
10394
|
Bt.CancelToken = zm;
|
|
10395
10395
|
Bt.isCancel = wd;
|
|
10396
10396
|
Bt.VERSION = Td;
|
|
10397
|
-
Bt.toFormData =
|
|
10397
|
+
Bt.toFormData = Mo;
|
|
10398
10398
|
Bt.AxiosError = gt;
|
|
10399
10399
|
Bt.Cancel = Bt.CanceledError;
|
|
10400
10400
|
Bt.all = function(t) {
|
|
@@ -10444,7 +10444,7 @@ const Um = wo({
|
|
|
10444
10444
|
renderCoordinates: this.coordinatesMap,
|
|
10445
10445
|
renderGeojson: this.dataPolygon,
|
|
10446
10446
|
markerIcon: {
|
|
10447
|
-
iconUrl:
|
|
10447
|
+
iconUrl: To,
|
|
10448
10448
|
iconSize: [25, 41],
|
|
10449
10449
|
iconAnchor: [12, 41]
|
|
10450
10450
|
},
|
|
@@ -10684,7 +10684,7 @@ function jm(r, t, e, i, n, o) {
|
|
|
10684
10684
|
var a;
|
|
10685
10685
|
return Lo(), bo("div", {
|
|
10686
10686
|
class: "map-container",
|
|
10687
|
-
style:
|
|
10687
|
+
style: Tl(`height:${(a = r.configurationMap) == null ? void 0 : a.height}`)
|
|
10688
10688
|
}, [
|
|
10689
10689
|
mt("div", {
|
|
10690
10690
|
id: r.idMap,
|
|
@@ -10699,7 +10699,7 @@ const qL = /* @__PURE__ */ Sl(Um, [["render", jm]]), Wm = ["id"], $L = /* @__PUR
|
|
|
10699
10699
|
height: "250px",
|
|
10700
10700
|
maxZoom: 20,
|
|
10701
10701
|
iconMarker: {
|
|
10702
|
-
iconUrl:
|
|
10702
|
+
iconUrl: To,
|
|
10703
10703
|
iconSize: [25, 41],
|
|
10704
10704
|
iconAnchor: [12, 41],
|
|
10705
10705
|
class: "",
|
|
@@ -10809,7 +10809,7 @@ const qL = /* @__PURE__ */ Sl(Um, [["render", jm]]), Wm = ["id"], $L = /* @__PUR
|
|
|
10809
10809
|
var b;
|
|
10810
10810
|
return Lo(), bo("div", {
|
|
10811
10811
|
class: "map-container",
|
|
10812
|
-
style:
|
|
10812
|
+
style: Tl(`height:${(b = y.configurationMap) == null ? void 0 : b.height}`)
|
|
10813
10813
|
}, [
|
|
10814
10814
|
mt("div", {
|
|
10815
10815
|
id: n.value,
|
|
@@ -10867,7 +10867,7 @@ class Xm {
|
|
|
10867
10867
|
disposeInternal() {
|
|
10868
10868
|
}
|
|
10869
10869
|
}
|
|
10870
|
-
const
|
|
10870
|
+
const Ao = Xm;
|
|
10871
10871
|
function Vm(r, t, e) {
|
|
10872
10872
|
let i, n;
|
|
10873
10873
|
e = e || Gi;
|
|
@@ -10947,7 +10947,7 @@ function Km(r, t, e) {
|
|
|
10947
10947
|
function Dr() {
|
|
10948
10948
|
return !0;
|
|
10949
10949
|
}
|
|
10950
|
-
function
|
|
10950
|
+
function Do() {
|
|
10951
10951
|
return !1;
|
|
10952
10952
|
}
|
|
10953
10953
|
function Kn() {
|
|
@@ -10969,7 +10969,7 @@ function qn(r) {
|
|
|
10969
10969
|
return !1;
|
|
10970
10970
|
return !t;
|
|
10971
10971
|
}
|
|
10972
|
-
class $m extends
|
|
10972
|
+
class $m extends Ao {
|
|
10973
10973
|
/**
|
|
10974
10974
|
* @param {*} [target] Default event target for dispatched events.
|
|
10975
10975
|
*/
|
|
@@ -11059,7 +11059,7 @@ class $m extends Io {
|
|
|
11059
11059
|
}
|
|
11060
11060
|
}
|
|
11061
11061
|
}
|
|
11062
|
-
const
|
|
11062
|
+
const Oo = $m, st = {
|
|
11063
11063
|
/**
|
|
11064
11064
|
* Generic change event. Triggered when the revision counter is increased.
|
|
11065
11065
|
* @event module:ol/events/Event~BaseEvent#change
|
|
@@ -11108,7 +11108,7 @@ function Qs(r, t, e, i) {
|
|
|
11108
11108
|
function Lt(r) {
|
|
11109
11109
|
r && r.target && (r.target.removeEventListener(r.type, r.listener), ir(r));
|
|
11110
11110
|
}
|
|
11111
|
-
class
|
|
11111
|
+
class Fo extends Oo {
|
|
11112
11112
|
constructor() {
|
|
11113
11113
|
super(), this.on = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
|
|
11114
11114
|
this.onInternal, this.once = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
|
|
@@ -11193,9 +11193,9 @@ class Oo extends Do {
|
|
|
11193
11193
|
this.removeEventListener(t, e);
|
|
11194
11194
|
}
|
|
11195
11195
|
}
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11196
|
+
Fo.prototype.on;
|
|
11197
|
+
Fo.prototype.once;
|
|
11198
|
+
Fo.prototype.un;
|
|
11199
11199
|
function Jm(r) {
|
|
11200
11200
|
if (Array.isArray(r))
|
|
11201
11201
|
for (let t = 0, e = r.length; t < e; ++t)
|
|
@@ -11206,7 +11206,7 @@ function Jm(r) {
|
|
|
11206
11206
|
r
|
|
11207
11207
|
);
|
|
11208
11208
|
}
|
|
11209
|
-
const Pd =
|
|
11209
|
+
const Pd = Fo;
|
|
11210
11210
|
function et() {
|
|
11211
11211
|
throw new Error("Unimplemented abstract method.");
|
|
11212
11212
|
}
|
|
@@ -11558,12 +11558,12 @@ const Zc = [
|
|
|
11558
11558
|
new $i("http://www.opengis.net/gml/srs/epsg.xml#4326", "neu"),
|
|
11559
11559
|
new $i("http://www.opengis.net/def/crs/EPSG/0/4326", "neu")
|
|
11560
11560
|
];
|
|
11561
|
-
let
|
|
11561
|
+
let rl = {};
|
|
11562
11562
|
function hy(r) {
|
|
11563
|
-
return
|
|
11563
|
+
return rl[r] || rl[r.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/, "EPSG:$3")] || null;
|
|
11564
11564
|
}
|
|
11565
11565
|
function cy(r, t) {
|
|
11566
|
-
|
|
11566
|
+
rl[r] = t;
|
|
11567
11567
|
}
|
|
11568
11568
|
let jn = {};
|
|
11569
11569
|
function to(r, t, e) {
|
|
@@ -11588,7 +11588,7 @@ function jc(r) {
|
|
|
11588
11588
|
Cr(t, r[e]);
|
|
11589
11589
|
return t;
|
|
11590
11590
|
}
|
|
11591
|
-
function
|
|
11591
|
+
function zo(r, t, e) {
|
|
11592
11592
|
return e ? (e[0] = r[0] - t, e[1] = r[1] - t, e[2] = r[2] + t, e[3] = r[3] + t, e) : [
|
|
11593
11593
|
r[0] - t,
|
|
11594
11594
|
r[1] - t,
|
|
@@ -11603,7 +11603,7 @@ function dn(r, t, e) {
|
|
|
11603
11603
|
let i, n;
|
|
11604
11604
|
return t < r[0] ? i = r[0] - t : r[2] < t ? i = t - r[2] : i = 0, e < r[1] ? n = r[1] - e : r[3] < e ? n = e - r[3] : n = 0, i * i + n * n;
|
|
11605
11605
|
}
|
|
11606
|
-
function
|
|
11606
|
+
function No(r, t) {
|
|
11607
11607
|
return Fl(r, t[0], t[1]);
|
|
11608
11608
|
}
|
|
11609
11609
|
function en(r, t) {
|
|
@@ -11612,7 +11612,7 @@ function en(r, t) {
|
|
|
11612
11612
|
function Fl(r, t, e) {
|
|
11613
11613
|
return r[0] <= t && t <= r[2] && r[1] <= e && e <= r[3];
|
|
11614
11614
|
}
|
|
11615
|
-
function
|
|
11615
|
+
function sl(r, t) {
|
|
11616
11616
|
const e = r[0], i = r[1], n = r[2], o = r[3], a = t[0], h = t[1];
|
|
11617
11617
|
let c = Wt.UNKNOWN;
|
|
11618
11618
|
return a < e ? c = c | Wt.LEFT : a > n && (c = c | Wt.RIGHT), h < i ? c = c | Wt.BELOW : h > o && (c = c | Wt.ABOVE), c === Wt.UNKNOWN && (c = Wt.INTERSECTING), c;
|
|
@@ -11653,16 +11653,16 @@ function fy(r, t, e) {
|
|
|
11653
11653
|
}
|
|
11654
11654
|
function Dd(r, t) {
|
|
11655
11655
|
let e;
|
|
11656
|
-
return e = t(
|
|
11656
|
+
return e = t(Bo(r)), e || (e = t(Go(r)), e) || (e = t(Uo(r)), e) || (e = t(fn(r)), e) ? e : !1;
|
|
11657
11657
|
}
|
|
11658
|
-
function
|
|
11658
|
+
function ol(r) {
|
|
11659
11659
|
let t = 0;
|
|
11660
|
-
return
|
|
11660
|
+
return Zo(r) || (t = Pt(r) * Xe(r)), t;
|
|
11661
11661
|
}
|
|
11662
|
-
function
|
|
11662
|
+
function Bo(r) {
|
|
11663
11663
|
return [r[0], r[1]];
|
|
11664
11664
|
}
|
|
11665
|
-
function
|
|
11665
|
+
function Go(r) {
|
|
11666
11666
|
return [r[2], r[1]];
|
|
11667
11667
|
}
|
|
11668
11668
|
function cn(r) {
|
|
@@ -11671,19 +11671,19 @@ function cn(r) {
|
|
|
11671
11671
|
function gy(r, t) {
|
|
11672
11672
|
let e;
|
|
11673
11673
|
if (t === "bottom-left")
|
|
11674
|
-
e = No(r);
|
|
11675
|
-
else if (t === "bottom-right")
|
|
11676
11674
|
e = Bo(r);
|
|
11675
|
+
else if (t === "bottom-right")
|
|
11676
|
+
e = Go(r);
|
|
11677
11677
|
else if (t === "top-left")
|
|
11678
11678
|
e = fn(r);
|
|
11679
11679
|
else if (t === "top-right")
|
|
11680
|
-
e =
|
|
11680
|
+
e = Uo(r);
|
|
11681
11681
|
else
|
|
11682
11682
|
throw new Error("Invalid corner");
|
|
11683
11683
|
return e;
|
|
11684
11684
|
}
|
|
11685
|
-
function
|
|
11686
|
-
const [o, a, h, c, d, f, _, m] =
|
|
11685
|
+
function al(r, t, e, i, n) {
|
|
11686
|
+
const [o, a, h, c, d, f, _, m] = ll(
|
|
11687
11687
|
r,
|
|
11688
11688
|
t,
|
|
11689
11689
|
e,
|
|
@@ -11697,7 +11697,7 @@ function ol(r, t, e, i, n) {
|
|
|
11697
11697
|
n
|
|
11698
11698
|
);
|
|
11699
11699
|
}
|
|
11700
|
-
function
|
|
11700
|
+
function ll(r, t, e, i) {
|
|
11701
11701
|
const n = t * i[0] / 2, o = t * i[1] / 2, a = Math.cos(e), h = Math.sin(e), c = n * a, d = n * h, f = o * a, _ = o * h, m = r[0], v = r[1];
|
|
11702
11702
|
return [
|
|
11703
11703
|
m - c + _,
|
|
@@ -11722,7 +11722,7 @@ function Sr(r, t, e) {
|
|
|
11722
11722
|
function fn(r) {
|
|
11723
11723
|
return [r[0], r[3]];
|
|
11724
11724
|
}
|
|
11725
|
-
function
|
|
11725
|
+
function Uo(r) {
|
|
11726
11726
|
return [r[2], r[3]];
|
|
11727
11727
|
}
|
|
11728
11728
|
function Pt(r) {
|
|
@@ -11731,7 +11731,7 @@ function Pt(r) {
|
|
|
11731
11731
|
function ce(r, t) {
|
|
11732
11732
|
return r[0] <= t[2] && r[2] >= t[0] && r[1] <= t[3] && r[3] >= t[1];
|
|
11733
11733
|
}
|
|
11734
|
-
function
|
|
11734
|
+
function Zo(r) {
|
|
11735
11735
|
return r[2] < r[0] || r[3] < r[1];
|
|
11736
11736
|
}
|
|
11737
11737
|
function _y(r, t) {
|
|
@@ -11739,7 +11739,7 @@ function _y(r, t) {
|
|
|
11739
11739
|
}
|
|
11740
11740
|
function py(r, t, e) {
|
|
11741
11741
|
let i = !1;
|
|
11742
|
-
const n =
|
|
11742
|
+
const n = sl(r, t), o = sl(r, e);
|
|
11743
11743
|
if (n === Wt.INTERSECTING || o === Wt.INTERSECTING)
|
|
11744
11744
|
i = !0;
|
|
11745
11745
|
else {
|
|
@@ -11891,9 +11891,9 @@ let by = zd.info;
|
|
|
11891
11891
|
function Nd(...r) {
|
|
11892
11892
|
by > zd.warn || console.warn(...r);
|
|
11893
11893
|
}
|
|
11894
|
-
let
|
|
11894
|
+
let hl = !0;
|
|
11895
11895
|
function Bd(r) {
|
|
11896
|
-
|
|
11896
|
+
hl = !(r === void 0 ? !0 : r);
|
|
11897
11897
|
}
|
|
11898
11898
|
function Bl(r, t) {
|
|
11899
11899
|
if (t !== void 0) {
|
|
@@ -12013,11 +12013,11 @@ function io(r, t) {
|
|
|
12013
12013
|
function Ud(r, t, e) {
|
|
12014
12014
|
return io(t, e)(r, void 0, r.length);
|
|
12015
12015
|
}
|
|
12016
|
-
function
|
|
12016
|
+
function cl(r, t) {
|
|
12017
12017
|
return r;
|
|
12018
12018
|
}
|
|
12019
12019
|
function ri(r, t) {
|
|
12020
|
-
return
|
|
12020
|
+
return hl && !eo(r, [0, 0]) && r[0] >= -180 && r[0] <= 180 && r[1] >= -90 && r[1] <= 90 && (hl = !1, Nd(
|
|
12021
12021
|
"Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates."
|
|
12022
12022
|
)), r;
|
|
12023
12023
|
}
|
|
@@ -12250,7 +12250,7 @@ function Ve(r, t, e, i, n, o, a, h) {
|
|
|
12250
12250
|
const c = Math.sin(o), d = Math.cos(o);
|
|
12251
12251
|
return r[0] = i * d, r[1] = n * c, r[2] = -i * c, r[3] = n * d, r[4] = a * i * d - h * i * c + t, r[5] = a * n * c + h * n * d + e, r;
|
|
12252
12252
|
}
|
|
12253
|
-
function
|
|
12253
|
+
function jo(r, t) {
|
|
12254
12254
|
const e = Wy(t);
|
|
12255
12255
|
dt(e !== 0, "Transformation matrix cannot be inverted");
|
|
12256
12256
|
const i = t[0], n = t[1], o = t[2], a = t[3], h = t[4], c = t[5];
|
|
@@ -12908,7 +12908,7 @@ function Qy(r, t, e, i) {
|
|
|
12908
12908
|
r[t++] = e[n];
|
|
12909
12909
|
return t;
|
|
12910
12910
|
}
|
|
12911
|
-
function
|
|
12911
|
+
function Wo(r, t, e, i) {
|
|
12912
12912
|
for (let n = 0, o = e.length; n < o; ++n) {
|
|
12913
12913
|
const a = e[n];
|
|
12914
12914
|
for (let h = 0; h < i; ++h)
|
|
@@ -12920,7 +12920,7 @@ function ql(r, t, e, i, n) {
|
|
|
12920
12920
|
n = n || [];
|
|
12921
12921
|
let o = 0;
|
|
12922
12922
|
for (let a = 0, h = e.length; a < h; ++a) {
|
|
12923
|
-
const c =
|
|
12923
|
+
const c = Wo(
|
|
12924
12924
|
r,
|
|
12925
12925
|
t,
|
|
12926
12926
|
e[a],
|
|
@@ -13064,7 +13064,7 @@ function Fr(r, t, e, i, n) {
|
|
|
13064
13064
|
}
|
|
13065
13065
|
return n.length = o, n;
|
|
13066
13066
|
}
|
|
13067
|
-
function
|
|
13067
|
+
function ul(r, t, e, i, n) {
|
|
13068
13068
|
n = n !== void 0 ? n : [];
|
|
13069
13069
|
let o = 0;
|
|
13070
13070
|
for (let a = 0, h = e.length; a < h; ++a) {
|
|
@@ -13224,7 +13224,7 @@ class no extends gn {
|
|
|
13224
13224
|
* @api
|
|
13225
13225
|
*/
|
|
13226
13226
|
setCoordinates(t, e) {
|
|
13227
|
-
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length =
|
|
13227
|
+
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length = Wo(
|
|
13228
13228
|
this.flatCoordinates,
|
|
13229
13229
|
0,
|
|
13230
13230
|
t,
|
|
@@ -13408,7 +13408,7 @@ function rf(r, t, e, i, n) {
|
|
|
13408
13408
|
return o;
|
|
13409
13409
|
return !1;
|
|
13410
13410
|
}
|
|
13411
|
-
function
|
|
13411
|
+
function Ho(r, t, e, i, n) {
|
|
13412
13412
|
const o = Ad(
|
|
13413
13413
|
pe(),
|
|
13414
13414
|
r,
|
|
@@ -13434,14 +13434,14 @@ function Wo(r, t, e, i, n) {
|
|
|
13434
13434
|
}
|
|
13435
13435
|
function lv(r, t, e, i, n) {
|
|
13436
13436
|
for (let o = 0, a = e.length; o < a; ++o) {
|
|
13437
|
-
if (
|
|
13437
|
+
if (Ho(r, t, e[o], i, n))
|
|
13438
13438
|
return !0;
|
|
13439
13439
|
t = e[o];
|
|
13440
13440
|
}
|
|
13441
13441
|
return !1;
|
|
13442
13442
|
}
|
|
13443
13443
|
function sf(r, t, e, i, n) {
|
|
13444
|
-
return !!(
|
|
13444
|
+
return !!(Ho(r, t, e, i, n) || rn(
|
|
13445
13445
|
r,
|
|
13446
13446
|
t,
|
|
13447
13447
|
e,
|
|
@@ -13483,7 +13483,7 @@ function of(r, t, e, i, n) {
|
|
|
13483
13483
|
e[o],
|
|
13484
13484
|
i,
|
|
13485
13485
|
n
|
|
13486
|
-
) && !
|
|
13486
|
+
) && !Ho(
|
|
13487
13487
|
r,
|
|
13488
13488
|
e[o - 1],
|
|
13489
13489
|
e[o],
|
|
@@ -13546,7 +13546,7 @@ function uv(r, t, e, i, n) {
|
|
|
13546
13546
|
}
|
|
13547
13547
|
return !0;
|
|
13548
13548
|
}
|
|
13549
|
-
function
|
|
13549
|
+
function dl(r, t, e, i, n) {
|
|
13550
13550
|
n = n !== void 0 ? n : !1;
|
|
13551
13551
|
for (let o = 0, a = e.length; o < a; ++o) {
|
|
13552
13552
|
const h = e[o], c = af(
|
|
@@ -13561,7 +13561,7 @@ function ul(r, t, e, i, n) {
|
|
|
13561
13561
|
}
|
|
13562
13562
|
function iu(r, t, e, i, n) {
|
|
13563
13563
|
for (let o = 0, a = e.length; o < a; ++o)
|
|
13564
|
-
t =
|
|
13564
|
+
t = dl(
|
|
13565
13565
|
r,
|
|
13566
13566
|
t,
|
|
13567
13567
|
e[o],
|
|
@@ -13686,7 +13686,7 @@ class zr extends gn {
|
|
|
13686
13686
|
*/
|
|
13687
13687
|
getCoordinates(t) {
|
|
13688
13688
|
let e;
|
|
13689
|
-
return t !== void 0 ? (e = this.getOrientedFlatCoordinates().slice(),
|
|
13689
|
+
return t !== void 0 ? (e = this.getOrientedFlatCoordinates().slice(), dl(e, 0, this.ends_, this.stride, t)) : e = this.flatCoordinates, Fr(e, 0, this.ends_, this.stride);
|
|
13690
13690
|
}
|
|
13691
13691
|
/**
|
|
13692
13692
|
* @return {Array<number>} Ends.
|
|
@@ -13772,7 +13772,7 @@ class zr extends gn {
|
|
|
13772
13772
|
getOrientedFlatCoordinates() {
|
|
13773
13773
|
if (this.orientedRevision_ != this.getRevision()) {
|
|
13774
13774
|
const t = this.flatCoordinates;
|
|
13775
|
-
lf(t, 0, this.ends_, this.stride) ? this.orientedFlatCoordinates_ = t : (this.orientedFlatCoordinates_ = t.slice(), this.orientedFlatCoordinates_.length =
|
|
13775
|
+
lf(t, 0, this.ends_, this.stride) ? this.orientedFlatCoordinates_ = t : (this.orientedFlatCoordinates_ = t.slice(), this.orientedFlatCoordinates_.length = dl(
|
|
13776
13776
|
this.orientedFlatCoordinates_,
|
|
13777
13777
|
0,
|
|
13778
13778
|
this.ends_,
|
|
@@ -13842,7 +13842,7 @@ class zr extends gn {
|
|
|
13842
13842
|
}
|
|
13843
13843
|
const so = zr;
|
|
13844
13844
|
function nu(r) {
|
|
13845
|
-
if (
|
|
13845
|
+
if (Zo(r))
|
|
13846
13846
|
throw new Error("Cannot create polygon from empty extent");
|
|
13847
13847
|
const t = r[0], e = r[1], i = r[2], n = r[3], o = [
|
|
13848
13848
|
t,
|
|
@@ -13858,7 +13858,7 @@ function nu(r) {
|
|
|
13858
13858
|
];
|
|
13859
13859
|
return new zr(o, "XY", [o.length]);
|
|
13860
13860
|
}
|
|
13861
|
-
const
|
|
13861
|
+
const Oa = 0;
|
|
13862
13862
|
class dv extends Ie {
|
|
13863
13863
|
/**
|
|
13864
13864
|
* @param {ViewOptions} [options] View options.
|
|
@@ -14170,7 +14170,7 @@ class dv extends Ie {
|
|
|
14170
14170
|
*/
|
|
14171
14171
|
getCenter() {
|
|
14172
14172
|
const t = this.getCenterInternal();
|
|
14173
|
-
return t &&
|
|
14173
|
+
return t && cl(t, this.getProjection());
|
|
14174
14174
|
}
|
|
14175
14175
|
/**
|
|
14176
14176
|
* Get the view center without transforming to user projection.
|
|
@@ -14236,7 +14236,7 @@ class dv extends Ie {
|
|
|
14236
14236
|
/** @type {!number} */
|
|
14237
14237
|
this.getRotation()
|
|
14238
14238
|
);
|
|
14239
|
-
return dt(n !== void 0, "The view rotation is not defined"),
|
|
14239
|
+
return dt(n !== void 0, "The view rotation is not defined"), al(e, i, n, t);
|
|
14240
14240
|
}
|
|
14241
14241
|
/**
|
|
14242
14242
|
* Get the maximum resolution of the view.
|
|
@@ -14430,7 +14430,7 @@ class dv extends Ie {
|
|
|
14430
14430
|
const o = this.padding_;
|
|
14431
14431
|
if (o) {
|
|
14432
14432
|
const a = this.getViewportSizeMinusPadding_();
|
|
14433
|
-
n =
|
|
14433
|
+
n = Fa(
|
|
14434
14434
|
n,
|
|
14435
14435
|
this.getViewportSize_(),
|
|
14436
14436
|
[a[0] / 2 + o[3], a[1] / 2 + o[0]],
|
|
@@ -14522,7 +14522,7 @@ class dv extends Ie {
|
|
|
14522
14522
|
"Invalid extent or geometry provided as `geometry`"
|
|
14523
14523
|
), Array.isArray(t)) {
|
|
14524
14524
|
dt(
|
|
14525
|
-
!
|
|
14525
|
+
!Zo(t),
|
|
14526
14526
|
"Cannot fit empty extent provided as `geometry`"
|
|
14527
14527
|
);
|
|
14528
14528
|
const n = nn(t, this.getProjection());
|
|
@@ -14602,7 +14602,7 @@ class dv extends Ie {
|
|
|
14602
14602
|
*/
|
|
14603
14603
|
centerOnInternal(t, e, i) {
|
|
14604
14604
|
this.setCenterInternal(
|
|
14605
|
-
|
|
14605
|
+
Fa(
|
|
14606
14606
|
t,
|
|
14607
14607
|
e,
|
|
14608
14608
|
i,
|
|
@@ -14623,7 +14623,7 @@ class dv extends Ie {
|
|
|
14623
14623
|
let o;
|
|
14624
14624
|
const a = this.padding_;
|
|
14625
14625
|
if (a && t) {
|
|
14626
|
-
const h = this.getViewportSizeMinusPadding_(-i), c =
|
|
14626
|
+
const h = this.getViewportSizeMinusPadding_(-i), c = Fa(
|
|
14627
14627
|
t,
|
|
14628
14628
|
n,
|
|
14629
14629
|
[h[0] / 2 + a[3], h[1] / 2 + a[0]],
|
|
@@ -14649,7 +14649,7 @@ class dv extends Ie {
|
|
|
14649
14649
|
* @api
|
|
14650
14650
|
*/
|
|
14651
14651
|
adjustCenter(t) {
|
|
14652
|
-
const e =
|
|
14652
|
+
const e = cl(this.targetCenter_, this.getProjection());
|
|
14653
14653
|
this.setCenter([
|
|
14654
14654
|
e[0] + t[0],
|
|
14655
14655
|
e[1] + t[1]
|
|
@@ -14938,7 +14938,7 @@ function fv(r) {
|
|
|
14938
14938
|
return ky;
|
|
14939
14939
|
}
|
|
14940
14940
|
function gv(r) {
|
|
14941
|
-
let t, e, i, a = r.minZoom !== void 0 ? r.minZoom :
|
|
14941
|
+
let t, e, i, a = r.minZoom !== void 0 ? r.minZoom : Oa, h = r.maxZoom !== void 0 ? r.maxZoom : 28;
|
|
14942
14942
|
const c = r.zoomFactor !== void 0 ? r.zoomFactor : 2, d = r.multiWorld !== void 0 ? r.multiWorld : !1, f = r.smoothResolutionConstraint !== void 0 ? r.smoothResolutionConstraint : !0, _ = r.showFullExtent !== void 0 ? r.showFullExtent : !1, m = Gl(r.projection, "EPSG:3857"), v = m.getExtent();
|
|
14943
14943
|
let y = r.constrainOnlyCenter, E = r.extent;
|
|
14944
14944
|
if (!d && !E && m.isGlobal() && (y = !1, E = v), r.resolutions !== void 0) {
|
|
@@ -14959,7 +14959,7 @@ function gv(r) {
|
|
|
14959
14959
|
const S = (v ? Math.max(Pt(v), Xe(v)) : (
|
|
14960
14960
|
// use an extent that can fit the whole world if need be
|
|
14961
14961
|
360 * Or.degrees / m.getMetersPerUnit()
|
|
14962
|
-
)) / Ol / Math.pow(2,
|
|
14962
|
+
)) / Ol / Math.pow(2, Oa), w = S / Math.pow(2, 28 - Oa);
|
|
14963
14963
|
e = r.maxResolution, e !== void 0 ? a = 0 : e = S / Math.pow(c, a), i = r.minResolution, i === void 0 && (r.maxZoom !== void 0 ? r.maxResolution !== void 0 ? i = e / Math.pow(c, h) : i = S / Math.pow(c, h) : i = w), h = a + Math.floor(
|
|
14964
14964
|
Math.log(e / i) / Math.log(c)
|
|
14965
14965
|
), i = e / Math.pow(c, h - a), r.constrainResolution ? t = My(
|
|
@@ -14995,7 +14995,7 @@ function _v(r) {
|
|
|
14995
14995
|
function pv(r) {
|
|
14996
14996
|
return !(r.sourceCenter && r.targetCenter && !eo(r.sourceCenter, r.targetCenter) || r.sourceResolution !== r.targetResolution || r.sourceRotation !== r.targetRotation);
|
|
14997
14997
|
}
|
|
14998
|
-
function
|
|
14998
|
+
function Fa(r, t, e, i, n) {
|
|
14999
14999
|
const o = Math.cos(-n);
|
|
15000
15000
|
let a = Math.sin(-n), h = r[0] * o - r[1] * a, c = r[1] * o + r[0] * a;
|
|
15001
15001
|
h += (t[0] / 2 - e[0]) * i, c += (e[1] - t[1] / 2) * i, a = -a;
|
|
@@ -15881,8 +15881,8 @@ function th(r, t) {
|
|
|
15881
15881
|
const i = t.zoom;
|
|
15882
15882
|
return i > r.minZoom && i <= r.maxZoom;
|
|
15883
15883
|
}
|
|
15884
|
-
const
|
|
15885
|
-
class Cv extends
|
|
15884
|
+
const Xo = Tv;
|
|
15885
|
+
class Cv extends Ao {
|
|
15886
15886
|
/**
|
|
15887
15887
|
* @param {import("../Map.js").default} map Map.
|
|
15888
15888
|
*/
|
|
@@ -15912,7 +15912,7 @@ class Cv extends Io {
|
|
|
15912
15912
|
-e.rotation,
|
|
15913
15913
|
-e.center[0],
|
|
15914
15914
|
-e.center[1]
|
|
15915
|
-
),
|
|
15915
|
+
), jo(n, i);
|
|
15916
15916
|
}
|
|
15917
15917
|
/**
|
|
15918
15918
|
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
@@ -16039,7 +16039,7 @@ class kv extends _i {
|
|
|
16039
16039
|
super(t), this.inversePixelTransform = e, this.frameState = i, this.context = n;
|
|
16040
16040
|
}
|
|
16041
16041
|
}
|
|
16042
|
-
const Pr = kv, Ns = "ol-hidden", Rv = "ol-selectable", qr = "ol-unselectable", au = "ol-unsupported",
|
|
16042
|
+
const Pr = kv, Ns = "ol-hidden", Rv = "ol-selectable", qr = "ol-unselectable", au = "ol-unsupported", Vo = "ol-control", lu = "ol-collapsed", Mv = new RegExp(
|
|
16043
16043
|
[
|
|
16044
16044
|
"^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)",
|
|
16045
16045
|
"(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)",
|
|
@@ -16082,7 +16082,7 @@ function te(r, t, e, i) {
|
|
|
16082
16082
|
return e && e.length ? n = e.shift() : Hl ? n = new OffscreenCanvas(r || 300, t || 300) : n = document.createElement("canvas"), r && (n.width = r), t && (n.height = t), /** @type {CanvasRenderingContext2D} */
|
|
16083
16083
|
n.getContext("2d", i);
|
|
16084
16084
|
}
|
|
16085
|
-
function
|
|
16085
|
+
function Yo(r) {
|
|
16086
16086
|
const t = r.canvas;
|
|
16087
16087
|
t.width = 1, t.height = 1, r.clearRect(0, 0, 1, 1);
|
|
16088
16088
|
}
|
|
@@ -16127,8 +16127,8 @@ function Dv(r, t) {
|
|
|
16127
16127
|
}
|
|
16128
16128
|
}
|
|
16129
16129
|
const gf = "10px sans-serif", he = "#000", Jn = "round", fi = [], gi = 0, Qn = "round", Br = 10, Gr = "#000", Ur = "center", ho = "middle", sn = [0, 0, 0, 0], Zr = 1, si = new Ie();
|
|
16130
|
-
let zn = null,
|
|
16131
|
-
const
|
|
16130
|
+
let zn = null, fl;
|
|
16131
|
+
const gl = {}, Ov = function() {
|
|
16132
16132
|
const t = "32px ", e = ["monospace", "serif"], i = e.length, n = "wmytzilWMYTZIL@#/&?$%10";
|
|
16133
16133
|
let o, a;
|
|
16134
16134
|
function h(d, f, _) {
|
|
@@ -16154,7 +16154,7 @@ const fl = {}, Ov = function() {
|
|
|
16154
16154
|
for (let _ = 0, m = f.length; _ < m; ++_) {
|
|
16155
16155
|
const v = f[_];
|
|
16156
16156
|
si.get(v) < 100 && (h.apply(this, v.split(`
|
|
16157
|
-
`)) ? (ir(
|
|
16157
|
+
`)) ? (ir(gl), zn = null, fl = void 0, si.set(v, 100)) : (si.set(v, si.get(v) + 1, !0), d = !1));
|
|
16158
16158
|
}
|
|
16159
16159
|
d && (clearInterval(o), o = void 0);
|
|
16160
16160
|
}
|
|
@@ -16173,20 +16173,20 @@ const fl = {}, Ov = function() {
|
|
|
16173
16173
|
}(), Fv = function() {
|
|
16174
16174
|
let r;
|
|
16175
16175
|
return function(t) {
|
|
16176
|
-
let e =
|
|
16176
|
+
let e = gl[t];
|
|
16177
16177
|
if (e == null) {
|
|
16178
16178
|
if (Hl) {
|
|
16179
16179
|
const i = df(t), n = _f(t, "Žg");
|
|
16180
16180
|
e = (isNaN(Number(i.lineHeight)) ? 1.2 : Number(i.lineHeight)) * (n.actualBoundingBoxAscent + n.actualBoundingBoxDescent);
|
|
16181
16181
|
} else
|
|
16182
16182
|
r || (r = document.createElement("div"), r.innerHTML = "M", r.style.minHeight = "0", r.style.maxHeight = "none", r.style.height = "auto", r.style.padding = "0", r.style.border = "none", r.style.position = "absolute", r.style.display = "block", r.style.left = "-99999px"), r.style.font = t, document.body.appendChild(r), e = r.offsetHeight, document.body.removeChild(r);
|
|
16183
|
-
|
|
16183
|
+
gl[t] = e;
|
|
16184
16184
|
}
|
|
16185
16185
|
return e;
|
|
16186
16186
|
};
|
|
16187
16187
|
}();
|
|
16188
16188
|
function _f(r, t) {
|
|
16189
|
-
return zn || (zn = te(1, 1)), r !=
|
|
16189
|
+
return zn || (zn = te(1, 1)), r != fl && (zn.font = r, fl = zn.font), zn.measureText(t);
|
|
16190
16190
|
}
|
|
16191
16191
|
function co(r, t) {
|
|
16192
16192
|
return _f(r, t).width;
|
|
@@ -16335,7 +16335,7 @@ class Oi extends _i {
|
|
|
16335
16335
|
super(t), this.layer = e;
|
|
16336
16336
|
}
|
|
16337
16337
|
}
|
|
16338
|
-
const
|
|
16338
|
+
const za = {
|
|
16339
16339
|
LAYERS: "layers"
|
|
16340
16340
|
};
|
|
16341
16341
|
class eh extends uf {
|
|
@@ -16350,7 +16350,7 @@ class eh extends uf {
|
|
|
16350
16350
|
);
|
|
16351
16351
|
delete e.layers;
|
|
16352
16352
|
let i = t.layers;
|
|
16353
|
-
super(e), this.on, this.once, this.un, this.layersListenerKeys_ = [], this.listenerKeys_ = {}, this.addChangeListener(
|
|
16353
|
+
super(e), this.on, this.once, this.un, this.layersListenerKeys_ = [], this.listenerKeys_ = {}, this.addChangeListener(za.LAYERS, this.handleLayersChanged_), i ? Array.isArray(i) ? i = new We(i.slice(), { unique: !0 }) : dt(
|
|
16354
16354
|
typeof /** @type {?} */
|
|
16355
16355
|
i.getArray == "function",
|
|
16356
16356
|
"Expected `layers` to be an array or a `Collection`"
|
|
@@ -16439,7 +16439,7 @@ class eh extends uf {
|
|
|
16439
16439
|
getLayers() {
|
|
16440
16440
|
return (
|
|
16441
16441
|
/** @type {!Collection<import("./Base.js").default>} */
|
|
16442
|
-
this.get(
|
|
16442
|
+
this.get(za.LAYERS)
|
|
16443
16443
|
);
|
|
16444
16444
|
}
|
|
16445
16445
|
/**
|
|
@@ -16457,7 +16457,7 @@ class eh extends uf {
|
|
|
16457
16457
|
for (let n = 0, o = i.length; n < o; ++n)
|
|
16458
16458
|
this.dispatchEvent(new Oi("removelayer", i[n]));
|
|
16459
16459
|
}
|
|
16460
|
-
this.set(
|
|
16460
|
+
this.set(za.LAYERS, t);
|
|
16461
16461
|
}
|
|
16462
16462
|
/**
|
|
16463
16463
|
* @param {Array<import("./Layer.js").default>} [array] Array of layers (to be modified in place).
|
|
@@ -16507,7 +16507,7 @@ class eh extends uf {
|
|
|
16507
16507
|
return "ready";
|
|
16508
16508
|
}
|
|
16509
16509
|
}
|
|
16510
|
-
const
|
|
16510
|
+
const Ko = eh;
|
|
16511
16511
|
class Zv extends _i {
|
|
16512
16512
|
/**
|
|
16513
16513
|
* @param {string} type Event type.
|
|
@@ -16611,7 +16611,7 @@ const Di = jv, Mt = {
|
|
|
16611
16611
|
POINTERENTER: "pointerenter",
|
|
16612
16612
|
POINTERLEAVE: "pointerleave",
|
|
16613
16613
|
POINTERCANCEL: "pointercancel"
|
|
16614
|
-
},
|
|
16614
|
+
}, _l = {
|
|
16615
16615
|
POINTERMOVE: "pointermove",
|
|
16616
16616
|
POINTERDOWN: "pointerdown",
|
|
16617
16617
|
POINTERUP: "pointerup",
|
|
@@ -16621,7 +16621,7 @@ const Di = jv, Mt = {
|
|
|
16621
16621
|
POINTERLEAVE: "pointerleave",
|
|
16622
16622
|
POINTERCANCEL: "pointercancel"
|
|
16623
16623
|
};
|
|
16624
|
-
class Wv extends
|
|
16624
|
+
class Wv extends Oo {
|
|
16625
16625
|
/**
|
|
16626
16626
|
* @param {import("./Map.js").default} map The map with the viewport to listen to events on.
|
|
16627
16627
|
* @param {number} [moveTolerance] The minimal distance the pointer must travel to trigger a move.
|
|
@@ -16631,12 +16631,12 @@ class Wv extends Do {
|
|
|
16631
16631
|
const i = this.map_.getViewport();
|
|
16632
16632
|
this.activePointers_ = [], this.trackedTouches_ = {}, this.element_ = i, this.pointerdownListenerKey_ = ht(
|
|
16633
16633
|
i,
|
|
16634
|
-
|
|
16634
|
+
_l.POINTERDOWN,
|
|
16635
16635
|
this.handlePointerDown_,
|
|
16636
16636
|
this
|
|
16637
16637
|
), this.originalPointerMoveEvent_, this.relayedListenerKey_ = ht(
|
|
16638
16638
|
i,
|
|
16639
|
-
|
|
16639
|
+
_l.POINTERMOVE,
|
|
16640
16640
|
this.relayMoveEvent_,
|
|
16641
16641
|
this
|
|
16642
16642
|
), this.boundHandleTouchMove_ = this.handleTouchMove_.bind(this), this.element_.addEventListener(
|
|
@@ -17161,8 +17161,8 @@ class $v extends Ie {
|
|
|
17161
17161
|
this.target_ = typeof t == "string" ? document.getElementById(t) : t;
|
|
17162
17162
|
}
|
|
17163
17163
|
}
|
|
17164
|
-
const
|
|
17165
|
-
class Jv extends
|
|
17164
|
+
const qo = $v;
|
|
17165
|
+
class Jv extends qo {
|
|
17166
17166
|
/**
|
|
17167
17167
|
* @param {Options} [options] Attribution options.
|
|
17168
17168
|
*/
|
|
@@ -17182,7 +17182,7 @@ class Jv extends Ko {
|
|
|
17182
17182
|
this.handleClick_.bind(this),
|
|
17183
17183
|
!1
|
|
17184
17184
|
);
|
|
17185
|
-
const d = e + " " + qr + " " +
|
|
17185
|
+
const d = e + " " + qr + " " + Vo + (this.collapsed_ && this.collapsible_ ? " " + lu : "") + (this.collapsible_ ? "" : " ol-uncollapsible"), f = this.element;
|
|
17186
17186
|
f.className = d, f.appendChild(this.toggleButton_), f.appendChild(this.ulElement_), this.renderedAttributions_ = [], this.renderedVisible_ = !0;
|
|
17187
17187
|
}
|
|
17188
17188
|
/**
|
|
@@ -17278,7 +17278,7 @@ class Jv extends Ko {
|
|
|
17278
17278
|
}
|
|
17279
17279
|
}
|
|
17280
17280
|
const pf = Jv;
|
|
17281
|
-
class Qv extends
|
|
17281
|
+
class Qv extends qo {
|
|
17282
17282
|
/**
|
|
17283
17283
|
* @param {Options} [options] Rotate options.
|
|
17284
17284
|
*/
|
|
@@ -17296,7 +17296,7 @@ class Qv extends Ko {
|
|
|
17296
17296
|
this.handleClick_.bind(this),
|
|
17297
17297
|
!1
|
|
17298
17298
|
);
|
|
17299
|
-
const h = e + " " + qr + " " +
|
|
17299
|
+
const h = e + " " + qr + " " + Vo, c = this.element;
|
|
17300
17300
|
c.className = h, c.appendChild(a), this.callResetNorth_ = t.resetNorth ? t.resetNorth : void 0, this.duration_ = t.duration !== void 0 ? t.duration : 250, this.autoHide_ = t.autoHide !== void 0 ? t.autoHide : !0, this.rotation_ = void 0, this.autoHide_ && this.element.classList.add(Ns);
|
|
17301
17301
|
}
|
|
17302
17302
|
/**
|
|
@@ -17342,7 +17342,7 @@ class Qv extends Ko {
|
|
|
17342
17342
|
}
|
|
17343
17343
|
}
|
|
17344
17344
|
const tx = Qv;
|
|
17345
|
-
class ex extends
|
|
17345
|
+
class ex extends qo {
|
|
17346
17346
|
/**
|
|
17347
17347
|
* @param {Options} [options] Zoom options.
|
|
17348
17348
|
*/
|
|
@@ -17367,7 +17367,7 @@ class ex extends Ko {
|
|
|
17367
17367
|
this.handleClick_.bind(this, -i),
|
|
17368
17368
|
!1
|
|
17369
17369
|
);
|
|
17370
|
-
const m = e + " " + qr + " " +
|
|
17370
|
+
const m = e + " " + qr + " " + Vo, v = this.element;
|
|
17371
17371
|
v.className = m, v.appendChild(f), v.appendChild(_), this.duration_ = t.duration !== void 0 ? t.duration : 250;
|
|
17372
17372
|
}
|
|
17373
17373
|
/**
|
|
@@ -17613,7 +17613,7 @@ function nh(r) {
|
|
|
17613
17613
|
return { clientX: e / t, clientY: i / t };
|
|
17614
17614
|
}
|
|
17615
17615
|
const Jr = ax;
|
|
17616
|
-
function
|
|
17616
|
+
function pl(r) {
|
|
17617
17617
|
const t = arguments;
|
|
17618
17618
|
return function(e) {
|
|
17619
17619
|
let i = !0;
|
|
@@ -17669,7 +17669,7 @@ const lx = function(r) {
|
|
|
17669
17669
|
// different type like `SVGElement`.
|
|
17670
17670
|
// @ts-ignore
|
|
17671
17671
|
!t.target.isContentEditable;
|
|
17672
|
-
},
|
|
17672
|
+
}, Na = function(r) {
|
|
17673
17673
|
const t = (
|
|
17674
17674
|
/** @type {import("../MapBrowserEvent").default} */
|
|
17675
17675
|
r.originalEvent
|
|
@@ -17694,10 +17694,10 @@ class gx extends Jr {
|
|
|
17694
17694
|
*/
|
|
17695
17695
|
constructor(t) {
|
|
17696
17696
|
super({
|
|
17697
|
-
stopDown:
|
|
17697
|
+
stopDown: Do
|
|
17698
17698
|
}), t = t || {}, this.kinetic_ = t.kinetic, this.lastCentroid = null, this.lastPointersCount_, this.panning_ = !1;
|
|
17699
|
-
const e = t.condition ? t.condition :
|
|
17700
|
-
this.condition_ = t.onFocusOnly ?
|
|
17699
|
+
const e = t.condition ? t.condition : pl(xf, fx);
|
|
17700
|
+
this.condition_ = t.onFocusOnly ? pl(yf, e) : e, this.noKinetic_ = !1;
|
|
17701
17701
|
}
|
|
17702
17702
|
/**
|
|
17703
17703
|
* Handle pointer drag events.
|
|
@@ -17762,7 +17762,7 @@ class px extends Jr {
|
|
|
17762
17762
|
*/
|
|
17763
17763
|
constructor(t) {
|
|
17764
17764
|
t = t || {}, super({
|
|
17765
|
-
stopDown:
|
|
17765
|
+
stopDown: Do
|
|
17766
17766
|
}), this.condition_ = t.condition ? t.condition : lx, this.lastAngle_ = void 0, this.duration_ = t.duration !== void 0 ? t.duration : 250;
|
|
17767
17767
|
}
|
|
17768
17768
|
/**
|
|
@@ -17770,7 +17770,7 @@ class px extends Jr {
|
|
|
17770
17770
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
|
|
17771
17771
|
*/
|
|
17772
17772
|
handleDragEvent(t) {
|
|
17773
|
-
if (!
|
|
17773
|
+
if (!Na(t))
|
|
17774
17774
|
return;
|
|
17775
17775
|
const e = t.map, i = e.getView();
|
|
17776
17776
|
if (i.getConstraints().rotation === Wl)
|
|
@@ -17788,7 +17788,7 @@ class px extends Jr {
|
|
|
17788
17788
|
* @return {boolean} If the event was consumed.
|
|
17789
17789
|
*/
|
|
17790
17790
|
handleUpEvent(t) {
|
|
17791
|
-
return
|
|
17791
|
+
return Na(t) ? (t.map.getView().endInteraction(this.duration_), !1) : !0;
|
|
17792
17792
|
}
|
|
17793
17793
|
/**
|
|
17794
17794
|
* Handle pointer down events.
|
|
@@ -17796,11 +17796,11 @@ class px extends Jr {
|
|
|
17796
17796
|
* @return {boolean} If the event was consumed.
|
|
17797
17797
|
*/
|
|
17798
17798
|
handleDownEvent(t) {
|
|
17799
|
-
return
|
|
17799
|
+
return Na(t) && vf(t) && this.condition_(t) ? (t.map.getView().beginInteraction(), this.lastAngle_ = void 0, !0) : !1;
|
|
17800
17800
|
}
|
|
17801
17801
|
}
|
|
17802
17802
|
const mx = px;
|
|
17803
|
-
class yx extends
|
|
17803
|
+
class yx extends Ao {
|
|
17804
17804
|
/**
|
|
17805
17805
|
* @param {string} className CSS class name.
|
|
17806
17806
|
*/
|
|
@@ -17886,7 +17886,7 @@ const vx = yx, Bs = {
|
|
|
17886
17886
|
*/
|
|
17887
17887
|
BOXCANCEL: "boxcancel"
|
|
17888
17888
|
};
|
|
17889
|
-
class
|
|
17889
|
+
class Ba extends _i {
|
|
17890
17890
|
/**
|
|
17891
17891
|
* @param {string} type The event type.
|
|
17892
17892
|
* @param {import("../coordinate.js").Coordinate} coordinate The event coordinate.
|
|
@@ -17930,7 +17930,7 @@ class xx extends Jr {
|
|
|
17930
17930
|
*/
|
|
17931
17931
|
handleDragEvent(t) {
|
|
17932
17932
|
this.box_.setPixels(this.startPixel_, t.pixel), this.dispatchEvent(
|
|
17933
|
-
new
|
|
17933
|
+
new Ba(
|
|
17934
17934
|
Bs.BOXDRAG,
|
|
17935
17935
|
t.coordinate,
|
|
17936
17936
|
t
|
|
@@ -17950,7 +17950,7 @@ class xx extends Jr {
|
|
|
17950
17950
|
t.pixel
|
|
17951
17951
|
);
|
|
17952
17952
|
return e && this.onBoxEnd(t), this.dispatchEvent(
|
|
17953
|
-
new
|
|
17953
|
+
new Ba(
|
|
17954
17954
|
e ? Bs.BOXEND : Bs.BOXCANCEL,
|
|
17955
17955
|
t.coordinate,
|
|
17956
17956
|
t
|
|
@@ -17964,7 +17964,7 @@ class xx extends Jr {
|
|
|
17964
17964
|
*/
|
|
17965
17965
|
handleDownEvent(t) {
|
|
17966
17966
|
return this.condition_(t) ? (this.startPixel_ = t.pixel, this.box_.setMap(t.map), this.box_.setPixels(this.startPixel_, this.startPixel_), this.dispatchEvent(
|
|
17967
|
-
new
|
|
17967
|
+
new Ba(
|
|
17968
17968
|
Bs.BOXSTART,
|
|
17969
17969
|
t.coordinate,
|
|
17970
17970
|
t
|
|
@@ -18150,7 +18150,7 @@ class Rx extends $r {
|
|
|
18150
18150
|
t
|
|
18151
18151
|
), this.totalDelta_ = 0, this.lastDelta_ = 0, this.maxDelta_ = t.maxDelta !== void 0 ? t.maxDelta : 1, this.duration_ = t.duration !== void 0 ? t.duration : 250, this.timeout_ = t.timeout !== void 0 ? t.timeout : 80, this.useAnchor_ = t.useAnchor !== void 0 ? t.useAnchor : !0, this.constrainResolution_ = t.constrainResolution !== void 0 ? t.constrainResolution : !1;
|
|
18152
18152
|
const e = t.condition ? t.condition : cx;
|
|
18153
|
-
this.condition_ = t.onFocusOnly ?
|
|
18153
|
+
this.condition_ = t.onFocusOnly ? pl(yf, e) : e, this.lastAnchor_ = null, this.startTime_ = void 0, this.timeoutId_, this.mode_ = void 0, this.trackpadEventGap_ = 400, this.trackpadTimeoutId_, this.deltaPerZoom_ = 300;
|
|
18154
18154
|
}
|
|
18155
18155
|
/**
|
|
18156
18156
|
* @private
|
|
@@ -18234,7 +18234,7 @@ class Ix extends Jr {
|
|
|
18234
18234
|
/** @type {import("./Pointer.js").Options} */
|
|
18235
18235
|
t
|
|
18236
18236
|
);
|
|
18237
|
-
e.stopDown || (e.stopDown =
|
|
18237
|
+
e.stopDown || (e.stopDown = Do), super(e), this.anchor_ = null, this.lastAngle_ = void 0, this.rotating_ = !1, this.rotationDelta_ = 0, this.threshold_ = t.threshold !== void 0 ? t.threshold : 0.3, this.duration_ = t.duration !== void 0 ? t.duration : 250;
|
|
18238
18238
|
}
|
|
18239
18239
|
/**
|
|
18240
18240
|
* Handle pointer drag events.
|
|
@@ -18288,7 +18288,7 @@ class Dx extends Jr {
|
|
|
18288
18288
|
/** @type {import("./Pointer.js").Options} */
|
|
18289
18289
|
t
|
|
18290
18290
|
);
|
|
18291
|
-
e.stopDown || (e.stopDown =
|
|
18291
|
+
e.stopDown || (e.stopDown = Do), super(e), this.anchor_ = null, this.duration_ = t.duration !== void 0 ? t.duration : 400, this.lastDistance_ = void 0, this.lastScaleDelta_ = 1;
|
|
18292
18292
|
}
|
|
18293
18293
|
/**
|
|
18294
18294
|
* Handle pointer drag events.
|
|
@@ -18372,18 +18372,18 @@ function _e(r, t) {
|
|
|
18372
18372
|
return Array.isArray(r) ? r : (t === void 0 ? t = [r, r] : (t[0] = r, t[1] = r), t);
|
|
18373
18373
|
}
|
|
18374
18374
|
function wf(r) {
|
|
18375
|
-
if (r instanceof
|
|
18375
|
+
if (r instanceof Xo) {
|
|
18376
18376
|
r.setMapInternal(null);
|
|
18377
18377
|
return;
|
|
18378
18378
|
}
|
|
18379
|
-
r instanceof
|
|
18379
|
+
r instanceof Ko && r.getLayers().forEach(wf);
|
|
18380
18380
|
}
|
|
18381
18381
|
function Lf(r, t) {
|
|
18382
|
-
if (r instanceof
|
|
18382
|
+
if (r instanceof Xo) {
|
|
18383
18383
|
r.setMapInternal(t);
|
|
18384
18384
|
return;
|
|
18385
18385
|
}
|
|
18386
|
-
if (r instanceof
|
|
18386
|
+
if (r instanceof Ko) {
|
|
18387
18387
|
const e = r.getLayers().getArray();
|
|
18388
18388
|
for (let i = 0, n = e.length; i < n; ++i)
|
|
18389
18389
|
Lf(e[i], t);
|
|
@@ -18596,7 +18596,7 @@ class Nx extends Ie {
|
|
|
18596
18596
|
const t = [];
|
|
18597
18597
|
function e(i) {
|
|
18598
18598
|
i.forEach(function(n) {
|
|
18599
|
-
n instanceof
|
|
18599
|
+
n instanceof Ko ? e(n.getLayers()) : t.push(n);
|
|
18600
18600
|
});
|
|
18601
18601
|
}
|
|
18602
18602
|
return e(this.getLayers()), t;
|
|
@@ -18696,7 +18696,7 @@ class Nx extends Ie {
|
|
|
18696
18696
|
* @api
|
|
18697
18697
|
*/
|
|
18698
18698
|
getCoordinateFromPixel(t) {
|
|
18699
|
-
return
|
|
18699
|
+
return cl(
|
|
18700
18700
|
this.getCoordinateFromPixelInternal(t),
|
|
18701
18701
|
this.getView().getProjection()
|
|
18702
18702
|
);
|
|
@@ -18933,7 +18933,7 @@ class Nx extends Ie {
|
|
|
18933
18933
|
/** @type {PointerEvent} */
|
|
18934
18934
|
t.originalEvent
|
|
18935
18935
|
), i = e.type;
|
|
18936
|
-
if (i ===
|
|
18936
|
+
if (i === _l.POINTERDOWN || i === st.WHEEL || i === st.KEYDOWN) {
|
|
18937
18937
|
const n = this.getOwnerDocument(), o = this.viewport_.getRootNode ? this.viewport_.getRootNode() : n, a = (
|
|
18938
18938
|
/** @type {Node} */
|
|
18939
18939
|
e.target
|
|
@@ -19209,7 +19209,7 @@ class Nx extends Ie {
|
|
|
19209
19209
|
animate: !1,
|
|
19210
19210
|
coordinateToPixelTransform: this.coordinateToPixelTransform_,
|
|
19211
19211
|
declutterTree: null,
|
|
19212
|
-
extent:
|
|
19212
|
+
extent: al(
|
|
19213
19213
|
h.center,
|
|
19214
19214
|
h.resolution,
|
|
19215
19215
|
h.rotation,
|
|
@@ -19232,7 +19232,7 @@ class Nx extends Ie {
|
|
|
19232
19232
|
renderTargets: {}
|
|
19233
19233
|
}, h.nextCenter && h.nextResolution) {
|
|
19234
19234
|
const c = isNaN(h.nextRotation) ? h.rotation : h.nextRotation;
|
|
19235
|
-
o.nextExtent =
|
|
19235
|
+
o.nextExtent = al(
|
|
19236
19236
|
h.nextCenter,
|
|
19237
19237
|
h.nextResolution,
|
|
19238
19238
|
c,
|
|
@@ -19243,7 +19243,7 @@ class Nx extends Ie {
|
|
|
19243
19243
|
this.frameState_ = o, this.renderer_.renderFrame(o), o && (o.animate && this.render(), Array.prototype.push.apply(
|
|
19244
19244
|
this.postRenderFunctions_,
|
|
19245
19245
|
o.postRenderFunctions
|
|
19246
|
-
), n && (!this.previousExtent_ || !
|
|
19246
|
+
), n && (!this.previousExtent_ || !Zo(this.previousExtent_) && !$n(o.extent, this.previousExtent_)) && (this.dispatchEvent(
|
|
19247
19247
|
new Nn(ai.MOVESTART, this, n)
|
|
19248
19248
|
), this.previousExtent_ = Kr(this.previousExtent_)), this.previousExtent_ && !o.viewHints[Ht.ANIMATING] && !o.viewHints[Ht.INTERACTING] && !$n(o.extent, this.previousExtent_) && (this.dispatchEvent(
|
|
19249
19249
|
new Nn(ai.MOVEEND, this, o)
|
|
@@ -19340,7 +19340,7 @@ function Bx(r) {
|
|
|
19340
19340
|
r.layers.getLayers == "function" ? (
|
|
19341
19341
|
/** @type {LayerGroup} */
|
|
19342
19342
|
r.layers
|
|
19343
|
-
) : new
|
|
19343
|
+
) : new Ko({
|
|
19344
19344
|
layers: (
|
|
19345
19345
|
/** @type {Collection<import("./layer/Base.js").default>|Array<import("./layer/Base.js").default>} */
|
|
19346
19346
|
r.layers
|
|
@@ -19979,7 +19979,7 @@ class ah {
|
|
|
19979
19979
|
this.color_ = t;
|
|
19980
19980
|
}
|
|
19981
19981
|
}
|
|
19982
|
-
const
|
|
19982
|
+
const $o = ah;
|
|
19983
19983
|
class lh {
|
|
19984
19984
|
/**
|
|
19985
19985
|
* @param {Options} [options] Options.
|
|
@@ -20125,7 +20125,7 @@ class lh {
|
|
|
20125
20125
|
}
|
|
20126
20126
|
}
|
|
20127
20127
|
const fo = lh;
|
|
20128
|
-
class
|
|
20128
|
+
class Jo {
|
|
20129
20129
|
/**
|
|
20130
20130
|
* @param {Options} [options] Style options.
|
|
20131
20131
|
*/
|
|
@@ -20140,7 +20140,7 @@ class $o {
|
|
|
20140
20140
|
clone() {
|
|
20141
20141
|
let t = this.getGeometry();
|
|
20142
20142
|
return t && typeof t == "object" && (t = /** @type {import("../geom/Geometry.js").default} */
|
|
20143
|
-
t.clone()), new
|
|
20143
|
+
t.clone()), new Jo({
|
|
20144
20144
|
geometry: t,
|
|
20145
20145
|
fill: this.getFill() ? this.getFill().clone() : void 0,
|
|
20146
20146
|
image: this.getImage() ? this.getImage().clone() : void 0,
|
|
@@ -20327,17 +20327,17 @@ function Ux(r) {
|
|
|
20327
20327
|
}
|
|
20328
20328
|
return t;
|
|
20329
20329
|
}
|
|
20330
|
-
let
|
|
20330
|
+
let Ga = null;
|
|
20331
20331
|
function Zx(r, t) {
|
|
20332
|
-
if (!
|
|
20333
|
-
const e = new
|
|
20332
|
+
if (!Ga) {
|
|
20333
|
+
const e = new $o({
|
|
20334
20334
|
color: "rgba(255,255,255,0.4)"
|
|
20335
20335
|
}), i = new fo({
|
|
20336
20336
|
color: "#3399CC",
|
|
20337
20337
|
width: 1.25
|
|
20338
20338
|
});
|
|
20339
|
-
|
|
20340
|
-
new
|
|
20339
|
+
Ga = [
|
|
20340
|
+
new Jo({
|
|
20341
20341
|
image: new Cf({
|
|
20342
20342
|
fill: e,
|
|
20343
20343
|
stroke: i,
|
|
@@ -20348,12 +20348,12 @@ function Zx(r, t) {
|
|
|
20348
20348
|
})
|
|
20349
20349
|
];
|
|
20350
20350
|
}
|
|
20351
|
-
return
|
|
20351
|
+
return Ga;
|
|
20352
20352
|
}
|
|
20353
20353
|
function fu(r) {
|
|
20354
20354
|
return r.getGeometry();
|
|
20355
20355
|
}
|
|
20356
|
-
const Hn =
|
|
20356
|
+
const Hn = Jo;
|
|
20357
20357
|
function jx(r, t, e) {
|
|
20358
20358
|
const i = (
|
|
20359
20359
|
/** @type {HTMLImageElement} */
|
|
@@ -20393,7 +20393,7 @@ function Hx(r, t) {
|
|
|
20393
20393
|
) : Wx(r);
|
|
20394
20394
|
}
|
|
20395
20395
|
let Lr = null;
|
|
20396
|
-
class Xx extends
|
|
20396
|
+
class Xx extends Oo {
|
|
20397
20397
|
/**
|
|
20398
20398
|
* @param {HTMLImageElement|HTMLCanvasElement|ImageBitmap} image Image.
|
|
20399
20399
|
* @param {string|undefined} src Src.
|
|
@@ -20807,7 +20807,7 @@ class uh {
|
|
|
20807
20807
|
* @param {Options} [options] Options.
|
|
20808
20808
|
*/
|
|
20809
20809
|
constructor(t) {
|
|
20810
|
-
t = t || {}, this.font_ = t.font, this.rotation_ = t.rotation, this.rotateWithView_ = t.rotateWithView, this.scale_ = t.scale, this.scaleArray_ = _e(t.scale !== void 0 ? t.scale : 1), this.text_ = t.text, this.textAlign_ = t.textAlign, this.justify_ = t.justify, this.repeat_ = t.repeat, this.textBaseline_ = t.textBaseline, this.fill_ = t.fill !== void 0 ? t.fill : new
|
|
20810
|
+
t = t || {}, this.font_ = t.font, this.rotation_ = t.rotation, this.rotateWithView_ = t.rotateWithView, this.scale_ = t.scale, this.scaleArray_ = _e(t.scale !== void 0 ? t.scale : 1), this.text_ = t.text, this.textAlign_ = t.textAlign, this.justify_ = t.justify, this.repeat_ = t.repeat, this.textBaseline_ = t.textBaseline, this.fill_ = t.fill !== void 0 ? t.fill : new $o({ color: Yx }), this.maxAngle_ = t.maxAngle !== void 0 ? t.maxAngle : Math.PI / 4, this.placement_ = t.placement !== void 0 ? t.placement : "point", this.overflow_ = !!t.overflow, this.stroke_ = t.stroke !== void 0 ? t.stroke : null, this.offsetX_ = t.offsetX !== void 0 ? t.offsetX : 0, this.offsetY_ = t.offsetY !== void 0 ? t.offsetY : 0, this.backgroundFill_ = t.backgroundFill ? t.backgroundFill : null, this.backgroundStroke_ = t.backgroundStroke ? t.backgroundStroke : null, this.padding_ = t.padding === void 0 ? null : t.padding;
|
|
20811
20811
|
}
|
|
20812
20812
|
/**
|
|
20813
20813
|
* Clones the style.
|
|
@@ -21214,7 +21214,7 @@ function Rf() {
|
|
|
21214
21214
|
properties: /* @__PURE__ */ new Set()
|
|
21215
21215
|
};
|
|
21216
21216
|
}
|
|
21217
|
-
function
|
|
21217
|
+
function Qo(r, t) {
|
|
21218
21218
|
switch (typeof r) {
|
|
21219
21219
|
case "boolean":
|
|
21220
21220
|
return new Ni(Jt, r);
|
|
@@ -21307,7 +21307,7 @@ const N = {
|
|
|
21307
21307
|
function Qx(r, t) {
|
|
21308
21308
|
if (r.length !== 2)
|
|
21309
21309
|
throw new Error("Expected 1 argument for get operation");
|
|
21310
|
-
const e =
|
|
21310
|
+
const e = Qo(r[1], t);
|
|
21311
21311
|
if (!(e instanceof Ni))
|
|
21312
21312
|
throw new Error("Expected a literal argument for get operation");
|
|
21313
21313
|
if (typeof e.value != "string")
|
|
@@ -21317,7 +21317,7 @@ function Qx(r, t) {
|
|
|
21317
21317
|
function t0(r, t) {
|
|
21318
21318
|
if (r.length !== 2)
|
|
21319
21319
|
throw new Error("Expected 1 argument for var operation");
|
|
21320
|
-
const e =
|
|
21320
|
+
const e = Qo(r[1], t);
|
|
21321
21321
|
if (!(e instanceof Ni))
|
|
21322
21322
|
throw new Error("Expected a literal argument for var operation");
|
|
21323
21323
|
if (typeof e.value != "string")
|
|
@@ -21346,7 +21346,7 @@ function bt(r, t, e) {
|
|
|
21346
21346
|
);
|
|
21347
21347
|
const h = new Array(a);
|
|
21348
21348
|
for (let c = 0; c < a; ++c) {
|
|
21349
|
-
const d =
|
|
21349
|
+
const d = Qo(i[c + 1], n);
|
|
21350
21350
|
if (!kf(e, d.type)) {
|
|
21351
21351
|
const f = go(e), _ = go(d.type);
|
|
21352
21352
|
throw new Error(
|
|
@@ -21378,7 +21378,7 @@ function Mf() {
|
|
|
21378
21378
|
};
|
|
21379
21379
|
}
|
|
21380
21380
|
function ji(r, t, e) {
|
|
21381
|
-
const i =
|
|
21381
|
+
const i = Qo(r, e);
|
|
21382
21382
|
if (!kf(t, i.type)) {
|
|
21383
21383
|
const n = go(t), o = go(i.type);
|
|
21384
21384
|
throw new Error(
|
|
@@ -21593,7 +21593,7 @@ function c0(r) {
|
|
|
21593
21593
|
function _u(r) {
|
|
21594
21594
|
const t = Rf(), e = r.length, i = new Array(e);
|
|
21595
21595
|
for (let a = 0; a < e; ++a)
|
|
21596
|
-
i[a] =
|
|
21596
|
+
i[a] = ml(r[a], t);
|
|
21597
21597
|
const n = Mf(), o = new Array(e);
|
|
21598
21598
|
return function(a, h) {
|
|
21599
21599
|
n.properties = a.getPropertiesInternal(), n.resolution = h;
|
|
@@ -21611,9 +21611,9 @@ function u0(r, t) {
|
|
|
21611
21611
|
const c = o.style.length;
|
|
21612
21612
|
h = new Array(c);
|
|
21613
21613
|
for (let d = 0; d < c; ++d)
|
|
21614
|
-
h[d] =
|
|
21614
|
+
h[d] = ml(o.style[d], t);
|
|
21615
21615
|
} else
|
|
21616
|
-
h = [
|
|
21616
|
+
h = [ml(o.style, t)];
|
|
21617
21617
|
i[n] = { filter: a, styles: h };
|
|
21618
21618
|
}
|
|
21619
21619
|
return function(n) {
|
|
@@ -21632,7 +21632,7 @@ function u0(r, t) {
|
|
|
21632
21632
|
return o;
|
|
21633
21633
|
};
|
|
21634
21634
|
}
|
|
21635
|
-
function
|
|
21635
|
+
function ml(r, t) {
|
|
21636
21636
|
const e = jr(r, "", t), i = Wr(r, "", t), n = d0(r, t), o = f0(r, t), a = ue(r, "z-index", t), h = new Hn();
|
|
21637
21637
|
return function(c) {
|
|
21638
21638
|
let d = !0;
|
|
@@ -21663,7 +21663,7 @@ function jr(r, t, e) {
|
|
|
21663
21663
|
);
|
|
21664
21664
|
if (!i)
|
|
21665
21665
|
return null;
|
|
21666
|
-
const n = new
|
|
21666
|
+
const n = new $o();
|
|
21667
21667
|
return function(o) {
|
|
21668
21668
|
const a = i(o);
|
|
21669
21669
|
return a === "none" ? null : (n.setColor(a), n);
|
|
@@ -21756,7 +21756,7 @@ function d0(r, t) {
|
|
|
21756
21756
|
r,
|
|
21757
21757
|
e + "placement",
|
|
21758
21758
|
t
|
|
21759
|
-
), y = ue(r, e + "repeat", t), E =
|
|
21759
|
+
), y = ue(r, e + "repeat", t), E = ta(r, e + "scale", t), b = Hr(
|
|
21760
21760
|
r,
|
|
21761
21761
|
e + "rotate-with-view",
|
|
21762
21762
|
t
|
|
@@ -21817,7 +21817,7 @@ function g0(r, t) {
|
|
|
21817
21817
|
r,
|
|
21818
21818
|
e + "anchor",
|
|
21819
21819
|
t
|
|
21820
|
-
), a =
|
|
21820
|
+
), a = ta(r, e + "scale", t), h = ue(
|
|
21821
21821
|
r,
|
|
21822
21822
|
e + "opacity",
|
|
21823
21823
|
t
|
|
@@ -21858,7 +21858,7 @@ function g0(r, t) {
|
|
|
21858
21858
|
};
|
|
21859
21859
|
}
|
|
21860
21860
|
function _0(r, t) {
|
|
21861
|
-
const e = "shape-", i = e + "points", n = Of(r[i], i), o = jr(r, e, t), a = Wr(r, e, t), h =
|
|
21861
|
+
const e = "shape-", i = e + "points", n = Of(r[i], i), o = jr(r, e, t), a = Wr(r, e, t), h = ta(r, e + "scale", t), c = _o(
|
|
21862
21862
|
r,
|
|
21863
21863
|
e + "displacement",
|
|
21864
21864
|
t
|
|
@@ -21886,7 +21886,7 @@ function _0(r, t) {
|
|
|
21886
21886
|
};
|
|
21887
21887
|
}
|
|
21888
21888
|
function p0(r, t) {
|
|
21889
|
-
const e = "circle-", i = jr(r, e, t), n = Wr(r, e, t), o = ue(r, e + "radius", t), a =
|
|
21889
|
+
const e = "circle-", i = jr(r, e, t), n = Wr(r, e, t), o = ue(r, e + "radius", t), a = ta(r, e + "scale", t), h = _o(
|
|
21890
21890
|
r,
|
|
21891
21891
|
e + "displacement",
|
|
21892
21892
|
t
|
|
@@ -21968,7 +21968,7 @@ function _o(r, t, e) {
|
|
|
21968
21968
|
return o;
|
|
21969
21969
|
};
|
|
21970
21970
|
}
|
|
21971
|
-
function
|
|
21971
|
+
function ta(r, t, e) {
|
|
21972
21972
|
if (!(t in r))
|
|
21973
21973
|
return null;
|
|
21974
21974
|
const i = ji(
|
|
@@ -22084,7 +22084,7 @@ function E0(r, t) {
|
|
|
22084
22084
|
const yu = {
|
|
22085
22085
|
RENDER_ORDER: "renderOrder"
|
|
22086
22086
|
};
|
|
22087
|
-
class w0 extends
|
|
22087
|
+
class w0 extends Xo {
|
|
22088
22088
|
/**
|
|
22089
22089
|
* @param {Options<VectorSourceType>} [options] Options.
|
|
22090
22090
|
*/
|
|
@@ -22283,7 +22283,7 @@ const gh = w0, re = {
|
|
|
22283
22283
|
* @api
|
|
22284
22284
|
*/
|
|
22285
22285
|
FEATURESLOADERROR: "featuresloaderror"
|
|
22286
|
-
}, _h = 34962, ph = 34963, b0 = 35040, T0 = 35044,
|
|
22286
|
+
}, _h = 34962, ph = 34963, b0 = 35040, T0 = 35044, yl = 35048, C0 = 5121, S0 = 5123, P0 = 5125, zf = 5126, vu = ["experimental-webgl", "webgl", "webkit-3d", "moz-webgl"];
|
|
22287
22287
|
function k0(r, t) {
|
|
22288
22288
|
t = Object.assign(
|
|
22289
22289
|
{
|
|
@@ -22309,7 +22309,7 @@ function k0(r, t) {
|
|
|
22309
22309
|
const R0 = {
|
|
22310
22310
|
STATIC_DRAW: T0,
|
|
22311
22311
|
STREAM_DRAW: b0,
|
|
22312
|
-
DYNAMIC_DRAW:
|
|
22312
|
+
DYNAMIC_DRAW: yl
|
|
22313
22313
|
};
|
|
22314
22314
|
class M0 {
|
|
22315
22315
|
/**
|
|
@@ -22329,7 +22329,7 @@ class M0 {
|
|
|
22329
22329
|
* @return {WebGLArrayBuffer} This
|
|
22330
22330
|
*/
|
|
22331
22331
|
ofSize(t) {
|
|
22332
|
-
return this.array = new (
|
|
22332
|
+
return this.array = new (Ua(this.type))(t), this;
|
|
22333
22333
|
}
|
|
22334
22334
|
/**
|
|
22335
22335
|
* Populates the buffer with an array of the given size.
|
|
@@ -22337,7 +22337,7 @@ class M0 {
|
|
|
22337
22337
|
* @return {WebGLArrayBuffer} This
|
|
22338
22338
|
*/
|
|
22339
22339
|
fromArray(t) {
|
|
22340
|
-
return this.array =
|
|
22340
|
+
return this.array = Ua(this.type).from(t), this;
|
|
22341
22341
|
}
|
|
22342
22342
|
/**
|
|
22343
22343
|
* Populates the buffer with a raw binary array buffer.
|
|
@@ -22346,7 +22346,7 @@ class M0 {
|
|
|
22346
22346
|
* @return {WebGLArrayBuffer} This
|
|
22347
22347
|
*/
|
|
22348
22348
|
fromArrayBuffer(t) {
|
|
22349
|
-
return this.array = new (
|
|
22349
|
+
return this.array = new (Ua(this.type))(t), this;
|
|
22350
22350
|
}
|
|
22351
22351
|
/**
|
|
22352
22352
|
* @return {number} Buffer type.
|
|
@@ -22375,7 +22375,7 @@ class M0 {
|
|
|
22375
22375
|
return this.array ? this.array.length : 0;
|
|
22376
22376
|
}
|
|
22377
22377
|
}
|
|
22378
|
-
function
|
|
22378
|
+
function Ua(r) {
|
|
22379
22379
|
switch (r) {
|
|
22380
22380
|
case _h:
|
|
22381
22381
|
return Float32Array;
|
|
@@ -22784,7 +22784,7 @@ function G0(r) {
|
|
|
22784
22784
|
const n = e.canvas;
|
|
22785
22785
|
n.width = 1, n.height = 1, delete po[r];
|
|
22786
22786
|
}
|
|
22787
|
-
class U0 extends
|
|
22787
|
+
class U0 extends Ao {
|
|
22788
22788
|
/**
|
|
22789
22789
|
* @param {Options} [options] Options.
|
|
22790
22790
|
*/
|
|
@@ -23570,9 +23570,9 @@ class K0 extends j0 {
|
|
|
23570
23570
|
i[oi.PROJECTION_MATRIX] = n, super(t, {
|
|
23571
23571
|
uniforms: i,
|
|
23572
23572
|
postProcesses: e.postProcesses
|
|
23573
|
-
}), this.sourceRevision_ = -1, this.verticesBuffer_ = new xu(_h,
|
|
23573
|
+
}), this.sourceRevision_ = -1, this.verticesBuffer_ = new xu(_h, yl), this.indicesBuffer_ = new xu(
|
|
23574
23574
|
ph,
|
|
23575
|
-
|
|
23575
|
+
yl
|
|
23576
23576
|
), this.vertexShader_ = e.vertexShader, this.fragmentShader_ = e.fragmentShader, this.program_, this.hitDetectionEnabled_ = e.hitDetectionEnabled ?? !0;
|
|
23577
23577
|
const o = e.attributes ? e.attributes.map(function(h) {
|
|
23578
23578
|
return {
|
|
@@ -23609,7 +23609,7 @@ class K0 extends j0 {
|
|
|
23609
23609
|
const c = h.data;
|
|
23610
23610
|
if (c.type === bu.GENERATE_POINT_BUFFERS) {
|
|
23611
23611
|
const d = c.projectionTransform;
|
|
23612
|
-
this.verticesBuffer_.fromArrayBuffer(c.vertexBuffer), this.helper.flushBufferData(this.verticesBuffer_), this.indicesBuffer_.fromArrayBuffer(c.indexBuffer), this.helper.flushBufferData(this.indicesBuffer_), this.renderTransform_ = d,
|
|
23612
|
+
this.verticesBuffer_.fromArrayBuffer(c.vertexBuffer), this.helper.flushBufferData(this.verticesBuffer_), this.indicesBuffer_.fromArrayBuffer(c.indexBuffer), this.helper.flushBufferData(this.indicesBuffer_), this.renderTransform_ = d, jo(
|
|
23613
23613
|
this.invertRenderTransform_,
|
|
23614
23614
|
this.renderTransform_
|
|
23615
23615
|
), this.renderInstructions_ = new Float32Array(
|
|
@@ -23731,7 +23731,7 @@ class K0 extends j0 {
|
|
|
23731
23731
|
prepareFrameInternal(t) {
|
|
23732
23732
|
const e = this.getLayer(), i = e.getSource(), n = t.viewState, o = !t.viewHints[Ht.ANIMATING] && !t.viewHints[Ht.INTERACTING], a = !$n(this.previousExtent_, t.extent), h = this.sourceRevision_ < i.getRevision();
|
|
23733
23733
|
if (h && (this.sourceRevision_ = i.getRevision()), o && (a || h)) {
|
|
23734
|
-
const c = n.projection, d = n.resolution, f = e instanceof gh ? e.getRenderBuffer() : 0, _ =
|
|
23734
|
+
const c = n.projection, d = n.resolution, f = e instanceof gh ? e.getRenderBuffer() : 0, _ = zo(t.extent, f * d);
|
|
23735
23735
|
i.loadFeatures(_, d, c), this.rebuildBuffers_(t), this.previousExtent_ = t.extent.slice();
|
|
23736
23736
|
}
|
|
23737
23737
|
return this.helper.useProgram(this.program_, t), this.helper.prepareDraw(t), this.helper.bindBuffer(this.verticesBuffer_), this.helper.bindBuffer(this.indicesBuffer_), this.helper.enableAttributes(this.attributes), !0;
|
|
@@ -23828,7 +23828,7 @@ class K0 extends j0 {
|
|
|
23828
23828
|
}
|
|
23829
23829
|
}
|
|
23830
23830
|
const q0 = K0, $0 = 0.5;
|
|
23831
|
-
class J0 extends
|
|
23831
|
+
class J0 extends Oo {
|
|
23832
23832
|
/**
|
|
23833
23833
|
* @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
23834
23834
|
* @param {import("./TileState.js").default} state State.
|
|
@@ -23979,11 +23979,11 @@ class tE {
|
|
|
23979
23979
|
const T = w[0] + "/" + w[1];
|
|
23980
23980
|
return h[T] || (h[T] = c(w)), h[T];
|
|
23981
23981
|
}, this.maxSourceExtent_ = n, this.errorThresholdSquared_ = o * o, this.triangles_ = [], this.wrapsXInSource_ = !1, this.canWrapXInSource_ = this.sourceProj_.canWrapX() && !!n && !!this.sourceProj_.getExtent() && Pt(n) >= Pt(this.sourceProj_.getExtent()), this.sourceWorldWidth_ = this.sourceProj_.getExtent() ? Pt(this.sourceProj_.getExtent()) : null, this.targetWorldWidth_ = this.targetProj_.getExtent() ? Pt(this.targetProj_.getExtent()) : null;
|
|
23982
|
-
const d = fn(i), f =
|
|
23982
|
+
const d = fn(i), f = Uo(i), _ = Go(i), m = Bo(i), v = this.transformInv_(d), y = this.transformInv_(f), E = this.transformInv_(_), b = this.transformInv_(m), S = Q0 + (a ? Math.max(
|
|
23983
23983
|
0,
|
|
23984
23984
|
Math.ceil(
|
|
23985
23985
|
Math.log2(
|
|
23986
|
-
|
|
23986
|
+
ol(i) / (a * a * 256 * 256)
|
|
23987
23987
|
)
|
|
23988
23988
|
)
|
|
23989
23989
|
) : 0);
|
|
@@ -24173,22 +24173,22 @@ class tE {
|
|
|
24173
24173
|
}
|
|
24174
24174
|
}
|
|
24175
24175
|
const eE = tE;
|
|
24176
|
-
let
|
|
24176
|
+
let Za;
|
|
24177
24177
|
const Xn = [];
|
|
24178
24178
|
function Cu(r, t, e, i, n) {
|
|
24179
24179
|
r.beginPath(), r.moveTo(0, 0), r.lineTo(t, e), r.lineTo(i, n), r.closePath(), r.save(), r.clip(), r.fillRect(0, 0, Math.max(t, i) + 1, Math.max(e, n)), r.restore();
|
|
24180
24180
|
}
|
|
24181
|
-
function
|
|
24181
|
+
function ja(r, t) {
|
|
24182
24182
|
return Math.abs(r[t * 4] - 210) > 2 || Math.abs(r[t * 4 + 3] - 0.75 * 255) > 2;
|
|
24183
24183
|
}
|
|
24184
24184
|
function iE() {
|
|
24185
|
-
if (
|
|
24185
|
+
if (Za === void 0) {
|
|
24186
24186
|
const r = te(6, 6, Xn);
|
|
24187
24187
|
r.globalCompositeOperation = "lighter", r.fillStyle = "rgba(210, 0, 0, 0.75)", Cu(r, 4, 5, 4, 0), Cu(r, 4, 5, 0, 5);
|
|
24188
24188
|
const t = r.getImageData(0, 0, 3, 3).data;
|
|
24189
|
-
|
|
24189
|
+
Za = ja(t, 0) || ja(t, 4) || ja(t, 8), Yo(r), Xn.push(r.canvas);
|
|
24190
24190
|
}
|
|
24191
|
-
return
|
|
24191
|
+
return Za;
|
|
24192
24192
|
}
|
|
24193
24193
|
function Su(r, t, e, i) {
|
|
24194
24194
|
const n = Ud(e, t, r);
|
|
@@ -24202,7 +24202,7 @@ function Su(r, t, e, i) {
|
|
|
24202
24202
|
const h = r.getMetersPerUnit();
|
|
24203
24203
|
h !== void 0 && (o /= h);
|
|
24204
24204
|
const c = r.getExtent();
|
|
24205
|
-
if (!c ||
|
|
24205
|
+
if (!c || No(c, n)) {
|
|
24206
24206
|
const d = Hc(r, o, n) / o;
|
|
24207
24207
|
isFinite(d) && d > 0 && (o /= d);
|
|
24208
24208
|
}
|
|
@@ -24311,7 +24311,7 @@ function rE(r, t, e, i, n, o, a, h, c, d, f, _) {
|
|
|
24311
24311
|
-i / e
|
|
24312
24312
|
), m.drawImage(S.canvas, 0, 0), m.restore();
|
|
24313
24313
|
}
|
|
24314
|
-
}),
|
|
24314
|
+
}), Yo(S), Xn.push(S.canvas), f && (m.save(), m.globalCompositeOperation = "source-over", m.strokeStyle = "black", m.lineWidth = 1, h.getTriangles().forEach(function(P, M, I) {
|
|
24315
24315
|
const D = P.target, z = (D[0][0] - T[0]) / o, j = -(D[0][1] - T[1]) / o, Y = (D[1][0] - T[0]) / o, J = -(D[1][1] - T[1]) / o, K = (D[2][0] - T[0]) / o, lt = -(D[2][1] - T[1]) / o;
|
|
24316
24316
|
m.beginPath(), m.moveTo(Y, J), m.lineTo(z, j), m.lineTo(K, lt), m.closePath(), m.stroke();
|
|
24317
24317
|
}), m.restore()), m.canvas;
|
|
@@ -24339,7 +24339,7 @@ class sE extends Gf {
|
|
|
24339
24339
|
), y = this.targetTileGrid_.getExtent();
|
|
24340
24340
|
let E = this.sourceTileGrid_.getExtent();
|
|
24341
24341
|
const b = y ? Sr(v, y) : v;
|
|
24342
|
-
if (
|
|
24342
|
+
if (ol(b) === 0) {
|
|
24343
24343
|
this.state = q.EMPTY;
|
|
24344
24344
|
return;
|
|
24345
24345
|
}
|
|
@@ -24379,7 +24379,7 @@ class sE extends Gf {
|
|
|
24379
24379
|
M[3],
|
|
24380
24380
|
E[1],
|
|
24381
24381
|
E[3]
|
|
24382
|
-
)) : M = Sr(M, E)), !
|
|
24382
|
+
)) : M = Sr(M, E)), !ol(M))
|
|
24383
24383
|
this.state = q.EMPTY;
|
|
24384
24384
|
else {
|
|
24385
24385
|
const I = e.getTileRangeForExtentAndZ(
|
|
@@ -24473,10 +24473,10 @@ class sE extends Gf {
|
|
|
24473
24473
|
* Remove from the cache due to expiry
|
|
24474
24474
|
*/
|
|
24475
24475
|
release() {
|
|
24476
|
-
this.canvas_ && (
|
|
24476
|
+
this.canvas_ && (Yo(this.canvas_.getContext("2d")), Xn.push(this.canvas_), this.canvas_ = null), super.release();
|
|
24477
24477
|
}
|
|
24478
24478
|
}
|
|
24479
|
-
const
|
|
24479
|
+
const vl = sE;
|
|
24480
24480
|
class oE extends Gf {
|
|
24481
24481
|
/**
|
|
24482
24482
|
* @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
@@ -24828,11 +24828,11 @@ const jf = Zf;
|
|
|
24828
24828
|
function Pu(r, t, e, i) {
|
|
24829
24829
|
return i !== void 0 ? (i[0] = r, i[1] = t, i[2] = e, i) : [r, t, e];
|
|
24830
24830
|
}
|
|
24831
|
-
function
|
|
24831
|
+
function ea(r, t, e) {
|
|
24832
24832
|
return r + "/" + t + "/" + e;
|
|
24833
24833
|
}
|
|
24834
24834
|
function Wf(r) {
|
|
24835
|
-
return
|
|
24835
|
+
return ea(r[0], r[1], r[2]);
|
|
24836
24836
|
}
|
|
24837
24837
|
function cE(r) {
|
|
24838
24838
|
return r.split("/").map(Number);
|
|
@@ -24858,7 +24858,7 @@ function fE(r) {
|
|
|
24858
24858
|
);
|
|
24859
24859
|
return `vec${r.length}(${r.map(kr).join(", ")})`;
|
|
24860
24860
|
}
|
|
24861
|
-
function
|
|
24861
|
+
function Wa(r) {
|
|
24862
24862
|
const t = Nr(r), e = t.length > 3 ? t[3] : 1;
|
|
24863
24863
|
return fE([
|
|
24864
24864
|
t[0] / 255 * e,
|
|
@@ -24867,10 +24867,10 @@ function ja(r) {
|
|
|
24867
24867
|
e
|
|
24868
24868
|
]);
|
|
24869
24869
|
}
|
|
24870
|
-
const
|
|
24870
|
+
const Ha = {};
|
|
24871
24871
|
let gE = 0;
|
|
24872
24872
|
function _E(r) {
|
|
24873
|
-
return r in
|
|
24873
|
+
return r in Ha || (Ha[r] = gE++), Ha[r];
|
|
24874
24874
|
}
|
|
24875
24875
|
function Mn(r) {
|
|
24876
24876
|
return kr(_E(r));
|
|
@@ -24910,13 +24910,13 @@ class mE {
|
|
|
24910
24910
|
constructor() {
|
|
24911
24911
|
this.uniforms_ = [], this.attributes_ = [], this.varyings_ = [], this.hasSymbol_ = !1, this.symbolSizeExpression_ = `vec2(${kr(
|
|
24912
24912
|
An["circle-radius"]
|
|
24913
|
-
)} + ${kr(An["circle-stroke-width"] * 0.5)})`, this.symbolRotationExpression_ = "0.0", this.symbolOffsetExpression_ = "vec2(0.0)", this.symbolColorExpression_ =
|
|
24913
|
+
)} + ${kr(An["circle-stroke-width"] * 0.5)})`, this.symbolRotationExpression_ = "0.0", this.symbolOffsetExpression_ = "vec2(0.0)", this.symbolColorExpression_ = Wa(
|
|
24914
24914
|
/** @type {string} */
|
|
24915
24915
|
An["circle-fill-color"]
|
|
24916
|
-
), this.texCoordExpression_ = "vec4(0.0, 0.0, 1.0, 1.0)", this.discardExpression_ = "false", this.symbolRotateWithView_ = !1, this.hasStroke_ = !1, this.strokeWidthExpression_ = kr(An["stroke-width"]), this.strokeColorExpression_ =
|
|
24916
|
+
), this.texCoordExpression_ = "vec4(0.0, 0.0, 1.0, 1.0)", this.discardExpression_ = "false", this.symbolRotateWithView_ = !1, this.hasStroke_ = !1, this.strokeWidthExpression_ = kr(An["stroke-width"]), this.strokeColorExpression_ = Wa(
|
|
24917
24917
|
/** @type {string} */
|
|
24918
24918
|
An["stroke-color"]
|
|
24919
|
-
), this.strokeOffsetExpression_ = "0.", this.strokeCapExpression_ = Mn("round"), this.strokeJoinExpression_ = Mn("round"), this.strokeMiterLimitExpression_ = "10.", this.strokeDistanceFieldExpression_ = "-1000.", this.hasFill_ = !1, this.fillColorExpression_ =
|
|
24919
|
+
), this.strokeOffsetExpression_ = "0.", this.strokeCapExpression_ = Mn("round"), this.strokeJoinExpression_ = Mn("round"), this.strokeMiterLimitExpression_ = "10.", this.strokeDistanceFieldExpression_ = "-1000.", this.hasFill_ = !1, this.fillColorExpression_ = Wa(
|
|
24920
24920
|
/** @type {string} */
|
|
24921
24921
|
An["fill-color"]
|
|
24922
24922
|
), this.vertexShaderFunctions_ = [], this.fragmentShaderFunctions_ = [];
|
|
@@ -25720,7 +25720,7 @@ class wE extends hE {
|
|
|
25720
25720
|
});
|
|
25721
25721
|
}
|
|
25722
25722
|
}
|
|
25723
|
-
const Hf = wE,
|
|
25723
|
+
const Hf = wE, Xa = {
|
|
25724
25724
|
/**
|
|
25725
25725
|
* Triggered when a tile starts loading.
|
|
25726
25726
|
* @event module:ol/source/Tile.TileSourceEvent#tileloadstart
|
|
@@ -26233,7 +26233,7 @@ function Yf(r) {
|
|
|
26233
26233
|
}
|
|
26234
26234
|
function TE(r, t, e) {
|
|
26235
26235
|
const i = t[0], n = r.getTileCoordCenter(t), o = yh(e);
|
|
26236
|
-
if (!
|
|
26236
|
+
if (!No(o, n)) {
|
|
26237
26237
|
const a = Pt(o), h = Math.ceil(
|
|
26238
26238
|
(o[0] - n[0]) / a
|
|
26239
26239
|
);
|
|
@@ -26336,7 +26336,7 @@ class kE extends Xf {
|
|
|
26336
26336
|
let a = !0, h, c, d;
|
|
26337
26337
|
for (let f = i.minX; f <= i.maxX; ++f)
|
|
26338
26338
|
for (let _ = i.minY; _ <= i.maxY; ++_)
|
|
26339
|
-
c =
|
|
26339
|
+
c = ea(e, f, _), d = !1, o.containsKey(c) && (h = /** @type {!import("../Tile.js").default} */
|
|
26340
26340
|
o.get(c), d = h.getState() === q.LOADED, d && (d = n(h) !== !1)), d || (a = !1);
|
|
26341
26341
|
return a;
|
|
26342
26342
|
}
|
|
@@ -26609,7 +26609,7 @@ class vh extends ME {
|
|
|
26609
26609
|
t.target
|
|
26610
26610
|
), i = at(e), n = e.getState();
|
|
26611
26611
|
let o;
|
|
26612
|
-
n == q.LOADING ? (this.tileLoadingKeys_[i] = !0, o =
|
|
26612
|
+
n == q.LOADING ? (this.tileLoadingKeys_[i] = !0, o = Xa.TILELOADSTART) : i in this.tileLoadingKeys_ && (delete this.tileLoadingKeys_[i], o = n == q.ERROR ? Xa.TILELOADERROR : n == q.LOADED ? Xa.TILELOADEND : void 0), o != null && this.dispatchEvent(new RE(o, e));
|
|
26613
26613
|
}
|
|
26614
26614
|
/**
|
|
26615
26615
|
* Set the tile load function of the source.
|
|
@@ -26663,7 +26663,7 @@ class vh extends ME {
|
|
|
26663
26663
|
* @param {number} y Tile coordinate y.
|
|
26664
26664
|
*/
|
|
26665
26665
|
useTile(t, e, i) {
|
|
26666
|
-
const n =
|
|
26666
|
+
const n = ea(t, e, i);
|
|
26667
26667
|
this.tileCache.containsKey(n) && this.tileCache.get(n);
|
|
26668
26668
|
}
|
|
26669
26669
|
}
|
|
@@ -26822,7 +26822,7 @@ class zE extends FE {
|
|
|
26822
26822
|
const m = this.getTileGridForProjection(a), v = this.getTileGridForProjection(o), y = this.getTileCoordForTileUrlFunction(
|
|
26823
26823
|
c,
|
|
26824
26824
|
o
|
|
26825
|
-
), E = new
|
|
26825
|
+
), E = new vl(
|
|
26826
26826
|
a,
|
|
26827
26827
|
m,
|
|
26828
26828
|
o,
|
|
@@ -26849,7 +26849,7 @@ class zE extends FE {
|
|
|
26849
26849
|
*/
|
|
26850
26850
|
getTileInternal(t, e, i, n, o) {
|
|
26851
26851
|
let a = null;
|
|
26852
|
-
const h =
|
|
26852
|
+
const h = ea(t, e, i), c = this.getKey();
|
|
26853
26853
|
if (!this.tileCache.containsKey(h))
|
|
26854
26854
|
a = this.createTile_(t, e, i, n, o, c), this.tileCache.set(h, a);
|
|
26855
26855
|
else if (a = this.tileCache.get(h), a.key != c) {
|
|
@@ -26971,7 +26971,7 @@ const WE = jE, Us = {
|
|
|
26971
26971
|
PRELOAD: "preload",
|
|
26972
26972
|
USE_INTERIM_TILES_ON_ERROR: "useInterimTilesOnError"
|
|
26973
26973
|
};
|
|
26974
|
-
class HE extends
|
|
26974
|
+
class HE extends Xo {
|
|
26975
26975
|
/**
|
|
26976
26976
|
* @param {Options<TileSourceType>} [options] Tile layer options.
|
|
26977
26977
|
*/
|
|
@@ -27114,7 +27114,7 @@ class YE extends Nf {
|
|
|
27114
27114
|
* @protected
|
|
27115
27115
|
*/
|
|
27116
27116
|
clipUnrotated(t, e, i) {
|
|
27117
|
-
const n = fn(i), o =
|
|
27117
|
+
const n = fn(i), o = Uo(i), a = Go(i), h = Bo(i);
|
|
27118
27118
|
Nt(e.coordinateToPixelTransform, n), Nt(e.coordinateToPixelTransform, o), Nt(e.coordinateToPixelTransform, a), Nt(e.coordinateToPixelTransform, h);
|
|
27119
27119
|
const c = this.inversePixelTransform;
|
|
27120
27120
|
Nt(c, n), Nt(c, o), Nt(c, a), Nt(c, h), t.save(), t.beginPath(), t.moveTo(Math.round(n[0]), Math.round(n[1])), t.lineTo(Math.round(o[0]), Math.round(o[1])), t.lineTo(Math.round(a[0]), Math.round(a[1])), t.lineTo(Math.round(h[0]), Math.round(h[1])), t.clip();
|
|
@@ -27226,7 +27226,7 @@ class KE extends qf {
|
|
|
27226
27226
|
e.pixelToCoordinateTransform,
|
|
27227
27227
|
t.slice()
|
|
27228
27228
|
), o = i.getExtent();
|
|
27229
|
-
if (o && !
|
|
27229
|
+
if (o && !No(o, n))
|
|
27230
27230
|
return null;
|
|
27231
27231
|
const a = e.pixelRatio, h = e.viewState.projection, c = e.viewState, d = i.getRenderSource(), f = d.getTileGridForProjection(c.projection), _ = d.getTilePixelRatio(e.pixelRatio);
|
|
27232
27232
|
for (let m = f.getZForResolution(c.resolution); m >= f.getMinZoom(); --m) {
|
|
@@ -27237,7 +27237,7 @@ class KE extends qf {
|
|
|
27237
27237
|
a,
|
|
27238
27238
|
h
|
|
27239
27239
|
);
|
|
27240
|
-
if (!(y instanceof Uf || y instanceof
|
|
27240
|
+
if (!(y instanceof Uf || y instanceof vl) || y instanceof vl && y.getState() === q.EMPTY)
|
|
27241
27241
|
return null;
|
|
27242
27242
|
if (y.getState() !== q.LOADED)
|
|
27243
27243
|
continue;
|
|
@@ -27296,7 +27296,7 @@ class KE extends qf {
|
|
|
27296
27296
|
Y
|
|
27297
27297
|
), K = this.tmpExtent, lt = this.tmpTileRange_;
|
|
27298
27298
|
this.newTiles_ = !1;
|
|
27299
|
-
const Et = c ?
|
|
27299
|
+
const Et = c ? ll(
|
|
27300
27300
|
n.center,
|
|
27301
27301
|
S,
|
|
27302
27302
|
c,
|
|
@@ -27344,7 +27344,7 @@ class KE extends qf {
|
|
|
27344
27344
|
const W = qd(this.pixelTransform);
|
|
27345
27345
|
this.useContainer(e, W, this.getBackground(t));
|
|
27346
27346
|
const U = this.context, B = U.canvas;
|
|
27347
|
-
|
|
27347
|
+
jo(this.inversePixelTransform, this.pixelTransform), Ve(
|
|
27348
27348
|
this.tempTransform,
|
|
27349
27349
|
T / 2,
|
|
27350
27350
|
P / 2,
|
|
@@ -27507,7 +27507,7 @@ class KE extends qf {
|
|
|
27507
27507
|
manageTilePyramid(t, e, i, n, o, a, h, c, d) {
|
|
27508
27508
|
const f = at(e);
|
|
27509
27509
|
f in t.wantedTiles || (t.wantedTiles[f] = {});
|
|
27510
|
-
const _ = t.wantedTiles[f], m = t.tileQueue, v = i.getMinZoom(), y = t.viewState.rotation, E = y ?
|
|
27510
|
+
const _ = t.wantedTiles[f], m = t.tileQueue, v = i.getMinZoom(), y = t.viewState.rotation, E = y ? ll(
|
|
27511
27511
|
t.viewState.center,
|
|
27512
27512
|
t.viewState.resolution,
|
|
27513
27513
|
y,
|
|
@@ -29097,7 +29097,7 @@ function Jf(r, t, e, i, n, o, a) {
|
|
|
29097
29097
|
o[f] = h === void 0 ? NaN : c === void 0 ? r[h + f] : ge(r[h + f], r[h + i + f], c);
|
|
29098
29098
|
return o;
|
|
29099
29099
|
}
|
|
29100
|
-
function
|
|
29100
|
+
function xl(r, t, e, i, n, o) {
|
|
29101
29101
|
if (e == t)
|
|
29102
29102
|
return null;
|
|
29103
29103
|
let a;
|
|
@@ -29129,7 +29129,7 @@ function vl(r, t, e, i, n, o) {
|
|
|
29129
29129
|
}
|
|
29130
29130
|
function cw(r, t, e, i, n, o, a) {
|
|
29131
29131
|
if (a)
|
|
29132
|
-
return
|
|
29132
|
+
return xl(
|
|
29133
29133
|
r,
|
|
29134
29134
|
t,
|
|
29135
29135
|
e[e.length - 1],
|
|
@@ -29148,7 +29148,7 @@ function cw(r, t, e, i, n, o, a) {
|
|
|
29148
29148
|
if (n < r[t + i - 1])
|
|
29149
29149
|
return null;
|
|
29150
29150
|
if (n <= r[f - 1])
|
|
29151
|
-
return
|
|
29151
|
+
return xl(
|
|
29152
29152
|
r,
|
|
29153
29153
|
t,
|
|
29154
29154
|
f,
|
|
@@ -29270,7 +29270,7 @@ class yo extends gn {
|
|
|
29270
29270
|
* @api
|
|
29271
29271
|
*/
|
|
29272
29272
|
getCoordinateAtM(t, e) {
|
|
29273
|
-
return this.layout != "XYM" && this.layout != "XYZM" ? null : (e = e !== void 0 ? e : !1,
|
|
29273
|
+
return this.layout != "XYM" && this.layout != "XYZM" ? null : (e = e !== void 0 ? e : !1, xl(
|
|
29274
29274
|
this.flatCoordinates,
|
|
29275
29275
|
0,
|
|
29276
29276
|
this.flatCoordinates.length,
|
|
@@ -29364,7 +29364,7 @@ class yo extends gn {
|
|
|
29364
29364
|
* @api
|
|
29365
29365
|
*/
|
|
29366
29366
|
intersectsExtent(t) {
|
|
29367
|
-
return
|
|
29367
|
+
return Ho(
|
|
29368
29368
|
this.flatCoordinates,
|
|
29369
29369
|
0,
|
|
29370
29370
|
this.flatCoordinates.length,
|
|
@@ -29379,7 +29379,7 @@ class yo extends gn {
|
|
|
29379
29379
|
* @api
|
|
29380
29380
|
*/
|
|
29381
29381
|
setCoordinates(t, e) {
|
|
29382
|
-
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length =
|
|
29382
|
+
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length = Wo(
|
|
29383
29383
|
this.flatCoordinates,
|
|
29384
29384
|
0,
|
|
29385
29385
|
t,
|
|
@@ -29387,7 +29387,7 @@ class yo extends gn {
|
|
|
29387
29387
|
), this.changed();
|
|
29388
29388
|
}
|
|
29389
29389
|
}
|
|
29390
|
-
const
|
|
29390
|
+
const El = yo;
|
|
29391
29391
|
class vo extends gn {
|
|
29392
29392
|
/**
|
|
29393
29393
|
* @param {Array<Array<import("../coordinate.js").Coordinate>|LineString>|Array<number>} coordinates
|
|
@@ -29531,7 +29531,7 @@ class vo extends gn {
|
|
|
29531
29531
|
* @api
|
|
29532
29532
|
*/
|
|
29533
29533
|
getLineString(t) {
|
|
29534
|
-
return t < 0 || this.ends_.length <= t ? null : new
|
|
29534
|
+
return t < 0 || this.ends_.length <= t ? null : new El(
|
|
29535
29535
|
this.flatCoordinates.slice(
|
|
29536
29536
|
t === 0 ? 0 : this.ends_[t - 1],
|
|
29537
29537
|
this.ends_[t]
|
|
@@ -29548,7 +29548,7 @@ class vo extends gn {
|
|
|
29548
29548
|
const t = this.flatCoordinates, e = this.ends_, i = this.layout, n = [];
|
|
29549
29549
|
let o = 0;
|
|
29550
29550
|
for (let a = 0, h = e.length; a < h; ++a) {
|
|
29551
|
-
const c = e[a], d = new
|
|
29551
|
+
const c = e[a], d = new El(
|
|
29552
29552
|
t.slice(o, c),
|
|
29553
29553
|
i
|
|
29554
29554
|
);
|
|
@@ -29771,7 +29771,7 @@ class Eh extends gn {
|
|
|
29771
29771
|
* @api
|
|
29772
29772
|
*/
|
|
29773
29773
|
setCoordinates(t, e) {
|
|
29774
|
-
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length =
|
|
29774
|
+
this.setLayout(e, t, 1), this.flatCoordinates || (this.flatCoordinates = []), this.flatCoordinates.length = Wo(
|
|
29775
29775
|
this.flatCoordinates,
|
|
29776
29776
|
0,
|
|
29777
29777
|
t,
|
|
@@ -29939,7 +29939,7 @@ class xo extends gn {
|
|
|
29939
29939
|
this.endss_,
|
|
29940
29940
|
this.stride,
|
|
29941
29941
|
t
|
|
29942
|
-
)) : e = this.flatCoordinates,
|
|
29942
|
+
)) : e = this.flatCoordinates, ul(
|
|
29943
29943
|
e,
|
|
29944
29944
|
0,
|
|
29945
29945
|
this.endss_,
|
|
@@ -30140,7 +30140,7 @@ class gw extends hw {
|
|
|
30140
30140
|
),
|
|
30141
30141
|
properties: null
|
|
30142
30142
|
};
|
|
30143
|
-
const n =
|
|
30143
|
+
const n = wl(i.geometry, e), o = new sw();
|
|
30144
30144
|
return this.geometryName_ ? o.setGeometryName(this.geometryName_) : this.extractGeometryName_ && "geometry_name" in i !== void 0 && o.setGeometryName(i.geometry_name), o.setGeometry(n), "id" in i && o.setId(i.id), i.properties && o.setProperties(i.properties, !0), o;
|
|
30145
30145
|
}
|
|
30146
30146
|
/**
|
|
@@ -30175,7 +30175,7 @@ class gw extends hw {
|
|
|
30175
30175
|
* @return {import("../geom/Geometry.js").default} Geometry.
|
|
30176
30176
|
*/
|
|
30177
30177
|
readGeometryFromObject(t, e) {
|
|
30178
|
-
return
|
|
30178
|
+
return wl(t, e);
|
|
30179
30179
|
}
|
|
30180
30180
|
/**
|
|
30181
30181
|
* @param {Object} object Object.
|
|
@@ -30217,7 +30217,7 @@ class gw extends hw {
|
|
|
30217
30217
|
if (n !== void 0 && (i.id = n), !t.hasProperties())
|
|
30218
30218
|
return i;
|
|
30219
30219
|
const o = t.getProperties(), a = t.getGeometry();
|
|
30220
|
-
return a && (i.geometry =
|
|
30220
|
+
return a && (i.geometry = Ll(a, e), delete o[t.getGeometryName()]), qn(o) || (i.properties = o), i;
|
|
30221
30221
|
}
|
|
30222
30222
|
/**
|
|
30223
30223
|
* Encode an array of features as a GeoJSON object.
|
|
@@ -30246,10 +30246,10 @@ class gw extends hw {
|
|
|
30246
30246
|
* @api
|
|
30247
30247
|
*/
|
|
30248
30248
|
writeGeometryObject(t, e) {
|
|
30249
|
-
return
|
|
30249
|
+
return Ll(t, this.adaptOptions(e));
|
|
30250
30250
|
}
|
|
30251
30251
|
}
|
|
30252
|
-
function
|
|
30252
|
+
function wl(r, t) {
|
|
30253
30253
|
if (!r)
|
|
30254
30254
|
return null;
|
|
30255
30255
|
let e;
|
|
@@ -30315,7 +30315,7 @@ function _w(r, t) {
|
|
|
30315
30315
|
* @return {import("../geom/Geometry.js").default} geometry Geometry.
|
|
30316
30316
|
*/
|
|
30317
30317
|
function(i) {
|
|
30318
|
-
return
|
|
30318
|
+
return wl(i, t);
|
|
30319
30319
|
}
|
|
30320
30320
|
);
|
|
30321
30321
|
return new ow(e);
|
|
@@ -30324,7 +30324,7 @@ function pw(r) {
|
|
|
30324
30324
|
return new ro(r.coordinates);
|
|
30325
30325
|
}
|
|
30326
30326
|
function mw(r) {
|
|
30327
|
-
return new
|
|
30327
|
+
return new El(r.coordinates);
|
|
30328
30328
|
}
|
|
30329
30329
|
function yw(r) {
|
|
30330
30330
|
return new uw(r.coordinates);
|
|
@@ -30338,7 +30338,7 @@ function xw(r) {
|
|
|
30338
30338
|
function Ew(r) {
|
|
30339
30339
|
return new so(r.coordinates);
|
|
30340
30340
|
}
|
|
30341
|
-
function
|
|
30341
|
+
function Ll(r, t) {
|
|
30342
30342
|
r = $f(r, !0, t);
|
|
30343
30343
|
const e = r.getType();
|
|
30344
30344
|
let i;
|
|
@@ -30411,7 +30411,7 @@ function ww(r, t) {
|
|
|
30411
30411
|
return t = Object.assign({}, t), delete t.featureProjection, {
|
|
30412
30412
|
type: "GeometryCollection",
|
|
30413
30413
|
geometries: r.getGeometriesArray().map(function(i) {
|
|
30414
|
-
return
|
|
30414
|
+
return Ll(i, t);
|
|
30415
30415
|
})
|
|
30416
30416
|
};
|
|
30417
30417
|
}
|
|
@@ -30605,7 +30605,7 @@ class Rw extends eg {
|
|
|
30605
30605
|
const i = this.getBufferedMaxExtent(), n = this.tmpCoordinate_, o = this.coordinates;
|
|
30606
30606
|
let a = o.length;
|
|
30607
30607
|
for (let h = 0, c = t.length; h < c; h += e)
|
|
30608
|
-
n[0] = t[h], n[1] = t[h + 1],
|
|
30608
|
+
n[0] = t[h], n[1] = t[h + 1], No(i, n) && (o[a++] = n[0], o[a++] = n[1]);
|
|
30609
30609
|
return a;
|
|
30610
30610
|
}
|
|
30611
30611
|
/**
|
|
@@ -30627,7 +30627,7 @@ class Rw extends eg {
|
|
|
30627
30627
|
const m = this.tmpCoordinate_;
|
|
30628
30628
|
let v = !0, y, E, b;
|
|
30629
30629
|
for (y = e + n; y < i; y += n)
|
|
30630
|
-
m[0] = t[y], m[1] = t[y + 1], b =
|
|
30630
|
+
m[0] = t[y], m[1] = t[y + 1], b = sl(d, m), b !== E ? (v && (h[c++] = f, h[c++] = _, v = !1), h[c++] = m[0], h[c++] = m[1]) : b === Wt.INTERSECTING ? (h[c++] = m[0], h[c++] = m[1], v = !1) : v = !0, f = m[0], _ = m[1], E = b;
|
|
30631
30631
|
return (o && v || y === e + n) && (h[c++] = f, h[c++] = _), c;
|
|
30632
30632
|
}
|
|
30633
30633
|
/**
|
|
@@ -30687,14 +30687,14 @@ class Rw extends eg {
|
|
|
30687
30687
|
_,
|
|
30688
30688
|
t,
|
|
30689
30689
|
i,
|
|
30690
|
-
|
|
30690
|
+
ul
|
|
30691
30691
|
]), this.hitDetectionInstructions.push([
|
|
30692
30692
|
tt.CUSTOM,
|
|
30693
30693
|
h,
|
|
30694
30694
|
_,
|
|
30695
30695
|
t,
|
|
30696
30696
|
n || i,
|
|
30697
|
-
|
|
30697
|
+
ul
|
|
30698
30698
|
]);
|
|
30699
30699
|
break;
|
|
30700
30700
|
case "Polygon":
|
|
@@ -30923,7 +30923,7 @@ class Rw extends eg {
|
|
|
30923
30923
|
getBufferedMaxExtent() {
|
|
30924
30924
|
if (!this.bufferedMaxExtent_ && (this.bufferedMaxExtent_ = Rd(this.maxExtent), this.maxLineWidth > 0)) {
|
|
30925
30925
|
const t = this.resolution * (this.maxLineWidth + 1) / 2;
|
|
30926
|
-
|
|
30926
|
+
zo(this.bufferedMaxExtent_, t, this.bufferedMaxExtent_);
|
|
30927
30927
|
}
|
|
30928
30928
|
return this.bufferedMaxExtent_;
|
|
30929
30929
|
}
|
|
@@ -31786,7 +31786,7 @@ const Nu = new RegExp(
|
|
|
31786
31786
|
"[" + String.fromCharCode(1425) + "-" + String.fromCharCode(2303) + String.fromCharCode(64285) + "-" + String.fromCharCode(65023) + String.fromCharCode(65136) + "-" + String.fromCharCode(65276) + String.fromCharCode(67584) + "-" + String.fromCharCode(69631) + String.fromCharCode(124928) + "-" + String.fromCharCode(126975) + "]"
|
|
31787
31787
|
/* eslint-enable prettier/prettier */
|
|
31788
31788
|
);
|
|
31789
|
-
function
|
|
31789
|
+
function Va(r, t) {
|
|
31790
31790
|
return t === "start" ? t = Nu.test(r) ? "right" : "left" : t === "end" && (t = Nu.test(r) ? "left" : "right"), Eo[t];
|
|
31791
31791
|
}
|
|
31792
31792
|
function Zw(r, t, e) {
|
|
@@ -31817,7 +31817,7 @@ class jw {
|
|
|
31817
31817
|
const a = n ? this.strokeStates[n] : null, h = i ? this.fillStates[i] : null, c = this.textStates[e], d = this.pixelRatio, f = [
|
|
31818
31818
|
c.scale[0] * d,
|
|
31819
31819
|
c.scale[1] * d
|
|
31820
|
-
], _ = Array.isArray(t), m = c.justify ? Eo[c.justify] :
|
|
31820
|
+
], _ = Array.isArray(t), m = c.justify ? Eo[c.justify] : Va(
|
|
31821
31821
|
Array.isArray(t) ? t[0] : t,
|
|
31822
31822
|
c.textAlign || Ur
|
|
31823
31823
|
), v = n && a.lineWidth ? a.lineWidth : 0, y = _ ? t : t.split(`
|
|
@@ -32008,7 +32008,7 @@ class jw {
|
|
|
32008
32008
|
* @return {{label: import("../canvas.js").Label, anchorX: number, anchorY: number}} The text image and its anchor.
|
|
32009
32009
|
*/
|
|
32010
32010
|
drawLabelWithPointPlacement_(t, e, i, n) {
|
|
32011
|
-
const o = this.textStates[e], a = this.createLabel(t, e, n, i), h = this.strokeStates[i], c = this.pixelRatio, d =
|
|
32011
|
+
const o = this.textStates[e], a = this.createLabel(t, e, n, i), h = this.strokeStates[i], c = this.pixelRatio, d = Va(
|
|
32012
32012
|
Array.isArray(t) ? t[0] : t,
|
|
32013
32013
|
o.textAlign || Ur
|
|
32014
32014
|
), f = Eo[o.textBaseline || ho], _ = h && h.lineWidth ? h.lineWidth : 0, m = a.width / c - 2 * o.scale[0], v = d * m + 2 * (0.5 - d) * _, y = f * a.height / c + 2 * (0.5 - f) * _;
|
|
@@ -32275,7 +32275,7 @@ class jw {
|
|
|
32275
32275
|
Li in this.widths_ ? Ti = this.widths_[Li] : (Ti = {}, this.widths_[Li] = Ti);
|
|
32276
32276
|
const os = Qf(d, Hi, Ut, 2), as = Math.abs(bi[0]) * cu(Li, M, Ti);
|
|
32277
32277
|
if (ns || as <= os) {
|
|
32278
|
-
const ie = this.textStates[I].textAlign, Ci = (os - as) *
|
|
32278
|
+
const ie = this.textStates[I].textAlign, Ci = (os - as) * Va(M, ie), se = Uw(
|
|
32279
32279
|
d,
|
|
32280
32280
|
Hi,
|
|
32281
32281
|
Ut,
|
|
@@ -32453,7 +32453,7 @@ class jw {
|
|
|
32453
32453
|
);
|
|
32454
32454
|
}
|
|
32455
32455
|
}
|
|
32456
|
-
const Ww = jw,
|
|
32456
|
+
const Ww = jw, Ya = ["Polygon", "Circle", "LineString", "Image", "Text", "Default"];
|
|
32457
32457
|
class Hw {
|
|
32458
32458
|
/**
|
|
32459
32459
|
* @param {import("../../extent.js").Extent} maxExtent Max extent for clipping. When a
|
|
@@ -32543,7 +32543,7 @@ class Hw {
|
|
|
32543
32543
|
const f = this.hitDetectionContext_;
|
|
32544
32544
|
f.canvas.width !== h || f.canvas.height !== h ? (f.canvas.width = h, f.canvas.height = h) : d || f.clearRect(0, 0, h, h);
|
|
32545
32545
|
let _;
|
|
32546
|
-
this.renderBuffer_ !== void 0 && (_ = pe(), Cr(_, t),
|
|
32546
|
+
this.renderBuffer_ !== void 0 && (_ = pe(), Cr(_, t), zo(
|
|
32547
32547
|
_,
|
|
32548
32548
|
e * (this.renderBuffer_ + n),
|
|
32549
32549
|
_
|
|
@@ -32573,8 +32573,8 @@ class Hw {
|
|
|
32573
32573
|
let b, S, w, T, P;
|
|
32574
32574
|
for (b = E.length - 1; b >= 0; --b) {
|
|
32575
32575
|
const M = E[b].toString();
|
|
32576
|
-
for (w = this.executorsByZIndex_[M], S =
|
|
32577
|
-
if (v =
|
|
32576
|
+
for (w = this.executorsByZIndex_[M], S = Ya.length - 1; S >= 0; --S)
|
|
32577
|
+
if (v = Ya[S], T = w[v], T !== void 0 && (P = T.executeHitDetection(
|
|
32578
32578
|
f,
|
|
32579
32579
|
c,
|
|
32580
32580
|
i,
|
|
@@ -32613,7 +32613,7 @@ class Hw {
|
|
|
32613
32613
|
*/
|
|
32614
32614
|
execute(t, e, i, n, o, a, h) {
|
|
32615
32615
|
const c = Object.keys(this.executorsByZIndex_).map(Number);
|
|
32616
|
-
c.sort(Gi), this.maxExtent_ && (t.save(), this.clip(t, i)), a = a ||
|
|
32616
|
+
c.sort(Gi), this.maxExtent_ && (t.save(), this.clip(t, i)), a = a || Ya;
|
|
32617
32617
|
let d, f, _, m, v, y;
|
|
32618
32618
|
for (h && c.reverse(), d = 0, f = c.length; d < f; ++d) {
|
|
32619
32619
|
const E = c[d].toString();
|
|
@@ -32632,10 +32632,10 @@ class Hw {
|
|
|
32632
32632
|
this.maxExtent_ && t.restore();
|
|
32633
32633
|
}
|
|
32634
32634
|
}
|
|
32635
|
-
const
|
|
32635
|
+
const Ka = {};
|
|
32636
32636
|
function Xw(r) {
|
|
32637
|
-
if (
|
|
32638
|
-
return
|
|
32637
|
+
if (Ka[r] !== void 0)
|
|
32638
|
+
return Ka[r];
|
|
32639
32639
|
const t = r * 2 + 1, e = r * r, i = new Array(e + 1);
|
|
32640
32640
|
for (let o = 0; o <= r; ++o)
|
|
32641
32641
|
for (let a = 0; a <= r; ++a) {
|
|
@@ -32648,7 +32648,7 @@ function Xw(r) {
|
|
|
32648
32648
|
const n = [];
|
|
32649
32649
|
for (let o = 0, a = i.length; o < a; ++o)
|
|
32650
32650
|
i[o] && n.push(...i[o]);
|
|
32651
|
-
return
|
|
32651
|
+
return Ka[r] = n, n;
|
|
32652
32652
|
}
|
|
32653
32653
|
const Bu = Hw;
|
|
32654
32654
|
class Vw extends eg {
|
|
@@ -33335,10 +33335,10 @@ function Jw(r, t) {
|
|
|
33335
33335
|
return parseInt(at(r), 10) - parseInt(at(t), 10);
|
|
33336
33336
|
}
|
|
33337
33337
|
function Qw(r, t) {
|
|
33338
|
-
const e =
|
|
33338
|
+
const e = bl(r, t);
|
|
33339
33339
|
return e * e;
|
|
33340
33340
|
}
|
|
33341
|
-
function
|
|
33341
|
+
function bl(r, t) {
|
|
33342
33342
|
return $w * r / t;
|
|
33343
33343
|
}
|
|
33344
33344
|
function tL(r, t, e, i, n) {
|
|
@@ -33605,7 +33605,7 @@ class hL extends qf {
|
|
|
33605
33605
|
releaseCompositionContext_() {
|
|
33606
33606
|
if (this.opacity_ !== 1) {
|
|
33607
33607
|
const t = this.context.globalAlpha;
|
|
33608
|
-
this.context.globalAlpha = this.opacity_, this.context.drawImage(this.compositionContext_.canvas, 0, 0), this.context.globalAlpha = t,
|
|
33608
|
+
this.context.globalAlpha = this.opacity_, this.context.drawImage(this.compositionContext_.canvas, 0, 0), this.context.globalAlpha = t, Yo(this.compositionContext_), Ru.push(this.compositionContext_.canvas), this.compositionContext_ = null;
|
|
33609
33609
|
}
|
|
33610
33610
|
}
|
|
33611
33611
|
/**
|
|
@@ -33627,7 +33627,7 @@ class hL extends qf {
|
|
|
33627
33627
|
*/
|
|
33628
33628
|
renderFrame(t, e) {
|
|
33629
33629
|
const i = t.pixelRatio, n = t.layerStatesArray[t.layerIndex];
|
|
33630
|
-
Zy(this.pixelTransform, 1 / i, 1 / i),
|
|
33630
|
+
Zy(this.pixelTransform, 1 / i, 1 / i), jo(this.inversePixelTransform, this.pixelTransform);
|
|
33631
33631
|
const o = qd(this.pixelTransform);
|
|
33632
33632
|
this.useContainer(e, o, this.getBackground(t));
|
|
33633
33633
|
const a = this.context, h = a.canvas, c = this.replayGroup_, d = this.declutterExecutorGroup;
|
|
@@ -33789,7 +33789,7 @@ class hL extends qf {
|
|
|
33789
33789
|
const c = t.extent, d = t.viewState, f = d.projection, _ = d.resolution, m = t.pixelRatio, v = e.getRevision(), y = e.getRenderBuffer();
|
|
33790
33790
|
let E = e.getRenderOrder();
|
|
33791
33791
|
E === void 0 && (E = Jw);
|
|
33792
|
-
const b = d.center.slice(), S =
|
|
33792
|
+
const b = d.center.slice(), S = zo(
|
|
33793
33793
|
c,
|
|
33794
33794
|
y * _
|
|
33795
33795
|
), w = S.slice(), T = [S.slice()], P = f.getExtent();
|
|
@@ -33813,14 +33813,14 @@ class hL extends qf {
|
|
|
33813
33813
|
return pi(this.renderedExtent_, w) || (this.hitDetectionImageData_ = null, this.renderedExtent_ = w), this.renderedCenter_ = b, this.replayGroupChanged = !1, !0;
|
|
33814
33814
|
this.replayGroup_ = null;
|
|
33815
33815
|
const M = new Fu(
|
|
33816
|
-
|
|
33816
|
+
bl(_, m),
|
|
33817
33817
|
S,
|
|
33818
33818
|
_,
|
|
33819
33819
|
m
|
|
33820
33820
|
);
|
|
33821
33821
|
let I;
|
|
33822
33822
|
this.getLayer().getDeclutter() && (I = new Fu(
|
|
33823
|
-
|
|
33823
|
+
bl(_, m),
|
|
33824
33824
|
S,
|
|
33825
33825
|
_,
|
|
33826
33826
|
m
|
|
@@ -34220,7 +34220,7 @@ const fL = dL, Zu = [
|
|
|
34220
34220
|
*/
|
|
34221
34221
|
LEAVEFULLSCREEN: "leavefullscreen"
|
|
34222
34222
|
};
|
|
34223
|
-
class gL extends
|
|
34223
|
+
class gL extends qo {
|
|
34224
34224
|
/**
|
|
34225
34225
|
* @param {Options} [options] Options.
|
|
34226
34226
|
*/
|
|
@@ -34238,7 +34238,7 @@ class gL extends Ko {
|
|
|
34238
34238
|
st.CLICK,
|
|
34239
34239
|
this.handleClick_.bind(this),
|
|
34240
34240
|
!1
|
|
34241
|
-
), this.setClassName_(this.button_, this.isInFullscreen_), this.element.className = `${this.cssClassName_} ${qr} ${
|
|
34241
|
+
), this.setClassName_(this.button_, this.isInFullscreen_), this.element.className = `${this.cssClassName_} ${qr} ${Vo}`, this.element.appendChild(this.button_);
|
|
34242
34242
|
}
|
|
34243
34243
|
/**
|
|
34244
34244
|
* @param {MouseEvent} event The event to handle
|
|
@@ -34350,9 +34350,12 @@ const mL = gL, yL = wo({
|
|
|
34350
34350
|
height: "250px",
|
|
34351
34351
|
maxZoom: 20,
|
|
34352
34352
|
iconMarker: {
|
|
34353
|
+
image: To,
|
|
34354
|
+
color: "#f47521",
|
|
34353
34355
|
iconUrl: "/image/gmap01.png",
|
|
34354
34356
|
iconSize: [25, 41],
|
|
34355
34357
|
iconAnchor: [12, 41],
|
|
34358
|
+
scale: 1,
|
|
34356
34359
|
class: "",
|
|
34357
34360
|
type: "image"
|
|
34358
34361
|
},
|
|
@@ -34406,7 +34409,7 @@ const mL = gL, yL = wo({
|
|
|
34406
34409
|
}),
|
|
34407
34410
|
text: new Sf({
|
|
34408
34411
|
font: "12px Roboto",
|
|
34409
|
-
fill: new
|
|
34412
|
+
fill: new $o({
|
|
34410
34413
|
color: "#000"
|
|
34411
34414
|
}),
|
|
34412
34415
|
stroke: new fo({
|
|
@@ -34438,13 +34441,16 @@ const mL = gL, yL = wo({
|
|
|
34438
34441
|
}),
|
|
34439
34442
|
visible: !1,
|
|
34440
34443
|
style: (i) => {
|
|
34441
|
-
var a, h;
|
|
34444
|
+
var a, h, c;
|
|
34442
34445
|
return new Hn({
|
|
34443
34446
|
image: new ch({
|
|
34444
|
-
opacity: 1,
|
|
34447
|
+
// opacity: 1,
|
|
34445
34448
|
src: (h = (a = this.configurationMap) == null ? void 0 : a.iconMarker) == null ? void 0 : h.iconUrl,
|
|
34446
|
-
|
|
34447
|
-
|
|
34449
|
+
color: (c = this.configurationMap.iconMarker) == null ? void 0 : c.color,
|
|
34450
|
+
scale: this.configurationMap.iconMarker.scale
|
|
34451
|
+
// // img: this.configurationMap.iconMarker.image,
|
|
34452
|
+
// width: this.configurationMap?.iconMarker.iconSize[0],
|
|
34453
|
+
// height: this.configurationMap?.iconMarker.iconSize[1],
|
|
34448
34454
|
}),
|
|
34449
34455
|
zIndex: 1
|
|
34450
34456
|
});
|
|
@@ -34585,7 +34591,7 @@ const mL = gL, yL = wo({
|
|
|
34585
34591
|
this.countryLayer.removeEventListener("change", this.countryFunction), this.olMap.removeEventListener("click", this.onClickListener);
|
|
34586
34592
|
}
|
|
34587
34593
|
});
|
|
34588
|
-
const mi = (r) => (f_("data-v-
|
|
34594
|
+
const mi = (r) => (f_("data-v-c3e83e58"), r = r(), g_(), r), vL = {
|
|
34589
34595
|
ref: "map-root",
|
|
34590
34596
|
style: { width: "100%", height: "100%", position: "relative" }
|
|
34591
34597
|
}, xL = { class: "btn-zoom-container ol-control" }, EL = /* @__PURE__ */ mi(() => /* @__PURE__ */ mt("svg", {
|
|
@@ -34630,7 +34636,7 @@ function jL(r, t, e, i, n, o) {
|
|
|
34630
34636
|
var a;
|
|
34631
34637
|
return Lo(), bo("div", {
|
|
34632
34638
|
class: "map-container",
|
|
34633
|
-
style:
|
|
34639
|
+
style: Tl(`height:${(a = r.configurationMap) == null ? void 0 : a.height}`)
|
|
34634
34640
|
}, [
|
|
34635
34641
|
mt("div", vL, [
|
|
34636
34642
|
Sn(mt("div", xL, [
|
|
@@ -34709,7 +34715,7 @@ function jL(r, t, e, i, n, o) {
|
|
|
34709
34715
|
])
|
|
34710
34716
|
], 4);
|
|
34711
34717
|
}
|
|
34712
|
-
const JL = /* @__PURE__ */ Sl(yL, [["render", jL], ["__scopeId", "data-v-
|
|
34718
|
+
const JL = /* @__PURE__ */ Sl(yL, [["render", jL], ["__scopeId", "data-v-c3e83e58"]]);
|
|
34713
34719
|
export {
|
|
34714
34720
|
KL as CoordinatesVerifyPolygon,
|
|
34715
34721
|
JL as MapHeatComponent,
|