@pusdn/pgz-comp-elep 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/pgz-comp-elep.es.js +32 -26
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +1 -1
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +1 -1
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +2 -2
package/lib/pgz-comp-elep.es.js
CHANGED
|
@@ -17621,7 +17621,7 @@ const TS = /* @__PURE__ */ rr(CS, [["__scopeId", "data-v-b6ef6fb1"]]), xS = xt(T
|
|
|
17621
17621
|
const D = new window.rawWindow.T.Control.Scale();
|
|
17622
17622
|
D.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(D);
|
|
17623
17623
|
const k = new window.rawWindow.T.Control.Zoom();
|
|
17624
|
-
k.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(k), n.value.geocode = new window.rawWindow.T.Geocoder(), n.value.map.addEventListener("click", (M) => {
|
|
17624
|
+
k.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(k), n.value.geocode = new window.rawWindow.T.Geocoder(), t.detail || n.value.map.addEventListener("click", (M) => {
|
|
17625
17625
|
y();
|
|
17626
17626
|
const V = M.lnglat, H = V.getLng(), j = V.getLat();
|
|
17627
17627
|
P(H, j), n.value.geocode.getLocation(M.lnglat, I);
|
|
@@ -17761,7 +17761,7 @@ const TS = /* @__PURE__ */ rr(CS, [["__scopeId", "data-v-b6ef6fb1"]]), xS = xt(T
|
|
|
17761
17761
|
};
|
|
17762
17762
|
}
|
|
17763
17763
|
});
|
|
17764
|
-
const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-
|
|
17764
|
+
const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-eef968b1"]]), MS = xt(LS), RS = {
|
|
17765
17765
|
closable: {
|
|
17766
17766
|
type: Boolean,
|
|
17767
17767
|
default: !1
|
|
@@ -17996,7 +17996,8 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-1fb8555a"]]), MS = xt(L
|
|
|
17996
17996
|
n.value.currentPolygon ? Bu.confirm("\u662F\u5426\u6E05\u9664\u5F53\u524D\u70B9\u51FB\u7684\u591A\u8FB9\u5F62\uFF1F\u6B64\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01", "\u786E\u8BA4\u6E05\u9664", {
|
|
17997
17997
|
confirmButtonText: "\u786E\u5B9A",
|
|
17998
17998
|
cancelButtonText: "\u53D6\u6D88",
|
|
17999
|
-
type: "warning"
|
|
17999
|
+
type: "warning",
|
|
18000
|
+
appendTo: document.body
|
|
18000
18001
|
}).then(() => {
|
|
18001
18002
|
n.value.currentPolygon && n.value.map.removeOverLay(n.value.currentPolygon), Gt.success("\u5DF2\u6E05\u9664\u5F53\u524D\u591A\u8FB9\u5F62");
|
|
18002
18003
|
}).catch(() => {
|
|
@@ -18005,7 +18006,8 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-1fb8555a"]]), MS = xt(L
|
|
|
18005
18006
|
Bu.confirm("\u662F\u5426\u6E05\u9664\u6240\u6709\u5730\u56FE\u8986\u76D6\u7269\uFF1F\u6B64\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01", "\u786E\u8BA4\u6E05\u9664", {
|
|
18006
18007
|
confirmButtonText: "\u786E\u5B9A",
|
|
18007
18008
|
cancelButtonText: "\u53D6\u6D88",
|
|
18008
|
-
type: "warning"
|
|
18009
|
+
type: "warning",
|
|
18010
|
+
appendTo: document.body
|
|
18009
18011
|
}).then(() => {
|
|
18010
18012
|
var R;
|
|
18011
18013
|
(R = n.value.map) == null || R.clearOverLays(), Gt.success("\u5DF2\u6E05\u9664\u6240\u6709\u8986\u76D6\u7269");
|
|
@@ -18026,28 +18028,32 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-1fb8555a"]]), MS = xt(L
|
|
|
18026
18028
|
}
|
|
18027
18029
|
},
|
|
18028
18030
|
{ deep: !0 }
|
|
18029
|
-
), gt(
|
|
18030
|
-
|
|
18031
|
-
|
|
18032
|
-
|
|
18033
|
-
|
|
18034
|
-
const
|
|
18035
|
-
|
|
18036
|
-
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
|
|
18031
|
+
), gt(
|
|
18032
|
+
() => n.value.box,
|
|
18033
|
+
() => {
|
|
18034
|
+
n.value.box && (n.value.oldPoi = n.value.poi, n.value.oldAllData = n.value.allData, Er(() => {
|
|
18035
|
+
if (c(), console.log(JSON.stringify(n.value.allData)), n.value.allData && n.value.allData.allPolygonArr) {
|
|
18036
|
+
const R = [];
|
|
18037
|
+
for (let M = 0; M < n.value.allData.allPolygonArr.length; M++) {
|
|
18038
|
+
const V = [], H = n.value.allData.allPolygonArr[M].map((J) => (V.push({ lng: J[0], lat: J[1] }), new window.rawWindow.T.LngLat(J[0], J[1]))), j = new window.rawWindow.T.Polygon(H, {
|
|
18039
|
+
color: "blue",
|
|
18040
|
+
weight: 3,
|
|
18041
|
+
opacity: 0.7,
|
|
18042
|
+
fillColor: "blue",
|
|
18043
|
+
fillOpacity: 0.3
|
|
18044
|
+
});
|
|
18045
|
+
n.value.map.addOverLay(j), R.push(...H);
|
|
18046
|
+
}
|
|
18047
|
+
R.length > 0 && n.value.map.setViewport(R);
|
|
18048
|
+
} else
|
|
18049
|
+
console.log("\u65E0\u6570\u636E\uFF0C\u663E\u793A\u9ED8\u8BA4\u5B9A\u4F4D"), new window.rawWindow.T.LocalCity().location((M) => {
|
|
18050
|
+
const V = new window.rawWindow.T.Marker(M.lnglat);
|
|
18051
|
+
n.value.map.addOverLay(V);
|
|
18040
18052
|
});
|
|
18041
|
-
|
|
18042
|
-
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
console.log("\u65E0\u6570\u636E\uFF0C\u663E\u793A\u9ED8\u8BA4\u5B9A\u4F4D"), new window.rawWindow.T.LocalCity().location((M) => {
|
|
18046
|
-
const V = new window.rawWindow.T.Marker(M.lnglat);
|
|
18047
|
-
n.value.map.addOverLay(V);
|
|
18048
|
-
});
|
|
18049
|
-
}));
|
|
18050
|
-
}, { immediate: !0 }), Ki(() => {
|
|
18053
|
+
}));
|
|
18054
|
+
},
|
|
18055
|
+
{ immediate: !0 }
|
|
18056
|
+
), Ki(() => {
|
|
18051
18057
|
var R;
|
|
18052
18058
|
n.value.map && n.value.map.clearOverLays(), n.value.polyEditor && n.value.polyEditor.close(), (R = document.getElementById("map__container")) == null || R.removeEventListener("wheel", () => {
|
|
18053
18059
|
});
|
|
@@ -18264,7 +18270,7 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-1fb8555a"]]), MS = xt(L
|
|
|
18264
18270
|
};
|
|
18265
18271
|
}
|
|
18266
18272
|
});
|
|
18267
|
-
const US = /* @__PURE__ */ rr(zS, [["__scopeId", "data-v-
|
|
18273
|
+
const US = /* @__PURE__ */ rr(zS, [["__scopeId", "data-v-d1fd4770"]]), $S = xt(US);
|
|
18268
18274
|
function Fc(i, a) {
|
|
18269
18275
|
var r = Object.keys(i);
|
|
18270
18276
|
if (Object.getOwnPropertySymbols) {
|
|
Binary file
|