@geoway/vmap

1.1.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @geoway/vmap

Weekly Downloads

7

Version

1.1.6

License

ISC

Unpacked Size

39.7 MB

Total Files

7

Last publish

Collaborators

  • jingsam
  • wanyanyan
  • huanggege