2.0.4 • Published 4 years ago
testvmap v2.0.4
vmap
基于antv-l7的专题地图渲染引擎
使用方法
通过npm安装
npm install @thcloud/vmap
const Vmap = require('testvmap')
const map = VMap.Map({
style: 'http://path/to/mapstyle',
container: 'container'
})
需要使用Echarts
在html页面中导入
<script src="https://cdn.jsdelivr.net/npm/echarts@5.0.0/dist/echarts.min.js"></script>
或
<script src="https://unpkg.com/@thcloud/vmap@1.0.0/libs/echarts.min.js"></script>
文档
查看在线文档