map-draw-tool
0.0.2 • Public • Published map-draw-tool
install
npm i map-draw-tool -S
Quick Start
<template>
<map-draw-tool style="height:100vh" @init='init' @created='created'/>
</template>
<script>
import Vue from 'vue'
import 'map-draw-tool/lib/map-draw-tool.css'
import MapDrawTool from 'map-draw-tool'
Vue.use(MapDrawTool)
export default {
data(){
return {
map:null
}
},
methods:{
init(map){
this.map = map
},
created(data){
console.log(data);
}
}
}
</script>
<style></style>
tool
import { $map } from 'map-draw-tool'
/map-draw-tool/
//
Package Sidebar
Install
Weekly Downloads