/react-google-maps

React.js Google Maps integration component

Primary LanguageJavaScript

react-google-maps Travis CI Quality Coverage Dependencies Gitter

React.js Google Maps integration component

Version

Installation

npm i --save react-google-maps

Demo/Examples

Static hosted demo site on GitHub. The code is located under examples/gh-pages folder.

Usage

This module requires to be bundled with webpack/browserify and loads react/addons internally.

Development

First, clone the project.

git clone ...

With Docker

Install docker@^1.6.2, docker-compose@^1.3.0 and optionally boot2docker@^1.6.2. Then,

docker-compose run --service-ports web

Then open http://192.168.59.103:8080.

192.168.59.103 is actually your ip from boot2docker ip.

If you change code in your local, you'll need to rebuild the image to make changes happen.

docker-compose rebuild

With Mac

Install node@^0.12.4. Then,

npm install
cd examples/gh-pages
npm install
npm start

Then open http://localhost:8080/webpack-dev-server/.

With Windows

Install node@^0.12.4. Then,

npm install
cd examples/gh-pages
npm install
npm start:windows

Then open http://localhost:8080/webpack-dev-server/.

Contributing

devDependency Status

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request