-
Notifications
You must be signed in to change notification settings - Fork 3
/
dasLabNYCTrees.html
97 lines (79 loc) · 4.33 KB
/
dasLabNYCTrees.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cornell DAS Lab NYC Tree Dashboard</title>
<script src='https://api.mapbox.com/mapbox-gl-js/v2.5.1/mapbox-gl.js'></script>
<script src="https://unpkg.com/deck.gl@^7.0.0/dist.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v2.5.1/mapbox-gl.css' rel='stylesheet' />
<link rel="stylesheet" type="text/css" href="css/style.css">
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
</style>
</head>
<body>
<nav id="menu"></nav>
<div id='map'></div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close" id="close">×</span>
<table style="width:100%;">
<tr><td><p class="modal-title" >2015 New York Street Tree Survey ✕ 2017 New York Topobathymetric Lidar Survey</p><br/></td></tr>
<tr><td><p class="control-name" style="text-align:center">Left Click + Drag = Move Map</p></td></tr>
<tr><td><p class="control-name" style="text-align:center">Right Click + Drag = Rotate and Tilt View</p></td></tr>
<tr><td><p class="control-name" style="text-align:center">Scroll To Zoom. Zoom in for individual tree locations.</p></td></tr>
<tr><td><p class="control-name" style="text-align:center">Left Click on Tree Point = Load Point Cloud</p><br/></td></tr>
<tr><td><p class="control-name" style="text-align:center">Design Across Scales Lab - Cornell University</p></td></tr>
<tr><td><p class="control-name" style="text-align:center">Tree Folio is funded and developed in collaboration with the Urban Tech Hub at the Jacobs Technion-Cornell Institute</p></td></tr>
</table>
</div>
</div>
<div class="map-overlay">
<div style="float:left; padding: 15px 0; width:100%">
<select name="seasonPicker" id="pickedSeason" class="select-div" padding: 4px;>
<option value='3'>No Seasonal Shadow. Click to select.</option>
<option value='1'>Spring</option>
<option value='0'>Summer</option>
<option value='1'>Fall</option>
<option value='2'>Winter</option>
</select>
</div>
<table style="width:100%;">
<tr>
<td style="width:50%;">
<table>
<tr><td><a class="title" id="common" href="#" target="_blank">Common Name </a></td></tr>
<tr><td><p class="subtitle" id="latin">Latin Name </p></td></tr>
</table>
</td>
<td style="width:25%;">
<table>
<tr><td><p class="section-name">Address </p></td><td><p class="control-name" id="address"> </p></td></tr>
<tr><td><p class="section-name">Zip Code </p></td><td><p class="control-name" id="zipcode"> </p></td></tr>
<tr><td><p class="section-name">Borough </p></td><td><p class="control-name" id="borough"> </p></td></tr>
<tr><td><p class="section-name">Curb Location </p></td><td><p class="control-name" id="curb"> </p></td></tr>
<tr><td><p class="section-name">Latitude </p></td><td><p class="control-name" id="lat"> </p></td></tr>
<tr><td><p class="section-name">Longitude </p></td><td><p class="control-name" id="lon"> </p></td></tr>
</table>
</td>
<td style="width:25%;">
<table>
<tr><td><p class="section-name">Status </p></td><td><p class="control-name" id="status"> </p></td></tr>
<tr><td><p class="section-name">Health </p></td><td><p class="control-name" id="health"> </p></td></tr>
<tr><td><p class="section-name">Trunk Diameter (inches) </p></td><td><p class="control-name" id="trunk"> </p></td></tr>
<tr><td><p class="section-name">Expected Canopy Radius (feet) </p></td><td><p class="control-name" id="canopy"> </p></td></tr>
<tr><td><p class="section-name">Lidar-derived Height (feet) </p></td><td><p class="control-name" id="height"> </p></td></tr>
<tr><td><p class="section-name">Lidar Return Density </p></td><td><p class="control-name" id="density"> </p></td></tr>
</table>
</td>
</tr>
</table>
</div>
<script src="js/dasLabNYCTrees.js"></script>
</body>
</html>