Add API Key on Google Maps

This commit is contained in:
Amauri CHAMPEAUX 2018-03-26 09:07:31 +02:00 committed by GitHub
parent 13a37e2dab
commit 50dff7d2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -855,7 +855,7 @@ tarteaucitron.services.googlemaps = {
uniqIds = [],
i;
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&callback=tac_googlemaps_callback');
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?key=' + tarteaucitron.user.googlemapsKey + '&callback=tac_googlemaps_callback');
window.tac_googlemaps_callback = function () {
tarteaucitron.fallback(['googlemaps-canvas'], function (x) {