@geoway/vmap
v1.1.6
Published
A thematic map engine based on antv-l7
Downloads
20
Readme
vmap
基于antv-l7的专题地图渲染引擎
使用方法
cdn引入
<div id="container"></div>
<script src="//unpkg.com/@vision/vmap@latest/dist/vmap.min.js"></script>
<script>
window.onload = () => {
const map = VMap.Map({
style: 'http://path/to/mapstyle',
container: 'container'
})
}
</script>
通过npm安装
npm install @vision/vmap
import * as VMap from '@vision/vmap'
const map = VMap.Map({
style: 'http://path/to/mapstyle',
container: 'container'
})
文档
查看在线文档
开发
npm install
npm run start
# 在浏览器打开http://localhost:8080/debug查看预览
npm run build
发布
将发布的文件复制到deploy文件夹,然后在deploy文件夹内运行npm publish
,注意更新版本号和changelog