Browse Source

Remove the Google Maps Api key

Amauri CHAMPEAUX 10 years ago
parent
commit
9f50e41f23
1 changed files with 1 additions and 5 deletions
  1. 1 5
      tarteaucitron.services.js

+ 1 - 5
tarteaucitron.services.js

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