Repository navigation
Expand file tree
/
Copy pathswmap.html
More file actions
43 lines (40 loc) · 1.71 KB
/
Copy pathswmap.html
File metadata and controls
43 lines (40 loc) · 1.71 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Galaxy Map</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/5/w3.css">
<link rel="stylesheet" href="./css/main.css">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<link rel="manifest" href="./images/site.webmanifest">
<!-- Leaflet -->
<link rel="stylesheet" href="./css/leaflet.css" />
<script defer src="./js/leaflet.js"></script>
<!-- Turf.js -->
<!--<script defer src="./js/turf.min.js"></script> -->
<!-- map script-->
<script defer src="./js/map.js"></script>
<link rel="stylesheet" href="./css/map.css" />
</head>
<body class="w3-gray">
<header id="top" class="w3-container w3-center">
<h1>
Star Wars Galaxy Hyperspace Calculator
</h1>
</header>
<section class="w3-container">
<h2>Calculator</h2>
<div class="w3-container w3-card" id="interface">
<label class="w3-padding">Origin</label><input id="origin"><br>
<label class="w3-padding">Destination</label><input id="destination"><br>
<button class="w3-border w3-button w3-mobile">Calculate</button>
</div>
</section>
<section class="w3-container">
<div id="map"></div>
</section>
</body>
</html>