@idmwx/idmui-gl4 2.2.1 → 2.2.3

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/index.js CHANGED
@@ -5548,7 +5548,7 @@ const el = {
5548
5548
  return {
5549
5549
  right: 10,
5550
5550
  toggle: !1,
5551
- mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "light",
5551
+ mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "dark",
5552
5552
  tagLayers: [...Co.OTHER_LAYERS.filter((t) => t.enabled)],
5553
5553
  layerWeight: 0,
5554
5554
  otherLayers: {},
@@ -5624,7 +5624,7 @@ const el = {
5624
5624
  this.cache.v !== t && (localStorage.removeItem(this.cache.checkListKey), localStorage.removeItem(this.cache.followListKey), localStorage.removeItem(this.cache.mapFeatherKey), localStorage.setItem(this.cache.versionKey, this.cache.v));
5625
5625
  let e = localStorage.getItem(this.cache.checkListKey);
5626
5626
  this.checkList = JSON.parse(e || '["eca-zones"]'), localStorage.setItem(this.cache.checkListKey, JSON.stringify(this.checkList)), e = localStorage.getItem(this.cache.mapFeatherKey);
5627
- const o = e || "light";
5627
+ const o = e || "dark";
5628
5628
  this.$emit("mapFeather", o), localStorage.setItem(this.cache.mapFeatherKey, o);
5629
5629
  },
5630
5630
  handleMenuToggle() {
@@ -34381,8 +34381,8 @@ const Vh = {
34381
34381
  center: [120, 30],
34382
34382
  dragRotate: !1,
34383
34383
  pitchWithRotate: !1,
34384
- touchZoomRotate: !1,
34385
- // 禁用触摸设备上的双指缩放和旋转
34384
+ touchZoomRotate: { enabled: !0, rotate: !1 },
34385
+ // 禁用触摸设备上旋转,保留缩放
34386
34386
  projection: "mercator",
34387
34387
  preserveDrawingBuffer: !0,
34388
34388
  fadeDuration: 300