Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/06/2015, 15:12
karenlorenadg
 
Fecha de Ingreso: octubre-2008
Ubicación: Colombia
Mensajes: 448
Antigüedad: 15 años, 7 meses
Puntos: 2
Respuesta: Geolocalizacion

Código HTML:
Ver original
  1. <!DOCTYPE>
  2. <title>Bienvenidos a</title>
  3. </head>
  4.  
  5.  
  6. <!-- <input type="Submit" onclick="init()" value="Cargar Mapa"> -->
  7. <div id="map" style="width: 100%; heigth: 1024px;">
  8. <script src="http://maps.google.com/maps/api/js?sensor=false&callback=init"></script>
  9.  
  10. <script type="text/javascript">
  11.    
  12. var map;
  13. var marker;
  14.     function init() {
  15.         var mapOptions = {
  16.             center: new google.maps.LatLng(8.8001153,-75.8506026),
  17.             zoom: 15,
  18.             mapTypeId: google.maps.MapTypeId.ROADMAP
  19.         }
  20.         map = new google.maps.Map(document.getElementById("map"),mapOptions);
  21.         var place = new.google.maps.LatLng(8.8001309,-75.8505986,21);
  22.         marker = new google.maps.Marker({
  23.             position: place,
  24.             title: "Estacion 1",
  25.             map: map
  26.         });
  27.     }
  28.  
  29.  
  30.  
  31. </div> 
  32.  
  33.  
  34.  
  35. </body>
  36. </html>
__________________
Desarrollo de Aplicaciones de Escritorio, Sitios Web, Audio y Video en SISGUS

Última edición por karenlorenadg; 24/06/2015 a las 15:14 Razón: Correccion