先拓企业站
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.
 
 
 
 
123456 2941b55b76 源码 3 months ago
..
.github 源码 3 months ago
build 源码 3 months ago
components 源码 3 months ago
test 源码 3 months ago
types 源码 3 months ago
.eslintrc.js 源码 3 months ago
.travis.yml 源码 3 months ago
CONTRIBUTING.md 源码 3 months ago
LICENSE 源码 3 months ago
README.md 源码 3 months ago
README.zh.md 源码 3 months ago
index.d.ts 源码 3 months ago
index.js 源码 3 months ago
karma.conf.js 源码 3 months ago
package.json 源码 3 months 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