-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
85 lines (69 loc) · 3.75 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
84
85
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Eagles in British Columbia</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.css" rel="stylesheet" />
<script src='https://api.mapbox.com/mapbox.js/plugins/turf/v3.0.11/turf.min.js'></script>
<script charset="utf-8" src="https://d3js.org/d3.v4.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class='flex-container'>
<div id='panel'>
<div id='title' class='beige inside-padding-large title-font'>Following BC's Eagles</div>
<div class='details a green inside-padding-small'>STEP 1: Select an eagle and see its movement on the map
<div class='inset green inside-padding-small'>
<select class='inset beige button' id="eagle">
<option>- Select -</option>
<option>BACA03</option>
<option>TERF05</option>
<option>TERF03</option>
<option>TERF01</option>
<option>TERF02</option>
<option>BACA02</option>
<option>TERF04</option>
<option>BACA01</option>
<option>TEUS03</option>
<option>BETA02</option>
</select>
</div>
</div>
<hr class='line'>
<div class='details b green inside-padding-small'>STEP 2: Check out some basic information for that eagle's movement
<div class='flex-container collapse inside-padding-large green-light'>
<div class='container-graph inside-padding-small'>
<div id='rect1'></div>
<div id='data1'>0 km total distance</div>
</div>
<div class='container-graph inside-padding-small'>
<div id='rect2'></div>
<div id='data2'>0 days total duration</div>
</div>
<div class='container-graph inside-padding-small'>
<div id='rect3'></div>
<div id='data3'>0 km per day average</div>
</div>
</div>
</div>
<hr class='line'>
<div class='details c green inside-padding-small'>STEP 3: Move the timeslider to further explore the eagle's journey
<div class = 'time-slide'>
<div class='flex-container inside-padding-large cent collapse green-light'>
<div id='starttime' class='inside-padding-small cent date'>Start time</div>
<div id='slider-container' class='inside-padding-small cent'>
<input id="slider" class='slider' type="range" min="0" max="500" step="5" value="500" />
</div>
<div id='endtime' class='inside-padding-small cent date'>End time</div>
</div>
</div>
</div>
<div id='footer' class='green inside-padding-small'>Data collected by the <a href='https://hancockwildlife.org/beta-bald-eagle-tracking-alliance/' target='_blank'> Hancock Wildlife Foundation. </a></div>
</div>
<div id="map"></div>
</div>
<script src="makemaps.js"></script>
</body>
</html>