Remove the Google Maps Api key
This commit is contained in:
parent
0b89364c41
commit
9f50e41f23
|
|
@ -679,11 +679,7 @@ tarteaucitron.services.googlemaps = {
|
||||||
uniqIds = [],
|
uniqIds = [],
|
||||||
i;
|
i;
|
||||||
|
|
||||||
if (tarteaucitron.user.googlemapsApiKey === undefined) {
|
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&callback=tac_googlemaps_callback');
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&callback=tac_googlemaps_callback&key=' + tarteaucitron.user.googlemapsApiKey);
|
|
||||||
|
|
||||||
window.tac_googlemaps_callback = function () {
|
window.tac_googlemaps_callback = function () {
|
||||||
tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
|
tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue