PageRenderTime 28ms CodeModel.GetById 25ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/Prototipo/Servlet/web/mapa.jspx

http://prototipomemoria.googlecode.com/
Unknown | 64 lines | 44 code | 20 blank | 0 comment | 0 complexity | 60c681f0da945e728d3c8f18b82224a1 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!-- 
 3    Document   : mapa
 4    Created on : 10/02/2011, 10:55:37 AM
 5    Author     : Fran
 6-->
 7<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
 8
 9     
10    <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/>
11    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
12    </script>
13    <script type="text/javascript">
14        function initialize() {
15            var latlng = new google.maps.LatLng(-35.1115696,-54.624207);
16            var myOptions =
17                {
18                zoom: 11,
19                center: latlng,
20                mapTypeId: google.maps.MapTypeId.SATELLITE
21            };
22            var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
23            
24      
25
26
27            
28        }
29    </script>
30
31
32    <!-- any content can be specified here, e.g.: -->
33    <jsp:element name="text">
34        <jsp:attribute name="lang">EN;</jsp:attribute>
35        <jsp:body>
36            
37
38                              
39         
40            <div id="map_canvas" style="width:50%; height:50%">
41
42            </div>
43           <script type="text/javascript">
44                var latlng = new google.maps.LatLng(-34.1115696,-55.624207);
45                var myOptions =
46                    {
47                    zoom: 11,
48                    center: latlng,
49                    mapTypeId: google.maps.MapTypeId.ROADMAP
50                };
51                var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
52                //ACA HAY QUE PONER LA URL DEL ARCHIVO KML http://prototipomemoria.googlecode.com/svn/trunk/Prototipo/KMLs/KMLFB.km
53                var elKAMELE = new google.maps.KmlLayer('https://dicc.ucu.edu.uy/kml/Resultado.kml');//'http://prototipomemoria.googlecode.com/svn/trunk/Prototipo/KMLs/Fuego3.kml');//'https://dicc.ucu.edu.uy/kml/Resultado.kml');//'http://prototipomemoria.googlecode.com/svn/trunk/Prototipo/KMLs/Fuego2.kml');//'https://dicc.ucu.edu.uy/kml/Resultado.kml');//'http://prototipomemoria.googlecode.com/svn/trunk/Prototipo/KMLs/Fuego.kml'
54                elKAMELE.setMap(map);
55
56              
57            </script>
58           
59
60        </jsp:body>
61
62    </jsp:element>
63
64</jsp:root>