-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhereissat.html
50 lines (34 loc) · 1.24 KB
/
whereissat.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ISS Tracker - Menuka Pinto</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
<link rel="stylesheet" href="whereissat.css">
<script src="whereissat.js"></script>
</head>
<body>
<h1>Current Location of ISS</h1>
<h2>Group Set 4 - New Group 2</h2>
<h3>Name: Andara Pintuge Menuka Shewon Aquinas Pinto</h3>
<br>
<h3>Latitude</h3>
<h4 id="value2"></h4>
<br>
<h3>Longitude</h3>
<h4 id="value3"></h4>
<br>
<div id="map"></div>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script>
var map = L.map('map').setView([51.505, -0.09], 13);
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);
</script>
</body>
</html>