baidu-map-offline
v1.0.21
Published
基于vue-baidu-map 改造 当前在开发中,尚未完善
Downloads
84
Maintainers
Readme
VUE BAIDU MAP
Languages
Documentation
https://dafrok.github.io/vue-baidu-map-offline
Get Start
Installation
npm i --save vue-baidu-map-offline
Initialization
import Vue from 'vue'
import BaiduMapOffline from 'vue-baidu-map-offline'
Vue.use(BaiduMapOffline, {
/* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
ak: 'YOUR_APP_KEY'
})
Usage
<template>
<baidu-map-offline class="map">
</baidu-map-offline>
</template>
<style>
/* The container of BaiduMapOffline must be set width & height. */
.map {
width: 100%;
height: 300px;
}
</style>
Contributing
License
Copyright (c) 2016-present, Dafrok [email protected]