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.
|
|
5 months ago | |
|---|---|---|
| .. | ||
| .github | 5 months ago | |
| build | 5 months ago | |
| components | 5 months ago | |
| test | 5 months ago | |
| types | 5 months ago | |
| .eslintrc.js | 5 months ago | |
| .travis.yml | 5 months ago | |
| CONTRIBUTING.md | 5 months ago | |
| LICENSE | 5 months ago | |
| README.md | 5 months ago | |
| README.zh.md | 5 months ago | |
| index.d.ts | 5 months ago | |
| index.js | 5 months ago | |
| karma.conf.js | 5 months ago | |
| package.json | 5 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