File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 85
85
var libraries = options . libraries || [ 'places' ] ;
86
86
var version = options . version || '3.29' ;
87
87
var language = options . language || 'en' ;
88
+ var url = options . url ;
88
89
89
90
return ( 0 , _ScriptCache . ScriptCache ) ( {
90
91
google : ( 0 , _GoogleApi2 . default ) ( {
91
92
apiKey : apiKey ,
92
93
language : language ,
93
94
libraries : libraries ,
94
- version : version
95
+ version : version ,
96
+ url : url
95
97
} )
96
98
} ) ;
97
99
} ;
Original file line number Diff line number Diff line change 34
34
var apiKey = opts . apiKey ;
35
35
var libraries = opts . libraries || [ 'places' ] ;
36
36
var client = opts . client ;
37
- var URL = 'https://maps.googleapis.com/maps/api/js' ;
37
+ var URL = opts . url || 'https://maps.googleapis.com/maps/api/js' ;
38
38
39
39
var googleVersion = opts . version || '3' ;
40
40
You can’t perform that action at this time.
0 commit comments