-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (85 loc) · 2.57 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Roadtripper</title>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCG4mkxh2xpLakodz51CvPjwARoT4Lo8kM&libraries=geometry"></script>
<script type="text/javascript" src="caroverlay.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
<div id="overviewMap"></div>
<div id="followMap"></div>
<div id="followMapControls">
<label for="autofollow">Follow:</label>
<input type="checkbox" id="autofollow" onclick="window.playPathData.autofollow = !window.playPathData.autofollow " />
</div>
<div id="panorama"></div>
<div id="searchControls">
<h1>Go on a roadtrip!</h1>
<form onsubmit="goOnARoadtrip(this); return false;">
<table>
<tr>
<th>Origin:</th>
<td>
<input type="text" id="origin" />
</td>
</tr>
<tr id="addWaypointRow">
<th></th>
<td>
<input type="hidden" name="waypoint" />
<input type="button" value="+" onclick="addWaypoint()" />
</td>
</tr>
<tr>
<th>Destination:</th>
<td>
<input type="text" id="destination" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Go!" />
</td>
</tr>
</table>
</form>
</div>
<div id="dashboard">
<p id="panoramaControls">
<input type="button" id="rewindButton" value="<<" onclick="slowDown()" />
<input type="button" id="playPauseButton" value="▶" onclick="window.playPathData.paused = !window.playPathData.paused;" />
<input type="button" id="forwardButton" value=">>" onclick="speedUp()" />
</p>
<table>
<tr>
<th>Distance:</th>
<td><span id="distance"></span></td>
</tr>
<tr>
<th>Speed:</th>
<td><span id="speed"></span></td>
</tr>
<tr>
<th>Elapsed:</th>
<td><span id="elapsed"></span></td>
</tr>
<tr>
<th>ETA:</th>
<td><span id="eta"></span></td>
</tr>
<tr>
<th>Step:</th>
<td><span id="step"></span></td>
</tr>
<tr>
<th>Instruction:</th>
<td><span id="instructions"></span></td>
</tr>
</table>
</div>
</body>
</html>