{"action":"created","issue":{"url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/21","labels_url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/21/comments","events_url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/21/events","html_url":"https://github.com/MicheleBertoli/react-gmaps/issues/21","id":109126114,"number":21,"title":"Error on rendering","user":{"login":"razagill","id":1941785,"avatar_url":"https://avatars.githubusercontent.com/u/1941785?v=3","gravatar_id":"","url":"https://api.github.com/users/razagill","html_url":"https://github.com/razagill","followers_url":"https://api.github.com/users/razagill/followers","following_url":"https://api.github.com/users/razagill/following{/other_user}","gists_url":"https://api.github.com/users/razagill/gists{/gist_id}","starred_url":"https://api.github.com/users/razagill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razagill/subscriptions","organizations_url":"https://api.github.com/users/razagill/orgs","repos_url":"https://api.github.com/users/razagill/repos","events_url":"https://api.github.com/users/razagill/events{/privacy}","received_events_url":"https://api.github.com/users/razagill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-30T16:07:01Z","updated_at":"2015-10-01T08:26:02Z","closed_at":null,"body":"Hi,\r\nI'm getting the following error on adding the component. \r\n```Unhandled promise rejection TypeError: Cannot read property 'setOptions' of null(…)```\r\n\r\nHere is my component: \r\n```\r\nimport React from 'react';\r\nimport {Gmaps, Marker, InfoWindow, Circle} from 'react-gmaps';\r\n\r\nexport default class GMapBox extends React.Component {\r\n  render() {\r\n    const coords = {\r\n      lat: this.props.lat,\r\n      lng: this.props.lng\r\n    };\r\n   \r\n    return (\r\n      <Gmaps\r\n        width={'300px'}\r\n        height={'300px'}\r\n        lat={coords.lat}\r\n        lng={coords.lng}\r\n        zoom={12}\r\n        loadingMessage={'Be happy'}\r\n        >\r\n        <Marker\r\n          lat={coords.lat}\r\n          lng={coords.lng}\r\n          draggable={false}\r\n           />\r\n        <InfoWindow\r\n          lat={coords.lat}\r\n          lng={coords.lng}\r\n          content={'Hello, React :)'}/>\r\n        <Circle\r\n          lat={coords.lat}\r\n          lng={coords.lng}\r\n          radius={500}\r\n           />\r\n      </Gmaps>\r\n    );\r\n  }\r\n}\r\nGMapBox.displayName = 'GMapBox';\r\nGMapBox.propTypes = {\r\n  lat: React.PropTypes.number.isRequired,\r\n  lng: React.PropTypes.number.isRequired,\r\n  title: React.PropTypes.string\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/comments/144654032","html_url":"https://github.com/MicheleBertoli/react-gmaps/issues/21#issuecomment-144654032","issue_url":"https://api.github.com/repos/MicheleBertoli/react-gmaps/issues/21","id":144654032,"user":{"login":"razagill","id":1941785,"avatar_url":"https://avatars.githubusercontent.com/u/1941785?v=3","gravatar_id":"","url":"https://api.github.com/users/razagill","html_url":"https://github.com/razagill","followers_url":"https://api.github.com/users/razagill/followers","following_url":"https://api.github.com/users/razagill/following{/other_user}","gists_url":"https://api.github.com/users/razagill/gists{/gist_id}","starred_url":"https://api.github.com/users/razagill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razagill/subscriptions","organizations_url":"https://api.github.com/users/razagill/orgs","repos_url":"https://api.github.com/users/razagill/repos","events_url":"https://api.github.com/users/razagill/events{/privacy}","received_events_url":"https://api.github.com/users/razagill/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T08:26:02Z","updated_at":"2015-10-01T08:26:02Z","body":"@MicheleBertoli Yes, I think that's probably it. Thanks, looking forward to the fix."}}