-
Notifications
You must be signed in to change notification settings - Fork 2
/
hidricoPEM.html
191 lines (154 loc) · 6.58 KB
/
hidricoPEM.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-149667597-3"></script>
<script src="js/gtag.js"></script>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Visualizador PROAgua</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- Needed for Navbar-->
<link rel="stylesheet" href="css/dropdown.css" />
<link rel="stylesheet" href="css/w3.css" />
<link rel="stylesheet" href="css/overlay.css" />
<script src="lib/js/includehtml.js"></script>
<!-- About Overlay -->
<div id="myNav" class="overlay">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<div class="overlay-content">
<div w3-include-html="about.html"></div>
</div>
</div>
<!-- End Of About Overlay -->
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous" ></script>
<!-- End Of: Needed for Navbar-->
<!-- Libs -->
<!-- w3 style thingz -->
<link rel="stylesheet" href="css/w3.css" />
<link rel="stylesheet" href="css/w3-black-theme.css" />
<!-- icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"/>
<!-- tachyons -->
<link rel="stylesheet" href="lib/css/tachyons.min.css" />
<!-- Leaflet -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
crossorigin=""></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA==" crossorigin="" />
<!--Needed for Chart D3.js/C3.js-->
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="lib/js/c3.min.js"></script>
<link rel="stylesheet" href="lib/css/c3.min.css" />
<script src="js/tabs.js"></script>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/style_new.css" />
<link rel="stylesheet" href="css/tabs.css" />
<link rel="stylesheet" href="css/styleMAP.css" />
</head>
<body class="bg-black-60 black" style="overflow: hidden; background-color: rgb(48, 48, 48);">
<nav id="navbar">
<div w3-include-html="html/navbar.html"></div>
</nav>
<div class="w3-twothird" id="maps">
<div style="clear: both;">
<!-- Map 1 -->
<div id="map1" class="map">
<div id="mapTitle" >
<center>
<h2 id="titulo">Loading...</h2>
<div id="radio_container" >
<div class="switch-field">
<input type="radio" id="btnRiesgos" name="mode" value="Hidrico" onchange="switchMode('Hidrico')" checked >
<label for="btnRiesgos">Servicios hidrológicos</label>
<input type="radio" id="btnUso" name="mode" value="LU" onchange="switchMode('LU')" />
<label for="btnUso">Uso del suelo</label>
</div>
</div>
</center>
</div>
<div id="map1_text">
<h1 style="margin: 0;">2019</h1>
</div>
</div>
<!-- Map 2 -->
<div id="map2" class="map">
<div id="map2_text">
<h1 style="margin: 0;">2035</h1>
</div>
<div class="mapControls_scenario">
<div w3-include-html="html/pickEscenario_new.html"></div>
</div>
<!-- Legend -->
<div id="map2_legend" class="map_legend"style="bottom: 1vh;">
<div id="leyenda" class="leyendaHover">
<h6 id="leyendaTitle" style="margin-bottom: 0; margin-top: 0;">
Leyenda
</h6>
<div id="leyendaContents"></div>
</div> <!-- End leyenda -->
</div>
</div>
</div>
</div>
<!-- Side Panel -->
<div class="w3-third rightPanel">
<div id="intro_text" style="text-align:center;">
<h4 style="margin: 0;"><i style="color:grey;">¿Creciendo sosteniblemente o no?</i></h4><h5 style="margin: 0;">Evaluación de escenarios</h5>
</div>
<!--Tabs-->
<div id="tabsPanel">
<div class="tab">
<button id="defaultOpen" class="tablinks" onclick="openTab(event, 'DiagH')">
Diagnóstico
</button>
<button class="tablinks" onclick="openTab(event, 'Escenarios')">Escenarios
</button>
<button class="tablinks" onclick="openTab(event, 'Método')">
Método
</button>
</div>
<!-- Tab contents -->
<div id="DiagH" class="tabcontent">
<div w3-include-html="html/tab_diagnosticoH.html"></div>
</div>
<div id="Escenarios" class="tabcontent">
<div w3-include-html="html/tab_escenarios.html"></div>
</div>
<div id="Método" class="tabcontent">
<div w3-include-html="html/tab_method.html"></div>
</div>
</div>
<!-- <center><h6 style='margin-top: 0px;'>Impacto en las ciudades</h6></center>-->
<div id="controlCity" style="text-align: center; margin-top:1vh;">
<div w3-include-html="html/pickCityPEM.html"></div>
</div>
<center><h6 style='margin: 0px;font-size: 13px;'>Impacto en Personas rurales y sedimentos</h6></center>
<div id="chartPEM1" class="chart"></div>
<center><h6 style='margin: 0px;font-size: 13px;'>Impacto en los flujos</h6></center>
<div id="chartPEM" class="chart"></div>
</div>
</body>
<script src="js/pointer/canvasLayer.js"></script>
<!-- Needed for Navbar-->
<script>
includeHTML();
// Tabs: Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
</script>
<script src="js/overlay.js"></script>
<script src="js/chartPEM.js"></script>
<script src="lib/js/L.Map.Sync.js"></script>
<script src="lib/js/leaflet.shpfile.js"></script>
<script src="lib/js/shp.js"></script>
<script src='js/mapUtils.js'> </script>
<!-- w/o Pointer -->
<script src="js/mapsPEM.js"></script>
<!-- w/ pointer
<script src="js/pointer/helperPointer.js"></script>
<script src="js/mapsPEM_pointer.js"></script>
<script src="js/pointer/index.js"></script>-->
<!-- switchMode -->
<script src="js/switchMode.js"></script>
</html>