vue-baidu-map-bl
v0.0.2
Published
Baidu Map Component for Vue 2.0
Downloads
9
Maintainers
Readme
VUE BAIDU MAP
Languages
Documentation
https://cdscawd.github.io/vue-baidu-map-bl
Get Start
Installation
npm i --save vue-baidu-map-bl
Initialization
import Vue from 'vue'
import BaiduMap from 'vue-baidu-map-bl'
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, cdscawd [email protected]