public function getCloseUrl(Google_Maps_Static $map) { return preg_replace('/infowindow=.*&/', 'infowindow=&', $map->toUrl('?', false)); }