update map
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Nov 2017 15:55:11 +0000 (10:55 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 27 Nov 2017 15:55:11 +0000 (10:55 -0500)
Toolkit/Members/Map.php

index a2c92d5..dff5fc5 100644 (file)
@@ -86,10 +86,8 @@ class Toolkit_Members_Map
      */
     public function toHtml($id = "map-canvas", $w = "100%", $h = "300px")
     {
-        $GLOBALS['bottomScripts'][]
-            = MEDIA_BASE_URL . 'Toolkit/Members/libjs/google-map.js';
-        $GLOBALS['bottomScripts'][]
-            = 'http://maps.google.com/maps/api/js?sensor=false';
+        $GLOBALS['bottomScripts'][] = 'http://maps.google.com/maps/api/js?v=3';
+        $GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'Toolkit/Members/libjs/google-map.js';
 
         $format = '<div id="%s" style="width: %s;height: %s"></div>';