Poner un mapa de google maps en html

Imprimir

Ver también enlaces web sección google
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Como integrar Google Maps en tu web</title>
<script src="/http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAd3At6iYsGD8-S5b_h6qzvBScPi2od4Z_pA92fbIFwBTdhAC7ghSFy_0oGB5ZrNaGgupMa52I4zeBkg" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[

function cargar() {
if (GBrowserIsCompatible()) {
var map2 = new GMap2(document.getElementById("map2"));
map2.setCenter(new GLatLng(37.4419, -122.1419), 13);
if (GBrowserIsCompatible()) {
var map2 = new GMap2(document.getElementById("map2"));
map2.addControl(new GSmallMapControl());
map2.addControl(new GMapTypeControl());
map2.setCenter(new GLatLng(37.4419, -122.1419), 13);
}
}
}
//]]>
</script>
</head>

<body onload="cargar()">
<div id="map2" style="width: 500px; height: 300px"></div>
</body>
</html>