-
Notifications
You must be signed in to change notification settings - Fork 1
/
Lab_4.html
249 lines (222 loc) · 12 KB
/
Lab_4.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html>
<html>
<head>
<!--
Thank you templatemo.com for an amazing foundation for my website. This is the Highway Template found here: https://templatemo.com/tm-520-highway
-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--DESCRIPTION ON BROWSER TAB - LOGO?-->
<title>T GIS 503: Lab 4</title>
<!-- BEGINS ALL THINGS FONT & STYLE-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<link rel="stylesheet" href="css/light-box.css">
<link rel="stylesheet" href="css/style.css">
<!-- fontAwesome Kit -->
<script src="https://kit.fontawesome.com/f198f69782.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Kanit:100,200,300,400,500,600,700,800,900" rel="stylesheet">
<!--fontAwesome Loadtime-->
<script type="text/javascript"> (function() { var css = document.createElement('link'); css.href = 'https://use.fontawesome.com/releases/v5.1.0/css/all.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })(); </script>
<!--END ALL THINGS FONT & STYLE-->
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!--BEGIN Leaflet CSS & Script-->
<link rel="stylesheet" href="leaflet/leaflet.css" />
<script src="leaflet/leaflet.js"></script>
<!--END Leaflet CSS & Script-->
<script src='https://api.mapbox.com/mapbox-gl-js/v1.4.1/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v1.4.1/mapbox-gl.css' rel='stylesheet' />
</head>
<body>
<nav>
<div class="logo">
<a href="index.html">Isaac <em>V</em></a>
</div>
<div class="menu-icon">
<span></span>
</div>
</nav>
<section class="overlay-menu">
<div class="container">
<div class="row">
<div class="main-menu">
<ul>
<li>
<a href="index.html">Main</a>
</li>
<li>
<a href="grid.html">Work</a>
</li>
<li>
<a href="about.html">About Me</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<div class="page-heading">
<div class="container">
<div class="heading-content">
<h1>T GIS <em>503</em></h1>
</div>
</div>
</div>
<div class="blog-entries">
<div class="container">
<div class="col-md-9">
<div class="blog-posts">
<div class="row">
<div class="col-md-12">
<div class="single-blog-post">
<div class="text-content">
<h2>Lab 4</h2>
<span><a href="#">26 November 2019</a></span>
<p>
<h2>Dynamically Updating GeoJSON feeds:</h2>
<h3>Earthquakes Magnitude > 2.5 from Past Week:</h3>
<div id="labFourEarthquake"><nav id="layerToggleMenu"></nav></div>
<script src="js/labFourEarthquake.js"></script>
<br>
<br>
<p>The above window is a Mapbox GL map displaying a style created in the studio.
The icons are portraying a live data feed layer pulled from the USGS website.
The toggle menu offers the ability to turn contour lines (only displayed within a certain zoom level) and earthquake icons on and off.
</p>
<br>
<!-- <br>
https://hub.arcgis.com/datasets/GIS-For-Schools::volcanoes-and-plate-tectonics?geometry=-76.105%2C-45.819%2C-24.777%2C57.899
https://docs.mapbox.com/mapbox-gl-js/examples/
https://docs.mapbox.com/mapbox-gl-js/example/cluster-html/
<br>
Earthquake Time slider:
https://docs.mapbox.com/mapbox-gl-js/example/timeline-animation/
<br>
Example:
https://labs.mapbox.com/bites/00267/
<br>
Slab Data:
https://www.sciencebase.gov/catalog/item/5aa1b00ee4b0b1c392e86467
-->
<h3>Fallen Meteorites (1790-Present):</h3>
<button id='fit'>Click to view Washington State</button>
<div id="labFourMeteorites"></div>
<script src="js/labFourMeteorites.js"></script>
<br>
<br>
<p>The above window is a Mapbox GL map displaying a live NASA database of all recorded Meteorites that have landed on Earth. Zoom in and the extent will determine the clustered it will display. Click on the icon and it will present the Name, Year of Fall, and the Size in Grams.</p>
<br>
<!-- Bonus Requirements
Complete these only after satisfying the MVP requirements. -->
<br>
<!-- Have a button to reset the extent of the map to the original center/zoom
<br>
Add functionality to toggle map layers off and on
<br> -->
Add functionality to toggle the basemap style
<p>------------------------</p>
<h3><a href="https://vanmeciv.github.io/host/img/Lab_4.pdf">LAB 4 Instructions</a></h3>
<br>
<br>
</p>
<div class="tags-share">
<div class="row">
<div class="col-md-6">
<ul class="tags">
<li>Tags:</li>
<li><a href="#">maps</a>,</li>
<li><a href="#">GIS</a>,</li>
<li><a href="#">Mapbox GL</a></li>
</ul>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--BEGINS "CONTACT" pop-up button - BOTTOM RIGHT-->
<div class="popup-icon">
<button id="modBtn" class="modal-btn"><img src="img/contact-icon.png" alt=""></button>
</div>
<!-- Modal -->
<div id="modal" class="modal">
<!-- Modal Content -->
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h3 class="header-title">Contact <em>Isaac</em></h3>
<div class="close-btn"><img src="img/close_contact.png" alt=""></div>
</div>
<!-- Modal Body -->
<div class="modal-body">
<div class="col-md-6 col-md-offset-3">
<form id="contact" action="" method="post">
<div class="row">
<div class="col-md-12">
<fieldset>
<input name="name" type="text" class="form-control" id="name" placeholder="Your name..." required="">
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<input name="email" type="email" class="form-control" id="email" placeholder="Your email..." required="">
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<textarea name="message" rows="6" class="form-control" id="message" placeholder="Your message..." required=""></textarea>
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<button type="submit" id="form-submit" class="btn">Send Message Now</button>
</fieldset>
</div>
<div id="social">
</br>
</br>
<p> Form Under Construction </p>
<a href="https://www.linkedin.com/in/isaac-vanmechelen/" class="fab fa-linkedin-in fa-2x" target="_blank"></a>
<a href="https://www.facebook.com/IsaacV.Photography/" class="fab fa-facebook-f fa-2x" target="_blank"></a>
<a href="https://www.behance.net/vanmeciv" class="fab fa-behance fa-2x" target="_blank"></a>
<a href="https://github.com/vanmeciv" class="fab fa-github fa-2x" target="_blank"></a>
<a href="https://msgtcohort.slack.com" class="fab fa-slack-hash fa-2x" target="_blank"></a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--ENDS "CONTACT" pop-up button - BOTTOM RIGHT-->
<!--BEGINS FOOTER-->
<footer>
<div class="container-fluid">
<div class="col-md-12">
<p>| © 2019 | Designed by
<a href="https://templatemo.com/tm-520-highway" target="_blank">TemplateMo</a>
|</br>| Cloned by Isaac Van Mechelen
<a href="img/Isaac_Van_Mechelen's_Resume.pdf" class="far fa-file-pdf fa-2x" target="_blank" style="margin: .25em; text-decoration: none; color: #fff;">
</a>|
</p>
</div>
</div>
</footer>
<!--ENDS FOOTER-->
</body>
</html>