Package Exports
- react-google-maps
- react-google-maps/lib/GoogleMap
- react-google-maps/lib/Marker
- react-google-maps/lib/addons/InfoBox
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-google-maps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-google-maps

React.js Google Maps integration component
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.8.2
, docker-compose@^1.4.0
and optionally docker-machine@^0.4.1
. Then,
docker-compose run --service-ports web
Then open http://192.168.59.103:8080.
192.168.59.103 is actually your ip from docker-machine ip
.
If you change code in your local, you'll need to rebuild the image to make changes happen.
If you're previously using boot2docker
, you may want to migrate to docker-machine instead.
docker-compose build
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request