<!--
 * @Author: suyuanyuan 1205763462@qq.com
 * @Date: 2024-05-10 11:04:34
 * @LastEditors: suyuanyuan 1205763462@qq.com
 * @LastEditTime: 2024-05-10 13:49:26
 * @FilePath: \qzcloud-h5\pages\broadband\map\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <view class="map-box">
    <map-Point
      @commitCheck="commitCheck"
      :mapKey="mapKey"
      :showResetting="showResetting"
      :listIco="listIco"
      :orientationIco="orientationIco"
      :resettingIco="resettingIco"
    ></map-Point>
  </view>
</template>

<script>
import mapPoint from "@/uni_modules/map-Point/components/map-Point/map-Point.vue";
export default {
  components: { mapPoint },
  data() {
    return {
      mapKey: "513a86ab1ef90efebd0767716078f61e",
      address: "",
      latitude: "",
      longitude: "",
      listIco:
        "https://mp-6a7d27e4-49d1-42f7-b4bc-37bc5964c0a8.cdn.bspapp.com/item-inx.png",
      orientationIco:
        "https://mp-6a7d27e4-49d1-42f7-b4bc-37bc5964c0a8.cdn.bspapp.com/map-inx.png",
      resettingIco:
        "https://mp-6a7d27e4-49d1-42f7-b4bc-37bc5964c0a8.cdn.bspapp.com/position.png",
      showResetting: true,
    };
  },
  methods: {
    commitCheck(e) {
      
      uni.$emit("commitMapClick", e);
      uni.navigateBack({
        delta: 1,
      });
    },
  },
};
</script>

<style lang="scss">
.map-box {
  height: 100vh;
  width: 100vw;
}
</style>
