meteor-google-maps-react-example
meteor-google-maps-react-example copied to clipboard
Where is API key?
It's not working. API complaints there is no key. How to pass it is absolutely not clear.
Check the meteor google maps package documentation
In case it helps anyone else, I replaced this function in "lib/GoogleMap.js":
componentDidMount() {
const options = this.props.options || {};
options.key = '<API_KEY_FROM_GOOGLE>';
GoogleMaps.load(options);
this.forceUpdate();
}