-
Notifications
You must be signed in to change notification settings - Fork 818
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
js?v=3&callback=angular2GoogleMapsLazyMapsAPILoader&key=xxxxxx&lib…:99 You have included the Google Maps API multiple times on this page. This may cause unexpected errors. #1260
Comments
do you have multiple AgmCoreModule.forRoot() calls in different modules in your app? |
Why don't you check this example? https://plnkr.co/edit/LdKdSj?p=preview |
@fabrizziocht how are you setting the key in your example? and thank you for sharing ? |
If you load the Google maps API through a script somewhere else on the page, you will get this error as this project loads the script itself on initialization. |
I am working on angular 4 application. I have used two packages:- One is ng2-google-place-autocomplete and angular-google-maps. This two page does not work without a google API key. Please tell how to use multiple API keys in one application.
Packages name :- ng2-google-place-autocomplete and angular-google-maps
I get the following error in the console:-
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
Please tell us how to solve this issue.
The text was updated successfully, but these errors were encountered: