if (empty($o['height'])) $o['height'] = 36;
$o['sensor'] = empty($o['sensor']) ? 'false' : 'true';
- return '<img src="http://maps.google.com/maps/api/staticmap?center='.$longitude.','.$latitude
+ return 'http://maps.google.com/maps/api/staticmap?center='.$longitude.','.$latitude
.'&zoom=10'
.'&size='.$o['width'].'x'.$o['height']
- .'&sensor='.$o['sensor'].'" />'
+ .'&sensor='.$o['sensor']
;
}
public static function link($longitude,$latitude) {
- if (!isset($content)) $content = self::img($longitude,$latitude);
return 'http://maps.google.com/?q='.$longitude.','.$latitude;
}