Generate a legend from vmap style
npm install @geoway/vmap-legendhtml
`
$3
`
npm install @geoway/vmap
`
`js
import * as VMap from '@geoway/vmap'
VLegend.createLegend({
container: 'container',
style: 'http://47.110.239.66/api/maps/v1/dev/mytest'
})
`
开发
`shell
npm install
npm run start
在浏览器打开http://localhost:8080/debug查看预览
npm run build
`
发布
将发布的文件复制到deploy文件夹,然后在deploy文件夹内运行npm publish`