You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456
2941b55b76
|
3 months ago | |
---|---|---|
.. | ||
.github | 3 months ago | |
build | 3 months ago | |
components | 3 months ago | |
test | 3 months ago | |
types | 3 months ago | |
.eslintrc.js | 3 months ago | |
.travis.yml | 3 months ago | |
CONTRIBUTING.md | 3 months ago | |
LICENSE | 3 months ago | |
README.md | 3 months ago | |
README.zh.md | 3 months ago | |
index.d.ts | 3 months ago | |
index.js | 3 months ago | |
karma.conf.js | 3 months ago | |
package.json | 3 months ago |
README.md
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