React Wrapper for Google Maps
Based on this tutorial: How to Write a Google Maps React Component
We wrote our own version because you just couldn't use Ari Lerner's version with AMD.
Usage
Use it like this:
;;;Component{super;thisrender = thisrender;}// Will open an info window on top of the clicked marker{this;}{const props = thisprops;return// MyComponent must have set dimensions<divstyle= width: '100vw' height: '100vh' backgroundColor: 'green'><Map google=propsgoogle ><MarkeronClick=thisonMarkerClickgoogle=propsgooglepos= lat: 51496322 lng: -0178736icon="http://res.cloudinary.com/golden-eagle/image/upload/v1473755159/g4172_lefldr.png"/><InfoWindowmarker=thisstateactiveMarkervisible=thisstateshowingInfoWindowonClose=thisonInfoWindowClose><div><h1>thisstateselectedPlace</h1></div></InfoWindow></Map></div>;}{ReactDOM;}