@pusdn/pgz-comp-elep 0.2.9 → 0.2.11

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.
@@ -17595,19 +17595,19 @@ const TS = /* @__PURE__ */ rr(CS, [["__scopeId", "data-v-b6ef6fb1"]]), xS = xt(T
17595
17595
  var R;
17596
17596
  switch (n.value.loading = !1, n.value.map = new window.rawWindow.T.Map("map__container"), t.mapType) {
17597
17597
  case 1:
17598
- n.value.map.setMapType(window.TMAP_SATELLITE_MAP);
17598
+ n.value.map.setMapType(window.rawWindow.TMAP_SATELLITE_MAP);
17599
17599
  break;
17600
17600
  case 2:
17601
- n.value.map.setMapType(window.TMAP_HYBRID_MAP);
17601
+ n.value.map.setMapType(window.rawWindow.TMAP_HYBRID_MAP);
17602
17602
  break;
17603
17603
  case 3:
17604
- n.value.map.setMapType(window.TMAP_TERRAIN_MAP);
17604
+ n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_MAP);
17605
17605
  break;
17606
17606
  case 4:
17607
- n.value.map.setMapType(window.TMAP_TERRAIN_HYBRID_MAP);
17607
+ n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_HYBRID_MAP);
17608
17608
  break;
17609
17609
  default:
17610
- n.value.map.setMapType(window.TMAP_NORMAL_MAP);
17610
+ n.value.map.setMapType(window.rawWindow.TMAP_NORMAL_MAP);
17611
17611
  }
17612
17612
  let F = new window.rawWindow.T.LngLat(116.40969, 39.89945);
17613
17613
  s.value && l.value && (F = new window.rawWindow.T.LngLat(s.value, l.value)), n.value.map.centerAndZoom(F, t.zoom);
@@ -17619,9 +17619,9 @@ const TS = /* @__PURE__ */ rr(CS, [["__scopeId", "data-v-b6ef6fb1"]]), xS = xt(T
17619
17619
  M.preventDefault(), (M.deltaY > 0 ? "up" : "down") === "up" ? n.value.map.zoomOut() : n.value.map.zoomIn();
17620
17620
  });
17621
17621
  const D = new window.rawWindow.T.Control.Scale();
17622
- D.setPosition(window.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(D);
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.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(), 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-c01fddf3"]]), MS = xt(LS), RS = {
17764
+ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-1fb8555a"]]), MS = xt(LS), RS = {
17765
17765
  closable: {
17766
17766
  type: Boolean,
17767
17767
  default: !1
@@ -17849,19 +17849,19 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-c01fddf3"]]), MS = xt(L
17849
17849
  const M = Number(t.mapType), V = new window.rawWindow.T.Control.MapType();
17850
17850
  switch (n.value.map.addControl(V), M) {
17851
17851
  case 1:
17852
- n.value.map.setMapType(window.TMAP_SATELLITE_MAP);
17852
+ n.value.map.setMapType(window.rawWindow.TMAP_SATELLITE_MAP);
17853
17853
  break;
17854
17854
  case 2:
17855
- n.value.map.setMapType(window.TMAP_HYBRID_MAP);
17855
+ n.value.map.setMapType(window.rawWindow.TMAP_HYBRID_MAP);
17856
17856
  break;
17857
17857
  case 3:
17858
- n.value.map.setMapType(window.TMAP_TERRAIN_MAP);
17858
+ n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_MAP);
17859
17859
  break;
17860
17860
  case 4:
17861
- n.value.map.setMapType(window.TMAP_TERRAIN_HYBRID_MAP);
17861
+ n.value.map.setMapType(window.rawWindow.TMAP_TERRAIN_HYBRID_MAP);
17862
17862
  break;
17863
17863
  default:
17864
- n.value.map.setMapType(window.TMAP_NORMAL_MAP);
17864
+ n.value.map.setMapType(window.rawWindow.TMAP_NORMAL_MAP);
17865
17865
  }
17866
17866
  const H = new window.rawWindow.T.LngLat(116.40969, 39.89945);
17867
17867
  n.value.map.centerAndZoom(H, t.zoom);
@@ -17883,14 +17883,14 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-c01fddf3"]]), MS = xt(L
17883
17883
  fillOpacity: 0.3,
17884
17884
  strokeType: "dashed"
17885
17885
  };
17886
- n.value.polyEditor = new window.T.PolygonTool(n.value.map, W), n.value.polyEditor.on("draw", (ie) => {
17886
+ n.value.polyEditor = new window.rawWindow.T.PolygonTool(n.value.map, W), n.value.polyEditor.on("draw", (ie) => {
17887
17887
  const Fe = ie.currentPolygon;
17888
17888
  console.log("\u591A\u8FB9\u5F62\u5750\u6807:", Fe), console.log("\u591A\u8FB9\u5F62\u5750\u6807:", JSON.stringify(ie.currentLnglats)), ie.currentPolygon.addEventListener("click", k);
17889
17889
  });
17890
17890
  const ye = new window.rawWindow.T.Control.Scale();
17891
- ye.setPosition(window.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(ye);
17891
+ ye.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(ye);
17892
17892
  const fe = new window.rawWindow.T.Control.Zoom();
17893
- fe.setPosition(window.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(fe), n.value.loading = !1;
17893
+ fe.setPosition(window.rawWindow.T_ANCHOR_BOTTOM_RIGHT), n.value.map.addControl(fe), n.value.loading = !1;
17894
17894
  } catch (M) {
17895
17895
  console.error("\u521D\u59CB\u5316\u5730\u56FE\u5931\u8D25:", M), n.value.loading = !1, Gt.error("\u521D\u59CB\u5316\u5730\u56FE\u5931\u8D25");
17896
17896
  }
@@ -18264,7 +18264,7 @@ const LS = /* @__PURE__ */ rr(IS, [["__scopeId", "data-v-c01fddf3"]]), MS = xt(L
18264
18264
  };
18265
18265
  }
18266
18266
  });
18267
- const US = /* @__PURE__ */ rr(zS, [["__scopeId", "data-v-a2e7e2c8"]]), $S = xt(US);
18267
+ const US = /* @__PURE__ */ rr(zS, [["__scopeId", "data-v-05eee919"]]), $S = xt(US);
18268
18268
  function Fc(i, a) {
18269
18269
  var r = Object.keys(i);
18270
18270
  if (Object.getOwnPropertySymbols) {
Binary file