自学leaflet1
leaflet在vue项目中的引入
1 首先在component中创建map文件夹, 再创建index.vue
<template>
<div id="the-map" class="the-map"></div>
</template>
<script lang='ts'>
import { Component, Vue, Emit } from 'vue-property-decorator'
import L, { LatLngLi
原创
2021-02-22 14:56:49 ·
159 阅读 ·
0 评论