tg-map-vue3 3.8.6 → 3.8.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.
package/dist/tg-map.js CHANGED
@@ -2,7 +2,7 @@
2
2
  var Yr = Object.defineProperty;
3
3
  var qr = (i, t, e) => t in i ? Yr(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
4
4
  var m = (i, t, e) => (qr(i, typeof t != "symbol" ? t + "" : t, e), e);
5
- import { createCommentVNode as ft, computed as fr, defineComponent as P, markRaw as Kr, watch as Ae, openBlock as he, createElementBlock as ce, mergeProps as He, createElementVNode as Xr, normalizeClass as st, renderSlot as K, normalizeStyle as Jr, getCurrentInstance as Qr, inject as ei, onMounted as ti, onBeforeUnmount as ri, toRaw as nt, withDirectives as ii, vShow as si } from "vue";
5
+ import { createCommentVNode as ft, computed as fr, defineComponent as P, markRaw as Kr, watch as Ae, openBlock as he, createElementBlock as ce, mergeProps as He, createElementVNode as Xr, normalizeClass as it, renderSlot as K, normalizeStyle as Jr, getCurrentInstance as Qr, inject as ei, onMounted as ti, onBeforeUnmount as ri, toRaw as st, withDirectives as ii, vShow as si } from "vue";
6
6
  function re(i, t, e) {
7
7
  Object.keys(i).forEach((r) => {
8
8
  r.startsWith("update:") || e != null && e.includes(r) || t.addEventListener(r, i[r]);
@@ -12,11 +12,11 @@ let ni = 1;
12
12
  function oi() {
13
13
  return ni++;
14
14
  }
15
- function qe(i, t) {
15
+ function Ye(i, t) {
16
16
  return t.__id__ || (t.__id__ = oi()), `${i}::${t.__id__}`;
17
17
  }
18
18
  var xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
19
- function ot(i) {
19
+ function nt(i) {
20
20
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
21
21
  }
22
22
  var vr = { exports: {} };
@@ -127,7 +127,7 @@ var vr = { exports: {} };
127
127
  });
128
128
  })(vr);
129
129
  var ai = vr.exports;
130
- const pe = /* @__PURE__ */ ot(ai);
130
+ const pe = /* @__PURE__ */ nt(ai);
131
131
  var fe;
132
132
  ((i) => {
133
133
  function t(c, o) {
@@ -249,8 +249,8 @@ function hi(i) {
249
249
  let t = null;
250
250
  return () => t ?? (t = i().catch((e) => (t = null, Promise.reject(e))));
251
251
  }
252
- var R = /* @__PURE__ */ ((i) => (i.wgs84 = "wgs84", i.gcj02 = "gcj02", i.bd09 = "bd09", i))(R || {});
253
- const Fe = "wgs84", D = class D {
252
+ var D = /* @__PURE__ */ ((i) => (i.wgs84 = "wgs84", i.gcj02 = "gcj02", i.bd09 = "bd09", i))(D || {});
253
+ const ut = "wgs84", R = class R {
254
254
  constructor(t, e, r) {
255
255
  this.lat = t, this.lng = e, this.coord = r;
256
256
  }
@@ -272,26 +272,23 @@ const Fe = "wgs84", D = class D {
272
272
  }
273
273
  /** @param coord Baidu Map的坐标一般都是bd09 */
274
274
  static fromBaidu(t, e) {
275
- return new D(t.lat, t.lng, e);
275
+ return new R(t.lat, t.lng, e);
276
276
  }
277
277
  /** @param coord Google Map的坐标依据地图类型不同是不一样的 */
278
278
  static fromGoogle(t, e) {
279
- return new D(t.lat(), t.lng(), e);
279
+ return new R(t.lat(), t.lng(), e);
280
280
  }
281
281
  static fromHere(t, e) {
282
- return new D(t.lat, t.lng, e);
282
+ return new R(t.lat, t.lng, e);
283
283
  }
284
284
  static fromLiteral(t) {
285
- return new D(t.lat, t.lng, t.coord || Fe);
286
- }
287
- static fromPartialLiteral(t) {
288
- return new D((t == null ? void 0 : t.lat) ?? 0, (t == null ? void 0 : t.lng) ?? 0, (t == null ? void 0 : t.coord) || Fe);
285
+ return new R(t.lat, t.lng, t.coord || ut);
289
286
  }
290
- static fromLngLat(t, e, r = Fe) {
291
- return new D(e, t, r);
287
+ static fromLngLat(t, e, r = ut) {
288
+ return new R(e, t, r);
292
289
  }
293
- static create(t, e, r = Fe) {
294
- return new D(t, e, r);
290
+ static create(t, e, r = ut) {
291
+ return new R(t, e, r);
295
292
  }
296
293
  /** 转换坐标到指定坐标系 */
297
294
  to(t) {
@@ -299,7 +296,7 @@ const Fe = "wgs84", D = class D {
299
296
  if (this.coord === e)
300
297
  return this;
301
298
  const [r, s] = this._convert(e);
302
- return new D(s, r, e);
299
+ return new R(s, r, e);
303
300
  }
304
301
  /**
305
302
  * TODO: normalize要不要默认设为true, 和google的行为保持一致?
@@ -309,7 +306,7 @@ const Fe = "wgs84", D = class D {
309
306
  */
310
307
  toBaidu(t, e = !1) {
311
308
  let r = this.lat, s = this.lng;
312
- return this.coord !== t && ([s, r] = this._convert(t)), e && ([s, r] = D._normalize(s, r)), new BMap.Point(s, r);
309
+ return this.coord !== t && ([s, r] = this._convert(t)), e && ([s, r] = R._normalize(s, r)), new BMap.Point(s, r);
313
310
  }
314
311
  /**
315
312
  * 转换成google的经纬度, 内部会自动进行标准化
@@ -348,8 +345,8 @@ const Fe = "wgs84", D = class D {
348
345
  * @see _normalize {@macro latlng_normalize}
349
346
  */
350
347
  normalize() {
351
- const [t, e] = D._normalize(this.lng, this.lat);
352
- return e === this.lat && t === this.lng ? this : new D(e, t, this.coord);
348
+ const [t, e] = R._normalize(this.lng, this.lat);
349
+ return e === this.lat && t === this.lng ? this : new R(e, t, this.coord);
353
350
  }
354
351
  equals(t) {
355
352
  return this === t ? !0 : this.lat === t.lat && this.lng === t.lng && this.coord === t.coord;
@@ -358,8 +355,8 @@ const Fe = "wgs84", D = class D {
358
355
  return JSON.stringify(this);
359
356
  }
360
357
  };
361
- m(D, "ZERO", D.create(0, 0));
362
- let O = D;
358
+ m(R, "ZERO", R.create(0, 0));
359
+ let O = R;
363
360
  const ne = class ne {
364
361
  /**
365
362
  * 不推荐直接创建LatLngBounds, sw和ne的大小关系可能没法保证, 推荐用LatLngBounds.Builder或者LatLngBounds.from等静态方法来创建
@@ -516,7 +513,7 @@ class br {
516
513
  return this.target = t, this;
517
514
  }
518
515
  }
519
- class at {
516
+ class ot {
520
517
  constructor(t, e) {
521
518
  m(this, "eventHub", new Tr());
522
519
  this.delegate = t, this.options = e;
@@ -545,14 +542,14 @@ class at {
545
542
  this.delegate.removeEventListener(t, e);
546
543
  }
547
544
  }
548
- const it = class it extends br {
545
+ const rt = class rt extends br {
549
546
  addEventListener(t, e) {
550
- const r = qe(t, e);
547
+ const r = Ye(t, e);
551
548
  if (this.eventMap.get(r)) {
552
549
  console.warn("listener已经添加过了", r, e);
553
550
  return;
554
551
  }
555
- const s = this.inner.addListener(it.EVENT_TYPE_MAP[t] || t, (n) => {
552
+ const s = this.inner.addListener(rt.EVENT_TYPE_MAP[t] || t, (n) => {
556
553
  const a = {
557
554
  type: t,
558
555
  target: this.target,
@@ -563,12 +560,12 @@ const it = class it extends br {
563
560
  this.eventMap.set(r, s);
564
561
  }
565
562
  removeEventListener(t, e) {
566
- const r = qe(t, e), s = this.eventMap.get(r);
563
+ const r = Ye(t, e), s = this.eventMap.get(r);
567
564
  s ? (s.remove(), this.eventMap.delete(r)) : console.warn("移除失败, 不存在该listener", r, e);
568
565
  }
569
566
  };
570
567
  // 事件类型映射: tg => google
571
- m(it, "EVENT_TYPE_MAP", {
568
+ m(rt, "EVENT_TYPE_MAP", {
572
569
  "center-changed": "center_changed",
573
570
  "zoom-changed": "zoom_changed",
574
571
  "radius-changed": "radius_changed",
@@ -584,10 +581,10 @@ m(it, "EVENT_TYPE_MAP", {
584
581
  "map-mouseup": "mouseup",
585
582
  "map-dblclick": "dblclick"
586
583
  });
587
- let ye = it;
584
+ let ye = rt;
588
585
  const Ie = class Ie extends br {
589
586
  addEventListener(t, e) {
590
- const r = qe(t, e);
587
+ const r = Ye(t, e);
591
588
  if (this.eventMap.get(r)) {
592
589
  console.warn("listener已经添加过了", r, e);
593
590
  return;
@@ -603,7 +600,7 @@ const Ie = class Ie extends br {
603
600
  this.inner.addEventListener(Ie.EVENT_TYPE_MAP[t] || t, s), this.eventMap.set(r, s);
604
601
  }
605
602
  removeEventListener(t, e) {
606
- const r = qe(t, e), s = this.eventMap.get(r);
603
+ const r = Ye(t, e), s = this.eventMap.get(r);
607
604
  s ? (this.inner.removeEventListener(Ie.EVENT_TYPE_MAP[t] || t, s), this.eventMap.delete(r)) : console.warn("移除失败, 不存在该listener", r, e);
608
605
  }
609
606
  };
@@ -814,7 +811,7 @@ class Bt extends Lt {
814
811
  t.innerMap.removeControl(this.inner);
815
812
  }
816
813
  }
817
- class lt extends Lt {
814
+ class at extends Lt {
818
815
  constructor(e, r) {
819
816
  super();
820
817
  m(this, "visible", !1);
@@ -860,7 +857,7 @@ class W {
860
857
  return this.id;
861
858
  }
862
859
  getBaiduCoordType() {
863
- return R.bd09;
860
+ return D.bd09;
864
861
  }
865
862
  asBaiduMapType() {
866
863
  return this.baidu();
@@ -942,13 +939,13 @@ class mi {
942
939
  }
943
940
  var V;
944
941
  ((i) => {
945
- i.NORMAL = new W("normal", () => BMAP_NORMAL_MAP, () => google.maps.MapTypeId.ROADMAP, R.gcj02), i.SATELLITE = new W("satellite", () => BMAP_SATELLITE_MAP, () => google.maps.MapTypeId.SATELLITE, R.wgs84), i.HYBRID = new W("hybrid", () => BMAP_HYBRID_MAP, () => google.maps.MapTypeId.HYBRID, R.gcj02), i.TERRAIN = new W("terrain", () => (
942
+ i.NORMAL = new W("normal", () => BMAP_NORMAL_MAP, () => google.maps.MapTypeId.ROADMAP, D.gcj02), i.SATELLITE = new W("satellite", () => BMAP_SATELLITE_MAP, () => google.maps.MapTypeId.SATELLITE, D.wgs84), i.HYBRID = new W("hybrid", () => BMAP_HYBRID_MAP, () => google.maps.MapTypeId.HYBRID, D.gcj02), i.TERRAIN = new W("terrain", () => (
946
943
  /* 三维 */
947
944
  BMAP_PERSPECTIVE_MAP
948
945
  ), () => (
949
946
  /* 地形 */
950
947
  google.maps.MapTypeId.TERRAIN
951
- ), R.wgs84), i.BUILD_IN_MAP_TYPES = new ui([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
948
+ ), D.wgs84), i.BUILD_IN_MAP_TYPES = new ui([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
952
949
  })(V || (V = {}));
953
950
  var Or = /* @__PURE__ */ ((i) => (i.DEFAULT = "default", i.HORIZONTAL = "horizontal", i.DROPDOWN = "dropdown", i))(Or || {});
954
951
  const Cr = [V.NORMAL, V.SATELLITE, V.HYBRID];
@@ -965,7 +962,7 @@ class It extends Bt {
965
962
  return t.position && s.setAnchor(U.getBaidu().toValue(t.position)), new It(s, t.position);
966
963
  }
967
964
  }
968
- const ue = class ue extends lt {
965
+ const ue = class ue extends at {
969
966
  constructor(t = "default", e = A.TOP_LEFT, r = Cr) {
970
967
  super("mapType", e), this.type = t, this.mapTypes = r, ue.type2google || (ue.type2google = {
971
968
  default: google.maps.MapTypeControlStyle.DEFAULT,
@@ -996,7 +993,7 @@ class St extends Bt {
996
993
  return new St(e, t.position);
997
994
  }
998
995
  }
999
- class kt extends lt {
996
+ class kt extends at {
1000
997
  static create(t) {
1001
998
  return new kt(t.position);
1002
999
  }
@@ -1009,7 +1006,7 @@ class At extends gi {
1009
1006
  return new At(!0, t.position ?? A.RIGHT_BOTTOM);
1010
1007
  }
1011
1008
  }
1012
- class Dt extends lt {
1009
+ class Dt extends at {
1013
1010
  static create(t) {
1014
1011
  return new Dt(t.position);
1015
1012
  }
@@ -1027,7 +1024,7 @@ class Rt extends Bt {
1027
1024
  return new Rt(e, t.position);
1028
1025
  }
1029
1026
  }
1030
- class $t extends lt {
1027
+ class $t extends at {
1031
1028
  static create(t) {
1032
1029
  return new $t(t.position);
1033
1030
  }
@@ -1600,22 +1597,22 @@ var Pr = { exports: {} };
1600
1597
  });
1601
1598
  })(Pr);
1602
1599
  var Ti = Pr.exports;
1603
- const Mi = /* @__PURE__ */ ot(Ti), lr = 10, Ke = {
1600
+ const Mi = /* @__PURE__ */ nt(Ti), lr = 10, qe = {
1604
1601
  toGoogle: (i, t) => ({
1605
1602
  opacity: i.opacity,
1606
1603
  radius: i.radius ?? lr,
1607
1604
  // key是小数和整数的混合, 故读取出来时不会维持
1608
1605
  gradient: i.gradient && Object.entries(i.gradient).sort(([e], [r]) => +e - +r).map(([e, r]) => r),
1609
1606
  maxIntensity: i.maxIntensity,
1610
- data: Xe.toGoogle(i.data, t)
1607
+ data: Ke.toGoogle(i.data, t)
1611
1608
  }),
1612
1609
  toBaidu: (i, t, e) => ({
1613
1610
  opacity: i.opacity,
1614
1611
  radius: i.radius ?? lr,
1615
1612
  gradient: i.gradient,
1616
- data: Xe.toBaidu(i.data, t, e)
1613
+ data: Ke.toBaidu(i.data, t, e)
1617
1614
  })
1618
- }, Xe = {
1615
+ }, Ke = {
1619
1616
  toGoogle: (i, t) => i.map(
1620
1617
  (e) => "weight" in e ? { weight: e.weight, location: e.position.toGoogle(t) } : e.toGoogle(t)
1621
1618
  ),
@@ -1633,13 +1630,13 @@ class Oi extends Lr {
1633
1630
  constructor(e, r) {
1634
1631
  super();
1635
1632
  m(this, "inner");
1636
- this.map = e, this.inner = new google.maps.visualization.HeatmapLayer(Ke.toGoogle(r, this.map.coordType)), this.inner.setMap(e.innerMap);
1633
+ this.map = e, this.inner = new google.maps.visualization.HeatmapLayer(qe.toGoogle(r, this.map.coordType)), this.inner.setMap(e.innerMap);
1637
1634
  }
1638
1635
  setData(e) {
1639
- this.inner.setData(Xe.toGoogle(e, this.map.coordType));
1636
+ this.inner.setData(Ke.toGoogle(e, this.map.coordType));
1640
1637
  }
1641
1638
  setOptions(e) {
1642
- this.inner.setOptions(Ke.toGoogle(e, this.map.coordType));
1639
+ this.inner.setOptions(qe.toGoogle(e, this.map.coordType));
1643
1640
  }
1644
1641
  remove() {
1645
1642
  this.inner.setMap(null);
@@ -1650,7 +1647,7 @@ class Ci extends Lr {
1650
1647
  super();
1651
1648
  m(this, "inner");
1652
1649
  this.map = e;
1653
- const s = Ke.toBaidu(r, this.map.coordType, r.maxIntensity);
1650
+ const s = qe.toBaidu(r, this.map.coordType, r.maxIntensity);
1654
1651
  this.inner = new Mi(s), e.innerMap.addOverlay(this.inner), this.inner.setDataSet(s.data);
1655
1652
  }
1656
1653
  /**
@@ -1666,10 +1663,10 @@ class Ci extends Lr {
1666
1663
  ((r = this.inner).data ?? (r.data = {})).max = e;
1667
1664
  }
1668
1665
  setData(e) {
1669
- this.inner.setDataSet(Xe.toBaidu(e, this.map.coordType, this.innerDataMax));
1666
+ this.inner.setDataSet(Ke.toBaidu(e, this.map.coordType, this.innerDataMax));
1670
1667
  }
1671
1668
  setOptions(e) {
1672
- const r = Ke.toBaidu(e, this.map.coordType, e.maxIntensity ?? this.innerDataMax);
1669
+ const r = qe.toBaidu(e, this.map.coordType, e.maxIntensity ?? this.innerDataMax);
1673
1670
  e.data !== this.inner.data ? this.inner.setDataSet(r.data) : e.maxIntensity && (this.innerDataMax = e.maxIntensity), this.inner.setOptions(r);
1674
1671
  }
1675
1672
  remove() {
@@ -1697,8 +1694,8 @@ const Se = class Se extends Br {
1697
1694
  // {@template google_map_normal_gcj02}
1698
1695
  // google地图的普通地图, 在国内其实上是gcj02坐标, 卫星地图是wgs84坐标, 因为这里打开的是基础地图, 故使用gcj02
1699
1696
  // {@endtemplate}
1700
- origin: te.toString(t, R.gcj02),
1701
- destination: te.toString(e, R.gcj02),
1697
+ origin: te.toString(t, D.gcj02),
1698
+ destination: te.toString(e, D.gcj02),
1702
1699
  travelmode: r
1703
1700
  });
1704
1701
  }
@@ -1707,7 +1704,7 @@ const Se = class Se extends Br {
1707
1704
  return Le(Se.BASE_URL, "search/", {
1708
1705
  api: "1",
1709
1706
  // {@macro google_map_normal_gcj02}
1710
- query: te.toString(t, R.gcj02)
1707
+ query: te.toString(t, D.gcj02)
1711
1708
  });
1712
1709
  }
1713
1710
  };
@@ -1719,13 +1716,13 @@ const ge = class ge extends Br {
1719
1716
  * @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#:~:text=%E6%9C%8D%E5%8A%A1%E5%9C%B0%E5%9D%80-,http%3A//api.map.baidu.com/direction,-//PC%26Webapp%E6%9C%8D%E5%8A%A1
1720
1717
  * */
1721
1718
  directions(t, e, r = "driving") {
1722
- const s = te.getCoordType(e) ?? te.getCoordType(t) ?? R.bd09, n = te.toString(e, s);
1719
+ const s = te.getCoordType(e) ?? te.getCoordType(t) ?? D.bd09, n = te.toString(e, s);
1723
1720
  return Le(ge.BASE_URL, "direction", {
1724
1721
  // baidu地图, 一定要有起点, 故这里用终点当起点, 防止导航失败
1725
1722
  origin: te.toString(t, s) ?? (typeof e != "string" ? `name:请选择起点|latlng:${n}` : n),
1726
1723
  destination: n,
1727
1724
  // 默认就是bd09
1728
- coord_type: s === R.bd09 ? void 0 : s,
1725
+ coord_type: s === D.bd09 ? void 0 : s,
1729
1726
  mode: r,
1730
1727
  output: "html",
1731
1728
  region: "中国",
@@ -1739,7 +1736,7 @@ const ge = class ge extends Br {
1739
1736
  * 显示经纬度, {@link markerApi}中途跳转的url, 一定能够定位到
1740
1737
  * */
1741
1738
  latlngApi(t) {
1742
- const e = t.to(R.bd09);
1739
+ const e = t.to(D.bd09);
1743
1740
  return new URL(`https://map.baidu.com/?latlng=${e.lat},${e.lng}`);
1744
1741
  }
1745
1742
  /**
@@ -1749,7 +1746,7 @@ const ge = class ge extends Br {
1749
1746
  markerApi(t, e, r) {
1750
1747
  return Le(ge.BASE_URL, "marker", {
1751
1748
  location: `${t.lat},${t.lng}`,
1752
- coord_type: t.coord === R.bd09 ? void 0 : t.coord,
1749
+ coord_type: t.coord === D.bd09 ? void 0 : t.coord,
1753
1750
  title: e,
1754
1751
  content: r,
1755
1752
  output: "html",
@@ -1767,7 +1764,7 @@ const ge = class ge extends Br {
1767
1764
  } : {
1768
1765
  location: `${t.lat},${t.lng}`,
1769
1766
  // 默认就是bd09
1770
- coord_type: t.coord === R.bd09 ? void 0 : t.coord
1767
+ coord_type: t.coord === D.bd09 ? void 0 : t.coord
1771
1768
  },
1772
1769
  output: "html",
1773
1770
  src: pt()
@@ -2677,7 +2674,7 @@ var Sr = { exports: {} };
2677
2674
  });
2678
2675
  })(Sr);
2679
2676
  var Ei = Sr.exports;
2680
- const hr = /* @__PURE__ */ ot(Ei);
2677
+ const hr = /* @__PURE__ */ nt(Ei);
2681
2678
  var kr = function(i, t, e) {
2682
2679
  t = Pi(t);
2683
2680
  var r = i.pointToPixel(t.getNorthEast()), s = i.pointToPixel(t.getSouthWest());
@@ -2685,9 +2682,9 @@ var kr = function(i, t, e) {
2685
2682
  var n = i.pixelToPoint(r), a = i.pixelToPoint(s);
2686
2683
  return new BMap.Bounds(a, n);
2687
2684
  }, Pi = function(i) {
2688
- var t = Ue(i.getNorthEast().lng, -180, 180), e = Ue(i.getSouthWest().lng, -180, 180), r = Ue(i.getNorthEast().lat, -74, 74), s = Ue(i.getSouthWest().lat, -74, 74);
2685
+ var t = Fe(i.getNorthEast().lng, -180, 180), e = Fe(i.getSouthWest().lng, -180, 180), r = Fe(i.getNorthEast().lat, -74, 74), s = Fe(i.getSouthWest().lat, -74, 74);
2689
2686
  return new BMap.Bounds(new BMap.Point(e, s), new BMap.Point(t, r));
2690
- }, Ue = function(i, t, e) {
2687
+ }, Fe = function(i, t, e) {
2691
2688
  return t && (i = Math.max(i, t)), e && (i = Math.min(i, e)), i;
2692
2689
  }, Ar = function(i) {
2693
2690
  return Object.prototype.toString.call(i) === "[object Array]";
@@ -2935,7 +2932,7 @@ Y.prototype.getBounds = function() {
2935
2932
  Y.prototype.getCenter = function() {
2936
2933
  return this._center;
2937
2934
  };
2938
- var Je;
2935
+ var Xe;
2939
2936
  ((i) => {
2940
2937
  function t(r) {
2941
2938
  return {
@@ -2960,7 +2957,7 @@ var Je;
2960
2957
  };
2961
2958
  }
2962
2959
  i.toGoogle = e;
2963
- })(Je || (Je = {}));
2960
+ })(Xe || (Xe = {}));
2964
2961
  class Rr {
2965
2962
  constructor(t) {
2966
2963
  this.map = t;
@@ -2998,7 +2995,7 @@ class Li extends Rr {
2998
2995
  maxZoom: r.maxZoom,
2999
2996
  minClusterSize: r.minClusterSize,
3000
2997
  isAverageCenter: r.averageCenter,
3001
- styles: (n = r.styles) == null ? void 0 : n.map((a) => Je.toBaidu(a)),
2998
+ styles: (n = r.styles) == null ? void 0 : n.map((a) => Xe.toBaidu(a)),
3002
2999
  zIndex: r.zIndex
3003
3000
  });
3004
3001
  const s = r.stylesIndexCalculator;
@@ -3022,7 +3019,7 @@ class Bi extends Rr {
3022
3019
  maxZoom: r.maxZoom,
3023
3020
  minimumClusterSize: r.minClusterSize,
3024
3021
  averageCenter: r.averageCenter,
3025
- styles: (a = r.styles) == null ? void 0 : a.map((c) => Je.toGoogle(c)),
3022
+ styles: (a = r.styles) == null ? void 0 : a.map((c) => Xe.toGoogle(c)),
3026
3023
  zIndex: r.zIndex
3027
3024
  }
3028
3025
  );
@@ -3321,7 +3318,7 @@ _e.all = function(t, e) {
3321
3318
  }, {});
3322
3319
  };
3323
3320
  var Yi = _e, qi = Yi;
3324
- const Gr = /* @__PURE__ */ ot(qi);
3321
+ const Gr = /* @__PURE__ */ nt(qi);
3325
3322
  /*!
3326
3323
  * isobject <https://github.com/jonschlinkert/isobject>
3327
3324
  *
@@ -3453,7 +3450,7 @@ class Gt extends Wr {
3453
3450
  this.innerOverlay.setVisible(t);
3454
3451
  }
3455
3452
  }
3456
- class ht extends Wr {
3453
+ class lt extends Wr {
3457
3454
  constructor(t, e, r) {
3458
3455
  super(t, e), this.map = r;
3459
3456
  }
@@ -3475,7 +3472,7 @@ class ht extends Wr {
3475
3472
  return t !== void 0 && (t || this.setVisible(!1)), this;
3476
3473
  }
3477
3474
  }
3478
- const ke = class ke extends ht {
3475
+ const ke = class ke extends lt {
3479
3476
  constructor(t, e, r, s) {
3480
3477
  super(t, e, r), this.state = s;
3481
3478
  }
@@ -3509,7 +3506,7 @@ const ke = class ke extends ht {
3509
3506
  */
3510
3507
  m(ke, "OPACITY_DELTA", 1e-3);
3511
3508
  let j = ke;
3512
- class ct extends Gt {
3509
+ class ht extends Gt {
3513
3510
  isEditable() {
3514
3511
  return this.innerOverlay.getEditable();
3515
3512
  }
@@ -3569,7 +3566,7 @@ class Zt extends j {
3569
3566
  }, 0), n;
3570
3567
  }
3571
3568
  createDelegate() {
3572
- return this.eventHubDelegate = new at(super.createDelegate(), {
3569
+ return this.eventHubDelegate = new ot(super.createDelegate(), {
3573
3570
  types: ["radius-changed", "center-changed"],
3574
3571
  onListen: (e) => {
3575
3572
  e === "radius-changed" ? (this.prevRadius = this.innerOverlay.getRadius(), this.innerOverlay.addEventListener("lineupdate", this.onRadiusChanged)) : (this.prevCenter = this.innerOverlay.getCenter(), this.innerOverlay.addEventListener("lineupdate", this.onCenterChanged));
@@ -3594,7 +3591,7 @@ class Zt extends j {
3594
3591
  return this.innerOverlay.getRadius();
3595
3592
  }
3596
3593
  }
3597
- class Wt extends ct {
3594
+ class Wt extends ht {
3598
3595
  static create(t) {
3599
3596
  const e = this.coordType, r = new google.maps.Circle({
3600
3597
  center: t.center.toGoogle(e),
@@ -3807,7 +3804,7 @@ class jt extends Ht {
3807
3804
  this.inner.setPosition(e.toGoogle(this.map.coordType));
3808
3805
  }
3809
3806
  }
3810
- class Ft extends ht {
3807
+ class Ft extends lt {
3811
3808
  constructor(t, e, r) {
3812
3809
  super(t, e, r), this.baiduMap = r;
3813
3810
  }
@@ -4095,7 +4092,7 @@ var Te;
4095
4092
  }
4096
4093
  i.toElement = e;
4097
4094
  })(Te || (Te = {}));
4098
- class Yt extends ht {
4095
+ class Yt extends lt {
4099
4096
  constructor(e, r, s, n) {
4100
4097
  super(e, r, s);
4101
4098
  m(this, "icon");
@@ -4227,11 +4224,11 @@ class qt extends Gt {
4227
4224
  this.innerOverlay.setOffset(t);
4228
4225
  }
4229
4226
  }
4230
- const Qe = {
4231
- toGoogle: (i) => "url" in i ? et.toGoogle(i) : Me.toGoogle(i),
4232
- toBaidu: (i) => "url" in i ? et.toBaidu(i) : Me.toBaidu(i)
4227
+ const Je = {
4228
+ toGoogle: (i) => "url" in i ? Qe.toGoogle(i) : Me.toGoogle(i),
4229
+ toBaidu: (i) => "url" in i ? Qe.toBaidu(i) : Me.toBaidu(i)
4233
4230
  };
4234
- var et;
4231
+ var Qe;
4235
4232
  ((i) => {
4236
4233
  function t(r) {
4237
4234
  return {
@@ -4255,7 +4252,7 @@ var et;
4255
4252
  });
4256
4253
  }
4257
4254
  i.toBaidu = e;
4258
- })(et || (et = {}));
4255
+ })(Qe || (Qe = {}));
4259
4256
  var Me;
4260
4257
  ((i) => {
4261
4258
  function t(r) {
@@ -4295,7 +4292,7 @@ const _n = {
4295
4292
  FORWARD_CLOSED_ARROW: { baidu: () => BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW, google: () => google.maps.SymbolPath.FORWARD_CLOSED_ARROW },
4296
4293
  FORWARD_OPEN_ARROW: { baidu: () => BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW, google: () => google.maps.SymbolPath.FORWARD_OPEN_ARROW }
4297
4294
  };
4298
- var tt;
4295
+ var et;
4299
4296
  ((i) => {
4300
4297
  function t(r) {
4301
4298
  return {
@@ -4315,15 +4312,15 @@ var tt;
4315
4312
  );
4316
4313
  }
4317
4314
  i.toBaidu = e;
4318
- })(tt || (tt = {}));
4319
- class Ge extends ht {
4315
+ })(et || (et = {}));
4316
+ class Ge extends lt {
4320
4317
  constructor(t, e, r, s) {
4321
4318
  super(t, e, r), this.state = s;
4322
4319
  }
4323
4320
  static create(t) {
4324
4321
  const e = this.coordType, r = t.icon, s = {
4325
4322
  title: t.title,
4326
- icon: r && Qe.toBaidu(r),
4323
+ icon: r && Je.toBaidu(r),
4327
4324
  enableClicking: t.clickable,
4328
4325
  enableDragging: t.draggable,
4329
4326
  // baidu的raiseOnDrag属性, 默认为false, 而我们的options.crossOnDrag默认为true, 故这里需要转换下
@@ -4348,7 +4345,7 @@ class Ge extends ht {
4348
4345
  return this.innerOverlay.getTitle();
4349
4346
  }
4350
4347
  setIcon(t) {
4351
- const e = Qe.toBaidu(t);
4348
+ const e = Je.toBaidu(t);
4352
4349
  this.innerOverlay.setIcon(e);
4353
4350
  const r = this.getLabel();
4354
4351
  r && r.attachIcon(e);
@@ -4397,7 +4394,7 @@ class Kt extends Gt {
4397
4394
  title: e.title,
4398
4395
  zIndex: e.zIndex,
4399
4396
  visible: e.visible,
4400
- icon: s && Qe.toGoogle(s),
4397
+ icon: s && Je.toGoogle(s),
4401
4398
  clickable: e.clickable,
4402
4399
  draggable: e.draggable,
4403
4400
  // google的crossOnDrag和我们的crossOnDrag是匹配的, 不需要转换
@@ -4421,7 +4418,7 @@ class Kt extends Gt {
4421
4418
  return this.innerOverlay.getTitle() || "";
4422
4419
  }
4423
4420
  setIcon(e) {
4424
- this.innerOverlay.setIcon(Qe.toGoogle(e));
4421
+ this.innerOverlay.setIcon(Je.toGoogle(e));
4425
4422
  }
4426
4423
  getIcon() {
4427
4424
  return this.innerOverlay.getIcon();
@@ -4484,7 +4481,7 @@ class Xt extends j {
4484
4481
  this.isDoingSetPath = !0, this.innerOverlay.setPath(e), this.isDoingSetPath = !1;
4485
4482
  }
4486
4483
  createDelegate() {
4487
- return this.eventHubDelegate = new at(super.createDelegate(), {
4484
+ return this.eventHubDelegate = new ot(super.createDelegate(), {
4488
4485
  types: [this.pathEditedEventType],
4489
4486
  onListen: () => {
4490
4487
  this.prevPath = this.innerOverlay.getPath(), this.innerOverlay.addEventListener("lineupdate", this.onLineUpdate);
@@ -4508,7 +4505,7 @@ class Jt extends Xt {
4508
4505
  strokeColor: e.strokeColor,
4509
4506
  strokeOpacity: e.strokeOpacity != null ? e.strokeOpacity + j.OPACITY_DELTA : void 0,
4510
4507
  strokeWeight: e.strokeWeight,
4511
- icons: (n = e.icons) == null ? void 0 : n.map(tt.toBaidu)
4508
+ icons: (n = e.icons) == null ? void 0 : n.map(et.toBaidu)
4512
4509
  });
4513
4510
  return new Jt(s, r, this, {
4514
4511
  editable: !!e.editable,
@@ -4538,7 +4535,7 @@ class Jt extends Xt {
4538
4535
  }).forEach((s) => this.map.innerMap.removeOverlay(s));
4539
4536
  }
4540
4537
  }
4541
- class Qt extends ct {
4538
+ class Qt extends ht {
4542
4539
  constructor() {
4543
4540
  super(...arguments);
4544
4541
  m(this, "pathChangedListeners");
@@ -4554,7 +4551,7 @@ class Qt extends ct {
4554
4551
  strokeOpacity: e.strokeOpacity,
4555
4552
  strokeWeight: e.strokeWeight,
4556
4553
  visible: e.visible,
4557
- icons: (n = e.icons) == null ? void 0 : n.map(tt.toGoogle)
4554
+ icons: (n = e.icons) == null ? void 0 : n.map(et.toGoogle)
4558
4555
  });
4559
4556
  return new Qt(s, r, this);
4560
4557
  }
@@ -4570,7 +4567,7 @@ class Qt extends ct {
4570
4567
  (e = this.pathChangedListeners) == null || e.forEach((r) => r.remove()), this.pathChangedListeners = void 0;
4571
4568
  }
4572
4569
  createDelegate() {
4573
- return this.eventHubDelegate = new at(super.createDelegate(), {
4570
+ return this.eventHubDelegate = new ot(super.createDelegate(), {
4574
4571
  types: ["path-edited"],
4575
4572
  onListen: () => this.setupPathChangedListeners(),
4576
4573
  onCancel: () => this.clearPathChangedListeners()
@@ -4613,7 +4610,7 @@ class er extends Xt {
4613
4610
  e.length > 1 && console.warn("baidu不支持多path, 只会显示paths[0]"), this.coordType = this.map.coordType, this.setPathInternal((e[0] || []).map((r) => r.toBaidu(this.coordType)));
4614
4611
  }
4615
4612
  }
4616
- class tr extends ct {
4613
+ class tr extends ht {
4617
4614
  constructor() {
4618
4615
  super(...arguments);
4619
4616
  m(this, "pathChangedListeners");
@@ -4647,7 +4644,7 @@ class tr extends ct {
4647
4644
  (e = this.pathChangedListeners) == null || e.forEach((r) => r.remove()), this.pathChangedListeners = void 0;
4648
4645
  }
4649
4646
  createDelegate() {
4650
- return this.eventHubDelegate = new at(super.createDelegate(), {
4647
+ return this.eventHubDelegate = new ot(super.createDelegate(), {
4651
4648
  types: ["paths-edited"],
4652
4649
  onListen: () => this.setupPathChangedListeners(),
4653
4650
  onCancel: () => this.clearPathChangedListeners()
@@ -4727,7 +4724,7 @@ class rr extends Xt {
4727
4724
  }) : this.setPathInternal(r.map((s) => s.toBaidu(this.coordType)));
4728
4725
  }
4729
4726
  }
4730
- class ir extends ct {
4727
+ class ir extends ht {
4731
4728
  static create(t) {
4732
4729
  const e = this.coordType, r = new google.maps.Rectangle({
4733
4730
  bounds: t.bounds.toGoogle(e),
@@ -5104,7 +5101,7 @@ class ns extends Nt {
5104
5101
  return new Mt(e);
5105
5102
  }
5106
5103
  }
5107
- const rt = ["3.0"], os = {
5104
+ const tt = ["3.0"], os = {
5108
5105
  baidu: {
5109
5106
  version: "3.0",
5110
5107
  // 在build时会被静态替换, 导致使用者不能无法设置它
@@ -5119,7 +5116,7 @@ const rt = ["3.0"], os = {
5119
5116
  libraries: ["places", "visualization"]
5120
5117
  },
5121
5118
  here: {
5122
- version: rt[0],
5119
+ version: tt[0],
5123
5120
  key: ""
5124
5121
  }
5125
5122
  };
@@ -5138,7 +5135,7 @@ class ls extends Nt {
5138
5135
  m(this, "defaultLayers");
5139
5136
  this.mapOptions = r;
5140
5137
  const s = jr().here;
5141
- rt.includes(s.version) || B(`不支持${s.version}, HereMap当前只支持如下版本: ${rt}`);
5138
+ tt.includes(s.version) || B(`不支持${s.version}, HereMap当前只支持如下版本: ${tt}`);
5142
5139
  const n = new H.service.Platform({
5143
5140
  app_id: s.key.split(",")[0],
5144
5141
  app_code: s.key.split(",")[1]
@@ -5152,7 +5149,7 @@ class ls extends Nt {
5152
5149
  return this.map;
5153
5150
  }
5154
5151
  get coordType() {
5155
- return R.wgs84;
5152
+ return D.wgs84;
5156
5153
  }
5157
5154
  getCenter() {
5158
5155
  return O.fromHere(this.map.getCenter(), this.coordType);
@@ -5333,7 +5330,7 @@ function us({ type: i, config: t }) {
5333
5330
  vt(i);
5334
5331
  }
5335
5332
  }
5336
- function we(i, t = rt[0]) {
5333
+ function we(i, t = tt[0]) {
5337
5334
  return `https://js.api.here.com/v3/${t}/mapsjs-${i}.js`;
5338
5335
  }
5339
5336
  function ps(i) {
@@ -5420,10 +5417,10 @@ function fs(i) {
5420
5417
  function Tn(i) {
5421
5418
  return fs(i);
5422
5419
  }
5423
- function dt() {
5420
+ function ct() {
5424
5421
  return ft();
5425
5422
  }
5426
- function Ye(i, t) {
5423
+ function Ue(i, t) {
5427
5424
  const e = i.$options[t];
5428
5425
  if (e)
5429
5426
  for (const r of e)
@@ -5475,18 +5472,18 @@ const Cn = () => {
5475
5472
  }, sr = "$map", Ze = "onCreate", We = "onDestroy", $ = P({
5476
5473
  inject: [sr],
5477
5474
  mounted() {
5478
- Ye(this, Ze);
5475
+ Ue(this, Ze);
5479
5476
  },
5480
5477
  beforeUnmount() {
5481
- Ye(this, We);
5478
+ Ue(this, We);
5482
5479
  },
5483
5480
  methods: {
5484
5481
  recreate() {
5485
- Ye(this, We), Ye(this, Ze);
5482
+ Ue(this, We), Ue(this, Ze);
5486
5483
  }
5487
5484
  },
5488
5485
  render() {
5489
- return dt();
5486
+ return ct();
5490
5487
  }
5491
5488
  }), ys = P({
5492
5489
  name: "tg-map",
@@ -5661,7 +5658,7 @@ function _s(i, t, e, r, s, n) {
5661
5658
  return he(), ce("div", He({ class: "tg-map" }, i.attrs.binds), [
5662
5659
  Xr("div", {
5663
5660
  ref: "map",
5664
- class: st({
5661
+ class: it({
5665
5662
  "tg-map__map": !0,
5666
5663
  [`tg-map__map--hide-logo-${i.type}`]: i.hideLogo
5667
5664
  })
@@ -5714,7 +5711,7 @@ const Ts = P({
5714
5711
  });
5715
5712
  function Ms(i, t, e, r, s, n) {
5716
5713
  return he(), ce("div", {
5717
- class: st(i.$options.name),
5714
+ class: it(i.$options.name),
5718
5715
  style: Jr({ left: i.dimen(i.left), top: i.dimen(i.topValue), right: i.dimen(i.right), bottom: i.dimen(i.bottom) })
5719
5716
  }, [
5720
5717
  K(i.$slots, "default")
@@ -5751,7 +5748,7 @@ const Os = /* @__PURE__ */ se(Ts, [["render", Ms]]), Cs = P({
5751
5748
  });
5752
5749
  function ws(i, t, e, r, s, n) {
5753
5750
  return he(), ce("div", {
5754
- class: st(i.$options.name)
5751
+ class: it(i.$options.name)
5755
5752
  }, [
5756
5753
  K(i.$slots, "default")
5757
5754
  ], 2);
@@ -5859,7 +5856,7 @@ const Ls = P({
5859
5856
  e.removeControl(t);
5860
5857
  }), Ae(() => i.position, (n) => {
5861
5858
  t.setPosition(n);
5862
- }), dt;
5859
+ }), ct;
5863
5860
  }
5864
5861
  }), Bs = P({
5865
5862
  name: "tg-zoom-control",
@@ -5875,7 +5872,7 @@ const Ls = P({
5875
5872
  e.removeControl(t);
5876
5873
  }), Ae(() => i.position, (n) => {
5877
5874
  t.setPosition(n);
5878
- }), dt;
5875
+ }), ct;
5879
5876
  }
5880
5877
  }), Is = P({
5881
5878
  name: "tg-heatmap",
@@ -5896,7 +5893,7 @@ const Ls = P({
5896
5893
  }), Ae(() => i.data, (n) => s.setData(n)), Ae(
5897
5894
  [() => i.maxIntensity, () => i.gradient, () => i.opacity, () => i.radius],
5898
5895
  () => s.setOptions(i)
5899
- ), dt;
5896
+ ), ct;
5900
5897
  }
5901
5898
  }), Ss = P({
5902
5899
  name: "tg-marker-clusterer",
@@ -5964,7 +5961,7 @@ const Ls = P({
5964
5961
  });
5965
5962
  function ks(i, t, e, r, s, n) {
5966
5963
  return he(), ce("div", {
5967
- class: st(i.$options.name)
5964
+ class: it(i.$options.name)
5968
5965
  }, [
5969
5966
  K(i.$slots, "default")
5970
5967
  ], 2);
@@ -6018,7 +6015,7 @@ const Ur = /* @__PURE__ */ se(Ss, [["render", ks]]), As = P({
6018
6015
  center(i) {
6019
6016
  if (this.emittedCenter != null) {
6020
6017
  const t = this.emittedCenter;
6021
- if (this.emittedCenter = void 0, t === nt(i))
6018
+ if (this.emittedCenter = void 0, t === st(i))
6022
6019
  return;
6023
6020
  }
6024
6021
  this.overlay.setCenter(i);
@@ -6158,7 +6155,7 @@ const Ns = /* @__PURE__ */ se($s, [["render", zs]]), Gs = P({
6158
6155
  position(i) {
6159
6156
  if (this.emittedPosition != null) {
6160
6157
  const t = this.emittedPosition;
6161
- if (this.emittedPosition = void 0, t === nt(i))
6158
+ if (this.emittedPosition = void 0, t === st(i))
6162
6159
  return;
6163
6160
  }
6164
6161
  this.marker.setPosition(i);
@@ -6226,7 +6223,7 @@ const Ns = /* @__PURE__ */ se($s, [["render", zs]]), Gs = P({
6226
6223
  function Zs(i, t, e, r, s, n) {
6227
6224
  return K(i.$slots, "default");
6228
6225
  }
6229
- const ut = /* @__PURE__ */ se(Gs, [["render", Zs]]), Ws = P({
6226
+ const dt = /* @__PURE__ */ se(Gs, [["render", Zs]]), Ws = P({
6230
6227
  name: "tg-info-box",
6231
6228
  mixins: [$],
6232
6229
  inheritAttrs: !1,
@@ -6289,7 +6286,7 @@ const ut = /* @__PURE__ */ se(Gs, [["render", Zs]]), Ws = P({
6289
6286
  return this.$el;
6290
6287
  },
6291
6288
  $marker() {
6292
- return Et(ut, this.$parent, Ve);
6289
+ return Et(dt, this.$parent, Ve);
6293
6290
  },
6294
6291
  open(i) {
6295
6292
  this.overlay.open(i);
@@ -6347,7 +6344,7 @@ const Vs = /* @__PURE__ */ se(Ws, [["render", Hs]]), js = P({
6347
6344
  return this.$el;
6348
6345
  },
6349
6346
  $marker() {
6350
- return Et(ut, this.$parent, Ve);
6347
+ return Et(dt, this.$parent, Ve);
6351
6348
  },
6352
6349
  getOptions() {
6353
6350
  return {
@@ -6422,7 +6419,7 @@ const Us = /* @__PURE__ */ se(js, [["render", Fs]]), Ys = P({
6422
6419
  return (i = this.$marker()) == null ? void 0 : i.marker;
6423
6420
  },
6424
6421
  $marker() {
6425
- return Et(ut, this.$parent, Ve);
6422
+ return Et(dt, this.$parent, Ve);
6426
6423
  },
6427
6424
  getOptions() {
6428
6425
  return {
@@ -6477,7 +6474,7 @@ const Ks = /* @__PURE__ */ se(Ys, [["render", qs]]), Xs = P({
6477
6474
  handler(i) {
6478
6475
  if (this.emittedPaths != null) {
6479
6476
  const t = this.emittedPaths;
6480
- if (this.emittedPaths = void 0, t.length === i.length && t.every((e, r) => e === nt(i[r])))
6477
+ if (this.emittedPaths = void 0, t.length === i.length && t.every((e, r) => e === st(i[r])))
6481
6478
  return;
6482
6479
  }
6483
6480
  this.overlay.setPaths(i);
@@ -6545,7 +6542,7 @@ const Ks = /* @__PURE__ */ se(Ys, [["render", qs]]), Xs = P({
6545
6542
  handler(i) {
6546
6543
  if (this.emittedPath != null) {
6547
6544
  const t = this.emittedPath;
6548
- if (this.emittedPath = void 0, t === nt(i))
6545
+ if (this.emittedPath = void 0, t === st(i))
6549
6546
  return;
6550
6547
  }
6551
6548
  this.overlay.setPath(i);
@@ -6736,7 +6733,7 @@ var nn = { VITE_APP_DEV_KEY_BAIDU: "kXOq8Hg9BZbZEWAjXKuzd1oGreynup8h", VITE_APP_
6736
6733
  const En = {
6737
6734
  install(i, t) {
6738
6735
  if (as(t), nn.VITE_FALSE) {
6739
- const r = /* @__PURE__ */ Object.assign({ "./TgMap.vue": Ve, "./TgMapWidget.vue": Os, "./controls/TgCustomControl.vue": xs, "./controls/TgMapTypeControl.vue": Es, "./controls/TgScaleControl.vue": Ps, "./controls/TgStreetViewControl.vue": Ls, "./controls/TgZoomControl.vue": Bs, "./extra/TgHeatmap.vue": Is, "./extra/TgMarkerClusterer.vue": Ur, "./layers/TgTrafficLayer.vue": As, "./overlays/TgCircle.vue": Ds, "./overlays/TgElementOverlay.vue": Ns, "./overlays/TgInfoBox.vue": Vs, "./overlays/TgInfoWindow.vue": Us, "./overlays/TgLabel.vue": Ks, "./overlays/TgMarker.vue": ut, "./overlays/TgPolygon.vue": Xs, "./overlays/TgPolyline.vue": Js, "./overlays/TgRectangle.vue": Qs });
6736
+ const r = /* @__PURE__ */ Object.assign({ "./TgMap.vue": Ve, "./TgMapWidget.vue": Os, "./controls/TgCustomControl.vue": xs, "./controls/TgMapTypeControl.vue": Es, "./controls/TgScaleControl.vue": Ps, "./controls/TgStreetViewControl.vue": Ls, "./controls/TgZoomControl.vue": Bs, "./extra/TgHeatmap.vue": Is, "./extra/TgMarkerClusterer.vue": Ur, "./layers/TgTrafficLayer.vue": As, "./overlays/TgCircle.vue": Ds, "./overlays/TgElementOverlay.vue": Ns, "./overlays/TgInfoBox.vue": Vs, "./overlays/TgInfoWindow.vue": Us, "./overlays/TgLabel.vue": Ks, "./overlays/TgMarker.vue": dt, "./overlays/TgPolygon.vue": Xs, "./overlays/TgPolyline.vue": Js, "./overlays/TgRectangle.vue": Qs });
6740
6737
  Object.keys(r).forEach((s) => {
6741
6738
  const n = r[s];
6742
6739
  i.component(n.name ?? B(`Tg开头的组件必须设置name: ${s}`), n);
@@ -6761,7 +6758,7 @@ export {
6761
6758
  Ot as BaiduMapUrls,
6762
6759
  Ge as BaiduMarker,
6763
6760
  Li as BaiduMarkerClusterer,
6764
- ht as BaiduOverlay,
6761
+ lt as BaiduOverlay,
6765
6762
  Si as BaiduPlacesService,
6766
6763
  Xt as BaiduPolyShape,
6767
6764
  er as BaiduPolygon,
@@ -6776,7 +6773,7 @@ export {
6776
6773
  Pe as CachedValue,
6777
6774
  A as ControlPosition,
6778
6775
  U as ControlPositionConverter,
6779
- R as CoordType,
6776
+ D as CoordType,
6780
6777
  pi as CustomControl,
6781
6778
  ts as ElementOverlay,
6782
6779
  gi as EmptyControl,
@@ -6784,7 +6781,7 @@ export {
6784
6781
  ee as GestureHandlingOptions,
6785
6782
  _i as GoogleAutocomplete,
6786
6783
  Wt as GoogleCircle,
6787
- lt as GoogleControl,
6784
+ at as GoogleControl,
6788
6785
  Oi as GoogleHeatmap,
6789
6786
  Ut as GoogleInfoBoxOverlay,
6790
6787
  jt as GoogleInfoWindow,
@@ -6802,8 +6799,8 @@ export {
6802
6799
  Dt as GoogleStreetViewControl,
6803
6800
  $t as GoogleZoomControl,
6804
6801
  Lr as Heatmap,
6805
- et as Icon,
6806
- tt as IconSequence,
6802
+ Qe as Icon,
6803
+ et as IconSequence,
6807
6804
  mn as ImageMapType,
6808
6805
  Ht as InfoWindow,
6809
6806
  Xi as InfoWindowModeValues,
@@ -6846,7 +6843,7 @@ export {
6846
6843
  q as TgMapType,
6847
6844
  Es as TgMapTypeControl,
6848
6845
  Os as TgMapWidget,
6849
- ut as TgMarker,
6846
+ dt as TgMarker,
6850
6847
  Ur as TgMarkerClusterer,
6851
6848
  Xs as TgPolygon,
6852
6849
  Js as TgPolyline,
@@ -6856,13 +6853,13 @@ export {
6856
6853
  As as TgTrafficLayer,
6857
6854
  Bs as TgZoomControl,
6858
6855
  mi as TrafficLayer,
6859
- Qe as UnionIcon,
6856
+ Je as UnionIcon,
6860
6857
  me as assert,
6861
6858
  vt as assertNever,
6862
- Ye as callHook,
6859
+ Ue as callHook,
6863
6860
  bn as computedSaveOnThis,
6864
6861
  hi as createAsyncSingleton,
6865
- dt as createEmptyVNode,
6862
+ ct as createEmptyVNode,
6866
6863
  fs as createPropertyObject,
6867
6864
  Tn as createPropertyObjectTyped,
6868
6865
  pn as debug,