浏览代码

Add API Key on Google Maps

Amauri CHAMPEAUX 7 年之前
父节点
当前提交
2baa55d3d2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {