SSID: '.$ssid.'
Channel: '.$chan.'
Inet: '.$inet.'
';
$markerAdd = 'var marker = new GMarker(new GPoint('.$long.','.$lati.'));'
. 'GEvent.bind(marker,\'click\',marker,function () { this.openInfoWindowHtml(\''.addslashes($info).'\'); });'
. 'map.addOverlay(marker);';
$markers .= $markerAdd;
$jumpOnClick = 'map.clearOverlays(); '.addslashes($markerAdd).'map.centerAndZoom(new GPoint('.$long.','.$lati.'), 1);';
$markers .= 'document.getElementById("info").innerHTML += "";';
$lo = $long;
$la = $lati;
$i++;
}
}
echo $markers;
echo 'map.centerAndZoom(new GPoint('.$lo.','.$la.'), 4);';
?>