2.0.3 • Published 2 years ago

@thcloud/vmap v2.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

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

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

2.0.4

4 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago