# vue-mapvgl
**Repository Path**: kingsmart/vue-mapvgl
## Basic Information
- **Project Name**: vue-mapvgl
- **Description**: 百度地图mapvgl组件的vue版本
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 43
- **Created**: 2020-11-25
- **Last Updated**: 2020-12-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# vue-mapvgl
[](https://dev.azure.com/407042815/vue-mapvgl/_build/latest?definitionId=1&branchName=master)
[](https://gitee.com/guyangyang/vue-bmap-gl)
[](https://gitee.com/guyangyang/vue-bmap-gl)
[](https://gitee.com/guyangyang/vue-bmap-gl)
[](https://gitee.com/guyangyang/vue-bmap-gl/stargazers)
> vue-mapvgl是一套基于Vue 2.0和百度地图mapvgl的地图组件。
>该组件依赖于vue-bmap-gl,使用方式请查看教程
> 该项目基于 https://github.com/ElemeFE/vue-amap/ 修改开发
## 安装
```
npm install -S vue-mapvgl
```
## 文档
[https://guyangyang.gitee.io/vue-mapvgl/#/](https://guyangyang.gitee.io/vue-mapvgl/#/)
## 快速上手
引入vue-mapvgl
```javascript
// 引入vue-bmap-gl
import VueBMap from 'vue-bmap-gl';
import VueMapvgl from 'vue-mapvgl';
import 'vue-bmap-gl/dist/style.css';
Vue.use(VueBMap);
Vue.use(VueMapvgl);
// 初始化vue-bmap
VueBMap.initBMapApiLoader({
// 百度的key
ak: 'YOUR_KEY',
// 百度 sdk 版本,默认为 1.0
v: '1.0'
});
```
## 组件
目前完成组件:
* el-bmapv-view (图层管理器,图层的容器)
* el-bmapv-point-layer (基础点图层 PointLayer)
* el-bmapv-icon-layer (Icon图标图层 IconLayer)
* el-bmapv-point-trip-layer (点轨迹图层 PointTripLayer)
* el-bmapv-heat-point-layer (热力点图层 HeatPointLayer)
* el-bmapv-heat-map-layer (热点图图层 HeatmapLayer)
* el-bmapv-heat-grid-layer (热力柱图层 HeatGridLayer)
* el-bmapv-spark-layer (烟花点图层 SparkLayer)
### 其他特性
## 反馈