Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dafrok/vue-baidu-map
Baidu Map components for Vue 2.x
https://github.com/dafrok/vue-baidu-map
baidu baidumap map vue vue-baidu-map
Last synced: about 2 hours ago
JSON representation
Baidu Map components for Vue 2.x
- Host: GitHub
- URL: https://github.com/dafrok/vue-baidu-map
- Owner: Dafrok
- License: mit
- Created: 2017-01-11T03:53:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T08:24:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T14:02:43.150Z (5 days ago)
- Topics: baidu, baidumap, map, vue, vue-baidu-map
- Language: Vue
- Homepage: https://dafrok.github.io/vue-baidu-map/
- Size: 5.6 MB
- Stars: 2,415
- Watchers: 58
- Forks: 430
- Open Issues: 215
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# VUE BAIDU MAP
Baidu Map components for Vue 2.x
[![npm](https://img.shields.io/npm/v/vue-baidu-map.svg)]()
[![Travis](https://img.shields.io/travis/Dafrok/vue-baidu-map.svg)]()
[![Package Quality](http://npm.packagequality.com/shield/vue-baidu-map.svg)](http://packagequality.com/#?package=vue-baidu-map)
[![npm](https://img.shields.io/npm/dm/vue-baidu-map.svg)]()
[![license](https://img.shields.io/github/license/dafrok/vue-baidu-map.svg)]()## Languages
- [中文](https://github.com/Dafrok/vue-baidu-map/blob/master/README.zh.md)
- [English](https://github.com/Dafrok/vue-baidu-map/blob/master/README.md)## Documentation
[https://dafrok.github.io/vue-baidu-map](https://dafrok.github.io/vue-baidu-map)
## Get Start
### Installation
```bash
npm i --save vue-baidu-map
```### Initialization
```javascript
import Vue from 'vue'
import BaiduMap from 'vue-baidu-map'Vue.use(BaiduMap, {
/* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
ak: 'YOUR_APP_KEY'
})
```### Usage
```vue
/* The container of BaiduMap must be set width & height. */
.map {
width: 100%;
height: 300px;
}```
## Contributing
[Contributing Guide](https://github.com/Dafrok/vue-baidu-map/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://opensource.org/licenses/MIT)
Copyright (c) 2016-present, Dafrok