# vue-baidu-map

> Baidu Map Component for Vue 2.0

Latest version **0.21.22** (published 2019-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-baidu-map
pnpm add vue-baidu-map
yarn add vue-baidu-map
bun add vue-baidu-map
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.21.22 |
| Published | 2019-06-24 |
| First published | 2017-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 238.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2407 |
| Author | Dafrok |
| Maintainers | dafrok |
| Keywords | vue, baidu-map, bmap, vue-baidu-map, baidu, map |

## Links

- npm: https://www.npmjs.com/package/vue-baidu-map
- Repository: https://github.com/Dafrok/vue-baidu-map
- Homepage: https://github.com/Dafrok/vue-baidu-map#readme
- Issues: https://github.com/Dafrok/vue-baidu-map/issues
- npm.io page: https://npm.io/package/vue-baidu-map

## Dependencies (5)

- [markdown-it](https://npm.io/package/markdown-it.md) ^8.4.0
- [bmaplib.lushu](https://npm.io/package/bmaplib.lushu.md) ^1.0.7
- [bmaplib.heatmap](https://npm.io/package/bmaplib.heatmap.md) ^1.0.4
- [bmaplib.curveline](https://npm.io/package/bmaplib.curveline.md) ^1.0.0
- [bmaplib.markerclusterer](https://npm.io/package/bmaplib.markerclusterer.md) ^1.0.13

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.21.22 (latest) — 2019-06-24
- 0.21.21 — 2019-06-19
- 0.21.20 — 2019-04-19
- 0.21.19 — 2019-04-03
- 0.21.18 — 2019-03-05
- 0.21.17 — 2019-03-05
- 0.21.16 — 2018-12-19
- 0.21.15 — 2018-12-18
- 0.21.14 — 2018-11-17
- 0.21.13 — 2018-10-21
- 0.21.12 — 2018-10-21
- 0.21.11 — 2018-07-31
- 0.21.10 — 2018-05-08
- 0.21.9 — 2018-05-06
- 0.21.8 — 2018-04-27
- … 112 more at https://npm.io/package/vue-baidu-map/versions

## README

# VUE BAIDU MAP

<p align="center">
  <img src="https://dafrok.github.io/vue-baidu-map/favicon.png" width="200px">
</p>
<p align="center">Baidu Map components for Vue 2.x</p>

[![npm](https://img.shields.io/npm/v/vue-baidu-map.svg)]()
[![Travis](https://img.shields.io/travis/Dafrok/vue-baidu-map.svg)]()
[![Package Quality](http://npm.packagequality.com/shield/vue-baidu-map.svg)](http://packagequality.com/#?package=vue-baidu-map)
[![npm](https://img.shields.io/npm/dm/vue-baidu-map.svg)]()
[![license](https://img.shields.io/github/license/dafrok/vue-baidu-map.svg)]()

## Languages

- [中文](https://github.com/Dafrok/vue-baidu-map/blob/master/README.zh.md)
- [English](https://github.com/Dafrok/vue-baidu-map/blob/master/README.md)

## Documentation

[https://dafrok.github.io/vue-baidu-map](https://dafrok.github.io/vue-baidu-map)

## Get Start

### Installation

```bash
npm i --save vue-baidu-map
```

### Initialization

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

```vue
<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](https://github.com/Dafrok/vue-baidu-map/blob/master/CONTRIBUTING.md)


## License

[MIT License](https://opensource.org/licenses/MIT)

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

---
_Source: https://npm.io/package/vue-baidu-map · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
