We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b0a3b0 + 0a1fdf4 commit d134bbaCopy full SHA for d134bba
google-maps-api.html
@@ -122,6 +122,14 @@
122
url += '&client=' + clientId;
123
}
124
125
+ // Log a warning if the user is not using an API Key or Client ID.
126
+ if (!apiKey && !clientId) {
127
+ var warning = 'No Google Maps API Key or Client ID specified. ' +
128
+ 'See https://developers.google.com/maps/documentation/javascript/get-api-key ' +
129
+ 'for instructions to get started with a key or client id.';
130
+ console.warn(warning);
131
+ }
132
+
133
if (language) {
134
url += '&language=' + language;
135
0 commit comments