vue-baidu-maps
Baidu Map Component for Vue 3.0
515
2,400
| Install | |
|---|---|
npm install vue-baidu-maps |
|
| Latest Version: | 0.22.6 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Jan 12, 2023 |
| Links: | GitHub · npm |
Maintainer: huangkongsheng666
VUE BAIDU MAP
Baidu Map components for Vue 2.x
Languages
Documentation
https://dafrok.github.io/vue-baidu-map
Get Start
Installation
npm i --save vue-baidu-map
Initialization
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
<template>
<baidu-map class="map">
</baidu-map>
</template>
<style>
/* The container of BaiduMap must be set width & height. */
.map {
width: 100%;
height: 300px;
}
</style>
Contributing
License
Copyright (c) 2016-present, Dafrok o.o@mug.dog
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.22.6 | ^2.1.8 | MIT | |
| 0.22.5 | ^2.1.8 | MIT | |
| 0.22.3 | ^2.1.8 | MIT | |
| 0.22.2 | ^2.1.8 | MIT | |
| 0.22.1 | ^2.1.8 | MIT | |
| 0.22.0 | ^2.1.8 | MIT |