| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 
 |  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title><%=request.QueryString("adresse")%></title>
    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAfiQdpJ9supzq6oNEwKLw7RSekOGvW7h90KIhQhGh9SFbJCi9HRTWHZxnsssuQjLD3HC-uUOhcZayIA"
      type="text/javascript"></script>
    <script type="text/javascript">
 
    //<![CDATA[
 
    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:495px"></div>
 
    <div align="center">
      <script>
   function showAddress(address) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " non trouvée");
      } else {
        map.setCenter(point, 15);
        var marker = new GMarker(point);
        map.addOverlay(marker);
        //marker.openInfoWindowHtml(address);
      }
    }
  );
}
    </script>
 
      <script type="text/javascript">
var map = new GMap2(document.getElementById("map"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
map.addControl(new GScaleControl()) ;
var geocoder = new GClientGeocoder();
 
showAddress("87 rue bobillot, paris");
map.setMapType(G_PLAN_TYPE);
    </script>
      <a href="#" onclick="window.close()"><strong>Fermer</strong></a>  <a href="#" onclick="print()"><strong>Imprimer</strong></a>
      </div>
  </body>
</html>	
  </body>
</html> | 
Partager