-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (88 loc) · 3.51 KB
/
index.html
File metadata and controls
103 lines (88 loc) · 3.51 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Rover Map</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div onclick="circleSelect(this)" id="newCircle"></div>
<div id="map" style="width: 90%; height: 400px; margin: auto"></div>
<script type="module" src="/main.js"></script>
<div id="container">
<div id="tools" class="section">
<h2 class="section-title">Tools</h2>
<p id="tool-reminder">Click a tool's button to enable it.</p>
<div id="globalTools">
<h3>Global Tools:</h3>
<input type ="checkbox" id="hideElementsCheckbox"> <label for="toggleHideElements">Hide All Map Elements</label>
<br>
<br>
</div>
<div id="circleTools">
<h3>Circle Tools:</h3>
<button onClick="toggleCircles()" id="toggleCircleButton"
class="deactivated-tool-button">INACTIVE</button>
<br>
<button onClick="clearCircles()" id="clearCircleButton">CLEAR CIRCLES</button>
<br>
<button onClick="circleOnPoint()" id="circleOnPointButton">Click to add circle centered around a
point</button>
</div>
<br>
<div id="pathTools">
<h3>Path Tools:</h3>
<button onclick="toggleMarkers()" id="toggleMarkerButton"
class="deactivated-tool-button">INACTIVE</button>
<br>
<button onclick="clearPaths()" id="clearMarkerButton">CLEAR PATH</button>
</div>
<br>
<div id="otherTools">
<h3>Other Tools:</h3>
<button onclick="addWayPoint()">Add point for human reference</button>
<br>
<button onclick="removeWayPoint()">Remove point for human convenience</button>
<br>
<button onclick="openUnitConverter()">Open unit converter</button>
</div>
</div>
<div id="info" class="section">
<h2 class="section-title">Info</h2>
<div id="pathOutput">
<h3>Path Output</h3>
<p>Empty...</p>
</div>
<div id="circleList">
<h3>Circle List</h3>
<p>Empty...</p>
</div>
</div>
</div>
<div id="unitConverter">
<h2>Unit Converter</h2>
<p>Degrees, Minutes, Seconds</p>
<input placeholder="Degrees" class="convertInput" id="DMSDeg" /> <input placeholder="Minutes"
class="convertInput" id="DMSMin" /> <input placeholder="Seconds" class="convertInput" id="DMSSec">
<br>
<br>
<p>Degrees, Decimal Minutes</p>
<input placeholder="Degrees" class="convertInput" id="DDMDeg" /> <input placeholder="Decimal Minutes"
class="convertInput" id="DDMMin" />
<br>
<br>
<p>Decimal</p>
<input placeholder="Decimal" class="convertInput" id="Decimal" /> <button onclick="copyCoords()">Copy
this</button>
<br>
<br>
<button onclick="closeUnitConverter()" id="closeUnitConverterButton">Close Unit Converter</button>
<div id="saved">
<p>Decimal values previously copied:</p>
</div>
</div>
</body>
</html>