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'

Readme

Keywords

Package Sidebar

Install

npm i map-draw-tool

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

2.84 MB

Total Files

10

Last publish

Collaborators

  • xiaogang12131