1.1.2 • Published 2 years ago

@sandm-h/vue-map v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@sandm-h/map

基于 Leaflet API 封装的vue2.x地图组件

DEMO 演示

Leaflet 中文网

安装

$ npm install @sandm-h/vue-map

使用

main.js 文件中引入插件并注册

# main.js
import "@sandm-h/vue-map/lib/@sandm-h/vue-map.css";
import Map from "@sandm-h/vue-map";

在项目中使用 Map

<template>
  <sandm-map></sandm-map>
</template>
<script>
  export default {
    data () {
    
    }
  }
</script>