“模板:Test”的版本间的差异
来自Jamesqi
第14行: | 第14行: | ||
if (GBrowserIsCompatible()) { | if (GBrowserIsCompatible()) { | ||
map = new GMap2(document.getElementById("map_canvas")); | map = new GMap2(document.getElementById("map_canvas")); | ||
− | |||
geocoder = new GClientGeocoder(); | geocoder = new GClientGeocoder(); | ||
showAddress(address); | showAddress(address); | ||
第31行: | 第30行: | ||
var marker = new GMarker(point); | var marker = new GMarker(point); | ||
map.addOverlay(marker); | map.addOverlay(marker); | ||
− | marker.openInfoWindowHtml("地址:"+address+"<br> | + | marker.openInfoWindowHtml("地址:"+address+"<br>电话:"+phone); |
} | } | ||
} | } |
2009年7月29日 (三) 00:07的版本
正在载入地图,请稍等...