We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7dc78a commit ee71e75Copy full SHA for ee71e75
2 files changed
dist/GoogleApiComponent.js
@@ -85,13 +85,15 @@
85
var libraries = options.libraries || ['places'];
86
var version = options.version || '3.29';
87
var language = options.language || 'en';
88
+ var url = options.url;
89
90
return (0, _ScriptCache.ScriptCache)({
91
google: (0, _GoogleApi2.default)({
92
apiKey: apiKey,
93
language: language,
94
libraries: libraries,
- version: version
95
+ version: version,
96
+ url: url
97
})
98
});
99
};
dist/lib/GoogleApi.js
@@ -34,7 +34,7 @@
34
var apiKey = opts.apiKey;
35
var libraries = opts.libraries || ['places'];
36
var client = opts.client;
37
- var URL = 'https://maps.googleapis.com/maps/api/js';
+ var URL = opts.url || 'https://maps.googleapis.com/maps/api/js';
38
39
var googleVersion = opts.version || '3';
40
0 commit comments