angular-google-maps
angular-google-maps copied to clipboard
Dev Console warning - Google Maps API warning NoApiKeys
Warning is coming in dev console on all browsers,
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
I don't see any way of dynamically inserting Api key?
Hi all, I have got the same problem. Is there any solution to this issue. If no, is there any other problem that this issue can cause?
have u tried this ?
.config(function(uiGmapGoogleMapApiProvider) {
uiGmapGoogleMapApiProvider.configure({
// key: 'your api key',
v: '3.20', //defaults to latest 3.X anyhow
libraries: 'weather,geometry,visualization'
});
})
Yes, and still get the error: uiGmapGoogleMapApiProvider.configure({
libraries: 'weather,geometry,visualization',
key: '{MY API KEY}',
transport: 'http',
isGoogleMapsForWork: true
});
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
+1 Same issue here
I figured it out. In my case it was a conflict between underscore.js and lodash.js library. I removed lodash.fp.js and the problem went away. Hopefully it helps!
Same issue here. Didn't fix with removing lodash.
+1
Didn't fix with removing lodash either
Same issue...
+1. Someone could fix it?
I've found that calling
fp = _.noConflict();
before loading angular-google-maps
solves the issue.
But I suspect the "Lodash 4 compatibility" code in lodash.coffee
is the culprit.