@idmwx/idmui-gl4 2.1.9 → 2.2.0

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
@@ -15070,7 +15070,7 @@ function Oh(t, e, o, i, a, r) {
15070
15070
  }
15071
15071
  const Bh = /* @__PURE__ */ X(Lh, [["render", Oh]]);
15072
15072
  const jh = {
15073
- name: "IdmBottomBar",
15073
+ name: "IdmTimePlayer",
15074
15074
  components: { DateTimePicker: Mo },
15075
15075
  props: {
15076
15076
  menuToggle: {
@@ -15079,6 +15079,10 @@ const jh = {
15079
15079
  },
15080
15080
  weatherCheckList: {
15081
15081
  type: Array
15082
+ },
15083
+ playerBottom: {
15084
+ type: Number,
15085
+ default: 10
15082
15086
  }
15083
15087
  },
15084
15088
  emits: ["realTime", "timeZone"],
@@ -15177,7 +15181,7 @@ function Nh(t, e, o, i, a, r) {
15177
15181
  const l = w("VBtn"), c = w("DateTimePicker");
15178
15182
  return g(), S("div", {
15179
15183
  class: "idm-time-player-gl4 d-flex justify-center align-center",
15180
- style: ee({ bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
15184
+ style: ee({ bottom: Object.values(a.show).includes(!0) ? o.playerBottom + "px" : "-100px" })
15181
15185
  }, [
15182
15186
  s("div", Eh, [
15183
15187
  p(l, {
@@ -15416,7 +15420,8 @@ function Gh(t, e, o, i, a, r) {
15416
15420
  key: 1,
15417
15421
  ref: "idmBottomBar",
15418
15422
  "weather-check-list": a.weatherCheckList,
15419
- "map-feather": o.mapFeather
15423
+ "map-feather": o.mapFeather,
15424
+ playerBottom: 30
15420
15425
  }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : R("", !0)
15421
15426
  ], 512);
15422
15427
  }
@@ -34374,6 +34379,8 @@ const Vh = {
34374
34379
  center: [120, 30],
34375
34380
  dragRotate: !1,
34376
34381
  pitchWithRotate: !1,
34382
+ touchZoomRotate: !1,
34383
+ // 禁用触摸设备上的双指缩放和旋转
34377
34384
  projection: "mercator",
34378
34385
  preserveDrawingBuffer: !0,
34379
34386
  fadeDuration: 300