PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/Prototipo/wsConsume/Portada.htm

http://prototipomemoria.googlecode.com/
HTML | 155 lines | 113 code | 40 blank | 2 comment | 0 complexity | d916091a24b6cc967b923a00639fcdd5 MD5 | raw file
  1    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3<!-- saved from url=(0014)about:internet -->
  4<html xmlns="http://www.w3.org/1999/xhtml">
  5<head>
  6
  7<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8<!--Fireworks CS3 Dreamweaver CS3 target.  Created Thu Jun 23 15:30:01 GMT-0300 (Montevideo Standard Time) 2011-->
  9<link rel="stylesheet" type="text/css" href="view.css" media="all">
 10<script type="text/javascript" src="view.js"></script>
 11<script type="text/javascript" src="calendar.js"></script>
 12<style type="text/css">
 13td img {display: block;}
 14body {
 15  background-image: url("img/background.png");
 16  background-position: 0% 50%;
 17  background-repeat: no-repeat;
 18}
 19.content{
 20    margin-right: 10px;
 21    display: block;
 22    margin-top:10px;
 23}
 24
 25.contenedor{
 26    display: block;
 27    margin: 0 auto;
 28    width: 900px;
 29}
 30.map-container{
 31    width: 900px;
 32    height: 500px;
 33    horizontal-align:center;
 34    margin-top: 10px;
 35}
 36
 37</style>
 38
 39
 40<style type="text/css">
 41      @import url("http://www.google.com/uds/css/gsearch.css");
 42      @import url("http://www.google.com/uds/solutions/localsearch/gmlocalsearch.css");
 43    </style>
 44       <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAuPsJpk3MBtDpJ4G8cqBnjRRaGTYH6UMl8mADNa0YKuWNNa8VNxQCzVBXTx2DYyXGsTOxpWhvIG7Djw" type="text/javascript"></script>
 45    <script src="http://www.google.com/uds/api?file=uds.js&amp;v=1.0" type="text/javascript"></script>
 46
 47    <script src="http://www.google.com/uds/solutions/localsearch/gmlocalsearch.js" type="text/javascript"></script>  
 48        <script type="text/javascript">
 49        
 50        function initialize() {
 51      if (GBrowserIsCompatible()) {
 52     
 53        var map = new GMap2(document.getElementById("map"));
 54        var center = new GLatLng(-34.89952766562065, -56.165394720459);
 55        map.addControl(new google.maps.LocalSearch(), new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));
 56        map.setCenter(center, 13);
 57        map.setUIToDefault();
 58        
 59        
 60        var marker = new GMarker(center, {draggable: true});
 61    
 62        GEvent.addListener(map, "move", function() {
 63           document.getElementById("id_lat").value = map.getCenter().lat();
 64           document.getElementById("id_lng").value = map.getCenter().lng();   
 65
 66           document.getElementById("id_lat_sw").value = map.getBounds().getSouthWest().lat();
 67           document.getElementById("id_lng_sw").value = map.getBounds().getSouthWest().lng();    
 68
 69           document.getElementById("id_lat_ne").value = map.getBounds().getNorthEast().lat();
 70           document.getElementById("id_lng_ne").value = map.getBounds().getNorthEast().lng();               
 71         
 72           marker.setLatLng(map.getCenter())
 73         });
 74        document.getElementById("id_zoom").value = map.getZoom();
 75        GEvent.addListener(map, "zoomend", function() {
 76          document.getElementById("id_zoom").value = map.getZoom();
 77        });
 78               
 79        map.addOverlay(marker);
 80      
 81        
 82      }
 83    }
 84    GSearch.setOnLoadCallback(initialize);
 85        </script>
 86
 87</head>
 88<body bgcolor="#ffffff" onload="initialize()" onunload="GUnload()">
 89
 90<div id="header" align="top">
 91<table border="0" cellpadding="0" cellspacing="0">
 92    <tr>
 93        <td>
 94         
 95           
 96        </td>
 97        <td>
 98  
 99        </td>
100
101
102    </tr>
103</table>
104</div>
105<div class="contenedor">
106
107    <div align="center" id="map" class="map-container"></div>        
108    <div class="content" align="center">
109
110        
111
112    </div>
113    <div id="form_container">
114    <form id="form_231301" class="appnitro"  method="post" action="">
115									
116		
117			
118				
119			    <input type="hidden" name="form_id" value="231301" />
120			     <div class="left">
121                     <input type="text" name="lat" id="id_lat" /> 
122                     <input type="text" name="lng" id="id_lng" /> 
123                     <label for="id_lat">Centro</label>
124                 </div>
125                <p/> 
126                <div class="left">
127                    <input type="text" name="latEsquinaInferiorIzquierda" id="id_lat_sw" /> 
128                    <input type="text" name="lngEsquinaInferiorIzquierda" id="id_lng_sw" /> 
129                    <label for="id_lat_sw">Esquina inferior izquierda</label>
130                </div>
131                <p/> 
132                <div class="left">
133                    <input type="text" name="latEsquinaSuperiorDerecha" id="id_lat_ne" /> 
134                    <input type="text" name="lngEsquinaSuperiorDerecha" id="id_lng_ne" />    
135                    <label for="id_lat_sw">Esquina superior derecha</label>
136                </div>
137                 
138                 
139                  
140                 
141                 
142            <div class="left">                   
143                <input type="text" name="zoom" id="id_zoom" />
144                <label for="id_zoom">Zoom</label>
145			</div>
146		</li>
147			</ul>
148           
149		</form>	
150        </div>
151    
152</div>
153
154</body>
155</html>