-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwebgis.html
102 lines (91 loc) · 5.43 KB
/
webgis.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!--Import leaflet jquery and slide bar-->
<script src="libraries/leaflet-src.js"></script>
<script src="libraries/jquery.js"></script>
<script src="libraries/leaflet-sidebar.js"></script>
<!--Import materialize.css-->
<link rel="stylesheet" href="css/bootstrap-slider.css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
<link rel="stylesheet" href="css/leaflet.css" />
<link rel="stylesheet" href="css/custom.css" />
<link rel="stylesheet" href="css/leaflet-sidebar.css" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<title>Example of a web mapping application</title>
</head>
<body>
<!-- nav bar -->
<nav>
<!-- https://material.io/tools/color/#!/?view.left=0&view.right=0 -->
<div class="nav-wrapper blue-grey lighten-1">
<a href="" class="brand-logo"><img src="https://upload.wikimedia.org/wikipedia/it/e/ee/Logo_Universit%C3%A0_Padova.png" height="40px" width = "40px" style="margin-left: 30px; margin-top: 10px;" /></a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>
<!-- end nav bar -->
<!-- banner -->
<div id= 'banner'>
<h3>Example of a web mapping application</h3>
<hr>
<p> Example of a web application using the data produced, integrating various technologies including Postgres, GeoServer, LeafletJs and custom Javascripts.</p>
</div>
<!-- end banner -->
<div id="sidebar" class="leaflet-sidebar collapsed">
<!-- declare the first tab -->
<div class="leaflet-sidebar-tabs">
<ul role="tablist">
<li><a href="#legend" role="tab"><i class="fa fa-bars active"></i></a></li>
</ul>
</div>
<!-- end of first tab -->
<!-- panel content -->
<div class="leaflet-sidebar-content">
<div class="leaflet-sidebar-pane" id="legend">
<h1 class="leaflet-sidebar-header">Legend<span class="leaflet-sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<p class="legend_text">Inhabitants in 2015</p>
<div class="c-legend-content">
<ul class="c-legend-choropleth">
<li><div class="icon-choropleth" style="background-color: #ffffb2!important; "></div><span class="name"><i>50,000 - 150,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #ffe98c!important; "></div><span class="name"><i>150,000 - 200,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #ffd265!important; "></div><span class="name"><i>200,000 - 250,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #feb751!important; "></div><span class="name"><i>250,000 - 300,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #fe9b43!important; "></div><span class="name"><i>300,000 - 350,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #fb7b35!important; "></div><span class="name"><i>350,000 - 400,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #f55629!important; "></div><span class="name"><i>400,000 - 500,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #eb3420!important; "></div><span class="name"><i>500,000 - 750,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #d41a23!important; "></div><span class="name"><i>750,000 - 1,000,000</i></span></li>
<li><div class="icon-choropleth" style="background-color: #90001f!important; "></div><span class="name"><i>More than 1,000,000</i></span></li>
</ul>
</div>
<div id="transparency_slider_pop_main">
<div>
<input type="text" value="100" id="slider_pop" data-slider-min="0" data-slider-max="100" data-slider-step="5" data-slider-value="80">
</div>
</div>
</div>
</div>
<!-- end of panel content -->
</div>
<!-- div map -->
<div id="map"></div>
<!-- end of map -->
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js"></script>
<script>
$(".button-collapse").sideNav();
</script>
<!-- include our own javascript -->
<script src="stats.js"></script>
<script src="libraries/bootstrap-slider.js"></script>
<script src="libraries/highcharts.js"></script>
<script src="libraries/highcharts_more.js"></script>
</html>