tanyanfei 2effbd93de init 4 years ago
..
.github 2effbd93de init 4 years ago
build 2effbd93de init 4 years ago
components 2effbd93de init 4 years ago
node_modules 2effbd93de init 4 years ago
test 2effbd93de init 4 years ago
types 2effbd93de init 4 years ago
.eslintrc.js 2effbd93de init 4 years ago
.travis.yml 2effbd93de init 4 years ago
CONTRIBUTING.md 2effbd93de init 4 years ago
LICENSE 2effbd93de init 4 years ago
README.md 2effbd93de init 4 years ago
README.zh.md 2effbd93de init 4 years ago
index.d.ts 2effbd93de init 4 years ago
index.js 2effbd93de init 4 years ago
karma.conf.js 2effbd93de init 4 years ago
package.json 2effbd93de init 4 years ago

README.md

VUE BAIDU MAP

Baidu Map components for Vue 2.x

[npm]() [Travis]() Package Quality [npm]() [license]()

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

Contributing Guide

License

MIT License

Copyright (c) 2016-present, Dafrok o.o@mug.dog