Outils pour utilisateurs

Outils du site


kml_in_web_page
no way to compare when less than two revisions

Différences

Ci-dessous, les différences entre deux révisions de la page.


kml_in_web_page [2009/12/01 10:21] (Version actuelle) – créée tigli
Ligne 1: Ligne 1:
 +====== Test ======
  
 +<html>
 +<head>
 +<script type="text/javascript"
 +  src="http://maps.google.com/maps?file=api&v=2.x&key=ABQIAAAA82B8X6PH5dvwhZkrsbuJzRQN4iKY6Afd1A3mqzl-WHXcL_h9bxQaBks2hvp2EJy7yLBg_XK9Cj0Ehg"></script>
 +  <script type="text/javascript">
 +  var map;
 +  function onLoad() {
 +    if (GBrowserIsCompatible()) {
 +      map = new GMap2(document.getElementById("map")); 
 +      map.addControl(new GLargeMapControl());
 +      map.addControl(new GMapTypeControl());
 +      var geoXml = new GGeoXml("");
 +      map.addOverlay(geoXml);
 +      map.setCenter(new GLatLng(0, 0), 3);
 +    }
 +  }
 +  </script>
 +</head>
 +<body onload="onLoad()">
 +  <div id="map" style="width:400px;height:400px;"></div>
 +</body>
 +</html>
kml_in_web_page.txt · Dernière modification : 2009/12/01 10:21 de tigli