Google Maps API プログラミング入門。Google Maps API Expertである勝又雅史氏が最新のAPI ver3やGoogle Maps for Flashなどについて解説しています。<!DOCTYPE html>
  <html lang="ja">
  <head>
  <meta charset="utf-8">
  <title>Google Earth API ver 1 Sample/グーグルアースAPIサンプル/Google Earth API样品</title>
  <link rel="stylesheet" href="css/main.css" type="text/css" media="all">
  <script src="http://www.google.com/jsapi?key=ABQIAAAAasAJryKxWJnBFVJa487d9hTHGAxTVT7IRADYa-JdYz7xQ8IQZBSthgDZdggYpQHsmm6WYtHstQFfLA"></script>
  <script type="text/javascript">
  google.load("earth", "1");
  var ge = null;
  window.onload = function(){
  google.earth.createInstance("gEarth", disp, function(){
  alert("Error");
  });
  }
  function disp(object){
  ge = object;
  ge.getWindow().setVisibility(true);
  ge.getNavigationControl().setVisibility(ge.VISIBILITY_SHOW);
  var link = ge.createLink("");
  link.setHref("http://www.openspc2.org/reibun/Google/Earth/API/ver1/code/KML/0001/shiojiri.kml");
  var networkLink = ge.createNetworkLink("");
  networkLink.set(link, true, true);
  ge.getFeatures().appendChild(networkLink);
 }
  </script>
  </head>
  <body>
  <div id="gEarth" style="width:800px;height:500px;"></div>
  </body>
  </html>