当百度地图遇上React,会产生怎样的火花🔥 🎉欢迎您的加入🎉
Clone or download
Latest commit 668fb34 Nov 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github feat: github issue and pr template (#62) Aug 29, 2018
src refactor: polyline Nov 23, 2018
types feat: Adding icon properties to Polyline components (#64) Sep 6, 2018
.babelrc release 0.1.0 Aug 5, 2018
.eslintrc fix: adapt to win Nov 28, 2018
.gitignore fix: adapt to win Nov 28, 2018
LICENSE Create LICENSE (#5) Aug 7, 2018
README.md fix: adapt to win Nov 28, 2018
package.json fix: adapt to win Nov 28, 2018
webpack.config.js 增加压缩版 Aug 21, 2018
yarn.lock refactor: cityList and copyright Sep 27, 2018

README.md

React BaiduMap

基于 React 的百度地图组件

npm license

文档

https://bmap.jser-club.com

next分支正在进行重构,master为当前最新release分支。

协议

MIT 许可证

本地开发

demo结合的最佳实践: �

  1. demo工程clone至本地。
git clone https://github.com/jser-club/rc-bmap-demo.git
  1. 安装demo工程所需依赖。
cd 你刚clone的工程目录
yarn install
  1. 进入rc-bmap工程的目录,执行
yarn link
  1. 进入rc-bmap-dmeo工程目录执行
yarn link rc-bmap
  1. 修改完rc-bmap的源码后,在rc-bmap工程执行
yarn run build

如果在windows系统下

yarn run build_win
  1. demo重新点击按钮运行,即可看到最新修改后的效果