Skip to content

coalbr/vue-baidu-map

 
 

Repository files navigation

VUE BAIDU MAP

Baidu Map components for Vue 2.x

npm Travis Package Quality npm license

Languages

Documentation

Docs

Get Start

Installation

npm i --save coalbr-vue-baidu-map

Initialization

import Vue from 'vue'
import BaiduMap from 'coalbr-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) 2020, coalbr

Releases

No releases published

Packages

No packages published

Languages

  • Vue 77.1%
  • JavaScript 22.9%