Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error communication with api #236

Closed
KaueMre opened this issue Mar 26, 2016 · 1 comment
Closed

Error communication with api #236

KaueMre opened this issue Mar 26, 2016 · 1 comment

Comments

@KaueMre
Copy link

KaueMre commented Mar 26, 2016

I am trying open the react-google-maps in my application but the request for the maps API doesn't work, this is my code:

`var React = require('react');

var GoogleMapLoader = require('react-google-maps/lib/GoogleMapLoader');
var GoogleMap = require('react-google-maps/lib/GoogleMap');

var GoogleMap = React.createClass(
{

/** React mount
 *  Todas as funções chamadas na montagem do componente
 *  getInitialState, getDefaultProps, propTypes, mixins, statics, displayName
 */
getInitialState: function () {
    return {
    }
}, 

render: function() 
{ 
    return (


        <GoogleMapLoader 
          containerElement={ <div style={{height: "100%"}} /> }
          googleMapElement={ <GoogleMap defaultZoom={3} defaultCenter={{lat: -25.363882, lng: 131.044922}}> </GoogleMap> }
        /> 


    );
} 

});

module.exports = GoogleMap;

`

This is what happend in firefox:

http://i.imgur.com/ukBt38H.png

@tomchentw
Copy link
Owner

I believe this is an issue of googles' own servers. Close for now.

We're also looking for maintainers. Involve in #266 to help strengthen our community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants