# rc-bmap

> 基于 React 的百度地图组件

Latest version **1.0.5** (published 2019-08-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install rc-bmap
pnpm add rc-bmap
yarn add rc-bmap
bun add rc-bmap
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-08-29 |
| First published | 2018-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 342.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 837 |
| Maintainers | jserwang |
| Keywords | react, baidu-map, bmap, rc-bmap, baidu, map |

## Links

- npm: https://www.npmjs.com/package/rc-bmap
- Repository: https://github.com/JserWang/rc-bmap
- Homepage: http://jser.wang/bmap
- Issues: https://github.com/JserWang/rc-bmap/issues
- npm.io page: https://npm.io/package/rc-bmap

## Dependencies (4)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.5.0
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.23.0
- [babel-plugin-transform-regenerator](https://npm.io/package/babel-plugin-transform-regenerator.md) ^6.26.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-08-29
- 1.0.4 — 2019-05-07
- 1.0.3 — 2019-04-02
- 1.0.2 — 2019-02-11
- 1.0.1 — 2019-01-21
- 1.0.0 — 2019-01-21
- 0.2.4 — 2018-09-06
- 0.2.3 — 2018-08-29
- 0.2.2 — 2018-08-21
- 0.2.0 — 2018-08-19
- 0.1.9 — 2018-08-15
- 0.1.8 — 2018-08-14
- 0.1.7 — 2018-08-14
- 0.1.6 — 2018-08-14
- 0.1.5 — 2018-08-13
- … 5 more at https://npm.io/package/rc-bmap/versions

## README

# React BaiduMap

<p align="center">
  <img src="https://bmap.jser-club.com/home.png" width="200px">
</p>
<p align="center">基于 React 的百度地图组件</p>

[![npm](https://img.shields.io/npm/v/rc-bmap.svg)]()
[![license](https://img.shields.io/github/license/jserwang/rc-bmap.svg)]()

## 文档

1.x文档地址:

[http://jser.wang/bmap/](http://jser.wang/bmap/)

0.2.4文档地址:

[https://bmap.jser-club.com](https://bmap.jser-club.com)

## 安装

```
npm install rc-bmap
```

当前通过npm 或 yarn 直接安装为最新版，若想指定安装0.2.4版本时可通过：
```
npm install rc-bmap@0.2.4
```

## 协议

[MIT 许可证](https://opensource.org/licenses/MIT)

## 本地开发

与`demo`结合的最佳实践：

1. 将`demo`工程`clone`至本地。
  ``` bash
  git clone https://github.com/jser-club/rc-bmap-demo.git
  ```
2. 安装`demo`工程所需依赖。
  ``` bash
  cd 你刚clone的工程目录
  yarn install
  ```
3. 进入`rc-bmap`工程的目录，执行
  ``` bash
  yarn link
  ```
4. 进入`rc-bmap-dmeo`工程目录执行
  ``` bash
  yarn link rc-bmap
  ```
5. 修改完`rc-bmap`的源码后，在`rc-bmap`工程执行
  ``` bash
  yarn run build
  ```
  如果在windows系统下
  ```bash
  yarn run build_win
  ```
6. 在`demo`重新点击按钮运行，即可看到最新修改后的效果

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