“模板:Test”的版本间的差异
来自Jamesqi
第22行: | 第22行: | ||
alert("不能解析: " + address); | alert("不能解析: " + address); | ||
} else { | } else { | ||
− | map.setCenter(point, | + | map.setCenter(point, 10); |
var marker = new GMarker(point); | var marker = new GMarker(point); | ||
map.addOverlay(marker); | map.addOverlay(marker); | ||
− | marker.openInfoWindowHtml("地址:"+address+"<br> | + | marker.openInfoWindowHtml("地址:"+address+"<br>"+display); |
} | } | ||
} | } | ||
第36行: | 第36行: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var address = "</html>{{{1}}}<html>"; | var address = "</html>{{{1}}}<html>"; | ||
− | var | + | var display = "</html>{{{2}}}<html>"; |
</script> | </script> | ||
<div id="map_canvas" style="width: 500px; height: 300px">正在载入地图,请稍等...</div> | <div id="map_canvas" style="width: 500px; height: 300px">正在载入地图,请稍等...</div> | ||
</body> | </body> | ||
</html> | </html> |
2009年7月29日 (三) 09:22的版本
正在载入地图,请稍等...