
<template>
</template>

<script>
import {drawAndLayer,optionAction} from"./drawAndLayer"
export default {
  props: {
    map:null
  },
  data() {
    return {
    }
  },
  mounted(){
    this.startDis();
  },
  methods: {
    /**
     * 开始测量
    */
    startDis(){
      drawAndLayer.initValue(this.map);
      drawAndLayer.measure(optionAction.coordinate);
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
