Browse Source

Add API Key on Google Maps

Amauri CHAMPEAUX 7 năm trước cách đây
mục cha
commit
2baa55d3d2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

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