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

Google Maps API warning: NoApiKeys #107

Closed
AnthonyCouval opened this issue Mar 24, 2016 · 5 comments
Closed

Google Maps API warning: NoApiKeys #107

AnthonyCouval opened this issue Mar 24, 2016 · 5 comments

Comments

@AnthonyCouval
Copy link

Hello,

Warning since few days :

Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

@dyba
Copy link
Contributor

dyba commented Mar 29, 2016

@Tyrants Google's Place Autocomplete API documentation states that you need to include your API key in the script tag:

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places">

@AnthonyCouval
Copy link
Author

Oh my bad, I thought it was a script call Included in the package -_-

@ro-ka
Copy link
Contributor

ro-ka commented Mar 30, 2016

Thanks for bringing this up as the example needs an update. :)
Will reopen to have this as a todo.

And thanks for clarifying, @dyba.

@ro-ka ro-ka reopened this Mar 30, 2016
@balogic
Copy link

balogic commented May 18, 2016

@dyba Is there any option to do it in the npm way. We can't use script tag there

@ro-ka
Copy link
Contributor

ro-ka commented May 19, 2016

@balogic You have to pass it to your Google Maps instance when initializing. This component can get the Google Maps instance via a property googleMaps. How to pass it in depends on the component you’re using for the Google Map.

@ro-ka ro-ka closed this as completed in 9c3c6d2 May 20, 2016
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

4 participants