*/
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>';