Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/01/2012, 17:36
Avatar de destor77
destor77
 
Fecha de Ingreso: noviembre-2004
Ubicación: Gálvez, Santa Fe, Argentina
Mensajes: 2.654
Antigüedad: 19 años, 5 meses
Puntos: 43
problemas con google map

Hola, estoy intentando usar el api v3 de google map en mi localhost y no me muestra nada solo la pantalla en blanco, mi html esta formado asi:
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.                 <base href="http://localhost/laherradura/"/>
  5.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  6.     <style type="text/css" media="screen">
  7.         @import "website/template/css/reset.css";
  8.         @import "website/template/css/styles.css";
  9.         @import "website/template/css/helpers.css";
  10.     </style>
  11.     <style type="text/css" media="print">
  12.         @import "website/template/css/print.css";
  13.     </style>
  14.         <script type="text/javascript">
  15.             var baseJs = 'http://localhost/laherradura/core/js/';var baseUrl = 'http://localhost/laherradura/';        </script>
  16.  
  17.         <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  18.         <script type="text/javascript">
  19.     window.onload = function(){
  20.         var options = {
  21.             zoom: 9,
  22.             center: new google.maps.LatLng(18.1, -66.4),
  23.             mapTypeId: google.maps.MapTypeId.ROADMAP,
  24.             disableDoubleClickZoom: true,
  25.             draggable: false,
  26.             scrollwheel: false,
  27.             disableDefaultUI: true
  28.         };
  29.         var map = new google.maps.Map(document.getElementById('map'), options);
  30.     };
  31.     </script>
  32.  
  33.  
  34.     <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>      
  35.         <script type="text/javascript" src="http://localhost/laherradura/core/js/punk.js"></script>
  36.     <script type="text/javascript" src="website/template/js/funciones.js"></script>
  37.     <script type="text/javascript" src="website/template/js/swfobject.js"></script>
  38.  
  39.  
  40.     <script type="text/javascript">
  41.         // Javascript Internet Explorer Versions
  42.         var is_IE = false;
  43.         var is_IE6 = false;
  44.         var is_IE7 = false;
  45.         var is_IE8 = false;
  46.     </script>
  47.  
  48.     <!--[if IE]>
  49.         <link rel="stylesheet" type="text/css" href="website/template/css/ie.css" />
  50.         <script type="text/javascript">
  51.             is_IE = true;
  52.         </script>
  53.     <![endif]-->
  54.  
  55.     <!--[if IE 6]>
  56.         <link rel="stylesheet" type="text/css" href="website/template/css/ie6.css" />
  57.         <script type="text/javascript" src="website/template/js/DD_belatedPNG_0.0.8a-min.js"></script>
  58.         <script type="text/javascript">
  59.             is_IE6 = true;
  60.             DD_belatedPNG.fix('.trns');
  61.         </script>
  62.     <![endif]-->
  63.  
  64.     <!--[if IE 7]>
  65.         <link rel="stylesheet" type="text/css" href="website/template/css/ie7.css" />
  66.         <script type="text/javascript">
  67.             is_IE7 = true;
  68.         </script>
  69.     <![endif]-->
  70.  
  71.     <!--[if IE 8]>
  72.         <link rel="stylesheet" type="text/css" href="website/template/css/ie8.css" />
  73.         <script type="text/javascript">
  74.             is_IE8 = true;
  75.         </script>
  76.     <![endif]-->
  77.  
  78.         <meta name="description" content="Inmobiliaria La Herradura" />
  79.         <meta name="keywords" content="Inmobiliaria La Herradura,ventas de campos,alquileres de campos"/>
  80.  
  81.         <meta name="google-site-verification" content="" />
  82.         <meta name="language" content="" />
  83.         <meta http-equiv="Content-Language" content="" />
  84.         <meta name="revisit-after" content="7 days" />
  85.         <meta name="robot" content="Index,Follow" />
  86.         <meta name="robot" content="All" />
  87.  
  88.         <meta name="Distribution" content="Global" />
  89.         <meta http-equiv="Pragma" content="no-cache" />
  90.         <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  91.         <meta name="rating" content="general" />
  92.  
  93.         <meta name="author" http-equiv="Author" content="Onírico Sistemas"/>
  94.         <meta name="copyright" content="Copyright Onírico Sistemas - www.oniricosistemas.com" />
  95.         <meta name="generator" content="Framework Punk PHP 0.3.2" />
  96.  
  97.         <link rel="icon" type="image/x-icon" href="website/template/images/favicon.ico" />
  98.  
  99.         <link rel="shortcut icon" href="website/template/images/favicon.ico" />
  100.  
  101.         <title>Inmobiliaria La Herradura - </title>
  102.     </head>
  103.     <body><div id="map">
  104.    
  105. </div>    </body>
  106. </html>

estoy haciendo algo mal con el js ?
saludos y desde ya muchas gracias!