react-maps

0.4.0 • Public • Published

react-maps

Version

Read the code for an understanding

Example

    // ...
 
    render: function() {
        // Melbourne
        var center = {
            lat: -37.8602828,
            lng: 145.079616
        }
 
        return (<GoogleMap center={center} zoom={8}>
            <InfoWindow position={center} open>
                <h1>Melbourne</h1>
            </InfoWindow>
            <Marker position={center} label="A pleasant place to live"/>
        </GoogleMap>)
    }

License

This library is free and open-source software released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i react-maps

Weekly Downloads

4

Version

0.4.0

License

MIT

Last publish

Collaborators

  • jedwatson
  • dcousens