-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathviewLeaflet2.html
153 lines (112 loc) · 6.54 KB
/
viewLeaflet2.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>ShakeMap - Home</title>
<link rel="stylesheet" href="./style.css">
<!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
crossorigin=""/>
<!-- Material Design for Bootstrap fonts and icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons">
<!-- Material Design for Bootstrap CSS -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap-material-design.min.css" integrity="sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I" crossorigin="anonymous">
<!-- Font awesome icons-->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
<!-- Sidebar css -->
<link rel="stylesheet" href="scripts/LeafletPlugins/leaflet-sidebar.css" />
<!-- Markers css -->
<link rel="stylesheet" href="scripts/LeafletPlugins/leaflet-beautify-marker-icon.css" />
<link rel="stylesheet" href="scripts/LeafletPlugins/L.Icon.Pulse.css" />
</head>
<!--
###############################################
# Header
###############################################
-->
<!-- <div style="width: 100%; margin: 0 auto;">
<img src="ingv_logo_colore.png"/>
</div> -->
<div id="header"></div>
<!--
###############################################
# Main content
###############################################
<div style="width: 100%;">
<img src="banner_lista_terremoti.jpg" style='height: 100%; width: 100%; object-fit: contain'/>
</div>
-->
<button type="button" class="btn btn-outline-primary go_right" id="leafletButton" onclick="open_single()">Single view</button>
<div class="container-fluid row justify-content-md-center">
<div id="map1" class="col sidebar-map double_map">
<!-- <div id="sidebar" class="sidebar collapsed"> -->
<!-- Nav tabs -->
<!-- <div class="sidebar-tabs">
<ul role="tablist"> -->
<!-- <li><a href="#home" role="tab"><i class="fa fa-map"></i></a></li> -->
<!-- <li><a href="#input_info" role="tab"><i class="fa fa-info"></i></a></li>
<li><a href="#messages" role="tab"><i class="fa fa-question-circle"></i></a></li>
<li><a href="#process" role="tab"><i class="fa fa-question-circle"></i></a></li>
</ul>
</div> -->
<!-- Tab panes -->
<!-- <div class="sidebar-content">
<div class="sidebar-pane" id="input_info">
<h1 class="sidebar-header">Input information<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div id="input_content">
</div>
</div>
<div class="sidebar-pane" id="messages">
<h1 class="sidebar-header">Uncertainty<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div id="motions_content">
</div>
</div>
<div class="sidebar-pane" id="process">
<h1 class="sidebar-header">Processing information<span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1>
<div id="processing_content">
</div>
</div>
</div>
</div> -->
</div>
<div id="map2" class="col double_map">
</div>
</div>
<div id="footer"></div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap-material-design.js" integrity="sha384-3xciOSDAlaXneEmyOo0ME/2grfpqzhhTcM4cE32Ce9+8DW/04AGoTACzQpphYGYe" crossorigin="anonymous"></script>
<script>$(document).ready(function() { $('body').bootstrapMaterialDesign(); });</script>
<!-- Leaflet -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw=="
crossorigin=""></script>
<!-- Some special markers (triangle...) -->
<script src="./scripts/LeafletPlugins/leaflet-svg-shape-markers.js"></script>
<!-- Font awesome icons for markers-->
<script src="./scripts/LeafletPlugins/leaflet-beautify-marker-icon.js"></script>
<!-- Sidebar -->
<script src="scripts/LeafletPlugins/leaflet-sidebar.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/chroma-js/1.3.4/chroma.min.js"></script>
<script src="//d3js.org/d3.v4.min.js"></script>
<script src="//npmcdn.com/[email protected]/dist/geotiff.js"></script> <!-- optional -->
<script src="https://ihcantabria.github.io/Leaflet.CanvasLayer.Field/dist/leaflet.canvaslayer.field.js"></script>
<script src="scripts/LeafletPlugins/L.Icon.Pulse.js"></script>
<script src="scripts/LeafletPlugins/L.Map.Sync.js"></script>
<!-- My scripts -->
<script src="scripts/colors.js"></script>
<!-- <script src="./scripts/softwareVersion.js"></script> -->
<script src="./config.js"></script>
<script src="./scripts/functions.js"></script>
<script src="scripts/scriptLeaflet2.js"></script>
</body>
</html>