Skip to content

Dafrok/vue-baidu-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

300b1b6 · Oct 12, 2020
Aug 13, 2018
Mar 22, 2018
Dec 16, 2019
Dec 16, 2019
Mar 22, 2018
Oct 3, 2020
May 3, 2017
Apr 27, 2017
Mar 25, 2018
Apr 22, 2018
Aug 11, 2020
May 1, 2017
Jan 11, 2017
May 26, 2017
May 3, 2017
Sep 16, 2017
Aug 11, 2020
Oct 3, 2020

Repository files navigation

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