-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (31 loc) · 1.44 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Anemometer</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script src="calculation.js"></script>
</head>
<body onload="getLocation()">
<div data-role="page">
<!-- div data-role="header">...</div -->
<div role="main" class="ui-content">
<h1>Anemometer</h1>
<p>Fly a circle with constant airspeed</p>
<canvas id="mapCanvas" width="320" height="360" style="border:1px solid #000000;">Canvas not supported</canvas>
<button onclick="getLocation()">Clear and Start again</button>
<p id="textElement">Starting...</p>
<button onclick="testInit()">Init test data</button>
<button onclick="testStart('2019-07-31T16:00:45Z')">Start test 1 (19:00:45)</button>
<button onclick="testStart('2019-07-31T16:01:10Z')">Start test 2 (19:01:10)</button>
<button onclick="testStart('2019-07-31T16:03:25Z')">Start test 3 (19:03:25)</button>
<button onclick="testStart('2019-07-31T16:08:45Z')">Start test 4 (19:08:45)</button>
<button onclick="testStart('2019-07-31T16:13:55Z')">Start test 5 (19:13:55)</button>
</div>
<!-- div data-role="footer">...</div -->
<span id="log">Log</span>
</div>
</body>
</html>