Chinaunix首页 | 论坛 | 博客
  • 博客访问: 208875
  • 博文数量: 9
  • 博客积分: 1428
  • 博客等级: 上尉
  • 技术积分: 400
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-18 15:00
文章分类

全部博文(9)

文章存档

2010年(2)

2009年(3)

2008年(4)

我的朋友

分类: Java

2008-08-28 22:19:30

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "">
<html xmlns="">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src=""
      type="text/javascript"></script>
    <script type="text/javascript">
    //
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      }
    }
    //]]>

    </script>
  </head>
  <body onload="load()" onunload="GUnload()">
    <div id="map" style="width: 500px; height: 300px"></div>
  </body>
</html>

阅读(1212) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-10-12 11:18:57

好地方,要留下脚印,支持版主!加油~~!