David Diaz asi deberia de quedar el codigo:Primero tienes que inscribirte aqui
http://code.google.com/intl/es/apis/maps/signup.html para tener la llave es gratis luego ve a
http://maps.google.com/ busca la ubicacion en el mapa que quieras publicar y le das al link Enlazar con esta pagina y te salen las coordenadas seleccionas despues todo el codigo sin las tres lines que te coloque abajo y lo pegas en cualquier lugar de tu pagina...
<script src="http://maps.google.com/maps?file=api&v=1&key=
XXXXXXXXXXXXXXXXXXXXXXXXX" type="text/javascript"></script>
<div id="map" style="width:
500px; height:
300px">
<script type="text/javascript">
//<![CDATA[
window.onload = showMap;
function showMap()
{
var map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 0);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 1);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 2);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 3);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 4);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 5);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 6);
map.centerAndZoom(new GPoint(-71.191406, 8.711359), 7);
map.centerAndZoom(new GPoint
(-71.191406, 8.711359),
;
}
//]]>
</script>
Aqui colocas tu llave <script src="http://maps.google.com/maps?file=api&v=1&key=[b]XXXXXXXXXXXXXXXXXXXXXXXXX" type="text/javascript"></script>[/b]
En esta linea que esta arriba cambias el tamaño que deseas <div id="map" style="width: 500px; height: 300px">Aqui cambias las coodenadas la que tiene el signo menor va de primero map.centerAndZoom(new GPoint(-71.191406, 8.711359), ;[/u]
Espero te sirva a mi me funciona
http://juanalber1407.iespana.es