<template>
  <div id="map" class="map">
    <map-component></map-component>
  </div>

</template>
<!-- // 这里的tk为你在天地图的官网申请的tk -->
<script>



import MapComponent from '../components/MapComponent';


export default {
  name: "Index",
  data() {
    return {

    };
  },
  components: {
    MapComponent
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
    initMap() {

    }
  },
  mounted() {
  },
  created(){
  }
};
</script>

<style scoped lang="scss">
  .map{
    width: 2000px;
    height: 1800px;
  }
</style>

