wangzhibo
2025-10-23 cad64c1de2c45856b0774933c5801b05b64984e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const amap = () => "../amap/amap.js";
const _sfc_main = {
  name: "atl-map",
  props: {
    longitude: {
      type: String,
      default: ""
    },
    latitude: {
      type: String,
      default: ""
    },
    mapKey: {
      require: true,
      type: String,
      default: ""
    },
    marker: {
      type: Object,
      default: () => {
      }
    },
    mapType: {
      type: String,
      default: "tmap"
    },
    disable: {
      type: Boolean,
      default: false
    },
    isPolygons: {
      type: Boolean,
      default: false
    },
    polygons: {
      type: Array,
      default: () => []
    },
    top: {
      type: [String, Number],
      default: 30
    },
    isCustomBar: {
      type: Boolean,
      default: false
    }
  },
  components: {
    amap
  },
  data() {
    return {};
  },
  created() {
  },
  methods: {
    confirm(e) {
      this.$emit("confirm", e);
    },
    changeMarker(e) {
      this.$emit("changeMarker", e);
    }
  }
};
if (!Array) {
  const _easycom_amap2 = common_vendor.resolveComponent("amap");
  _easycom_amap2();
}
const _easycom_amap = () => "../amap/amap.js";
if (!Math) {
  _easycom_amap();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return common_vendor.e({
    a: $props.mapType === "amap"
  }, $props.mapType === "amap" ? {
    b: common_vendor.o($options.confirm),
    c: common_vendor.o($options.changeMarker),
    d: common_vendor.p({
      disable: $props.disable,
      longitude: $props.longitude,
      latitude: $props.latitude,
      mapKey: $props.mapKey,
      marker: $props.marker,
      polygons: $props.polygons,
      isPolygons: $props.isPolygons,
      isCustomBar: $props.isCustomBar,
      top: $props.top
    })
  } : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/atl-map/components/atl-map/atl-map.js.map