baidu-map-offline
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

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-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

Contributing Guide

License

MIT License

Copyright (c) 2016-present, Dafrok o.o@mug.dog

Package Sidebar

Install

npm i baidu-map-offline

Weekly Downloads

21

Version

1.0.21

License

MIT

Unpacked Size

261 kB

Total Files

103

Last publish

Collaborators

  • ethan-2016