-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (78 loc) · 1.98 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>LIDEN geojson</title>
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<script src="https://api.mapbox.com/mapbox-gl-js/v1.6.1/mapbox-gl.js"></script>
<link
href="https://api.mapbox.com/mapbox-gl-js/v1.6.1/mapbox-gl.css"
rel="stylesheet"
/>
<style>
body {
margin: 0;
padding: 0;
}
#controller {
position: absolute;
padding: 10px;
top: 0;
left: 0;
z-index: 100;
width: 100%;
color: lightgray;
}
#datetimesSlider {
position: relative;
top: 0.5em;
width: 60%;
}
#lightingCount {
text-align: right;
background-color: lightgray;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="controller">
<div>
<label for="datetimesSlider">時刻</label>
<input type="range" id="datetimesSlider" list="datetimeList" />
<datalist id="datetimeList"> </datalist>
<select id="datetimesSelector"></select>
<input type="text" id="lightingCount" size="10" readonly />
<label for="lightingCount">件</label>
</div>
<div>
<label for="durationSelector">集計間隔</label>
<select id="durationSelector"></select>
<input
type="radio"
id="simpleLightnings"
name="lightingType"
value="simpleLightnings"
/>
<label for="simpleLightnings">放電種別区別なし</label>
<input
type="radio"
id="multiLightnings"
name="lightingType"
value="multiLightnings"
/>
<label for="multiLightnings">放電種別区別あり</label>
</div>
</div>
<div id="map"></div>
<script src="app.js"></script>
</body>
</html>