From 50dff7d2df72a9f805864b6e328ca41d667f22d5 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 26 Mar 2018 09:07:31 +0200 Subject: [PATCH] Add API Key on Google Maps --- tarteaucitron.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 45cfdb6..5c7aba2 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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) {