Strict Standards: htmlentities(): Only basic entities substitution is supported for multi-byte encodings other than UTF-8; functionality is equivalent to htmlspecialchars in /www/wwwroot/daxuecn/www/map.php on line 3
function showAddress() {
var address="ƼѧԺ"; //��ȡ�ֶε�ֵ
map = new GMap2(document.getElementById("mymap"));
geocoder = new GClientGeocoder();
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
map.setCenter(point, 13); //���ŵļ���,����Խ��Խ��,��߲�����22,��������13��15
var marker = new GMarker(point);
map.addOverlay(marker); //��ʾ��ͼ���
marker.openInfoWindowHtml(address);
map.addControl(new GSmallMapControl());//��ʾ��ͼ���ſ�����,�˴�ΪС������.
map.enableDoubleClickZoom(); //֧��˫������
}
);
}
}
window.onload=showAddress;