Baidu Map components for Vue 2.x
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md Aug 13, 2018
build cancel test Mar 22, 2018
components correct typo in marker clusterer component name (#556) Jan 9, 2019
docs fix: �行政区划不连续的问题 Dec 18, 2018
test use relative paths Mar 22, 2018
types fix typings Mar 23, 2018
.babelrc Docs optimize May 3, 2017
.eslintrc.js Lint Apr 27, 2017
.gitignore bug fixed Mar 25, 2018
.npmignore add `_docs` to npmignore Apr 22, 2018
.travis.yml build docs Mar 25, 2018
CONTRIBUTING.md Create CONTRIBUTING.md May 1, 2017
LICENSE Initial commit Jan 11, 2017
README.md En docs May 26, 2017
README.zh.md Update README.zh.md May 3, 2017
index.d.ts add typescript declaration file Nov 11, 2017
karma.conf.js Remove nightmare Sep 16, 2017
package-lock.json 0.21.16 Dec 19, 2018
package.json 0.21.16 Dec 19, 2018

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