Incluir Un Mapa de Google En la Web

<!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" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Google Maps JavaScript API Example: 	Reverse Geocoder</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA"
            type="text/javascript"></script>
    <script type="text/javascript">

    var map;
    var geocoder;
    var address;

    function initialize() {
      map = new GMap2(document.getElementById("map_canvas"));
      map.setCenter(new GLatLng(-33.451518,-70.657952), 15);
      map.setUIToDefault();

      map.openInfoWindow(map.getCenter(),
                           document.createTextNode('Nueva Santa Isabel 1640,Santiago')
						   );

      GEvent.addListener(map, "click", getAddress);
      geocoder = new GClientGeocoder();
    }

    </script>
  </head>
  <body onload="initialize()">
  <center>
    <div id="map_canvas" style="width: 300px; height: 300px"></div>
	</center>
  </body>
</html>

Deja una respuesta