-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
93 lines (58 loc) · 3.14 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
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-106628056-1', 'auto');
ga('send', 'pageview');
</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title> VRoadtrip </title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header>
<div class="header"></div>
</header>
<div id="content">
<div id="leftpanel">
<div id="inputdirection">
<div id="selectCar" onclick="selectTravelType('car')" class="selected" style="background-image: url(images/car.png);"></div>
<br>
<input type="text" name="from" id="from" spellcheck="false" placeholder="Enter a starting location..." title="Press enter to submit route"/>
<input type="text" name="to" id="to" spellcheck="false" placeholder="Enter a destination..." title="Press enter to submit route."/>
</div>
<div id="inputsettings">
<input type="radio" name="settings" id="fps_sel" checked/>
<label for="fps_sel"> Video FPS </label>
<input type="radio" name="settings" id="max_sel"/>
<label for="max_sel"> Video Length (s) </label>
<br>
<input type="number" name="len" id="len_control_in" oninput="validateNumberInput(this)" onblur="validateNumberInput(this)" title="Press enter to submit route" min=0 value=10 />
<br><br>
<button id="lego_button" onclick="calculateAndDisplayRoute()" class="">Let's Go!</button>
<button id="play_button" class="hidden">Play</button>
<button id="restart_button" onclick="calculateAndDisplayRoute()" class="hidden">Restart</button>
</div>
<div id="map"></div>
</div>
<div id="rightpanel">
<div id="intro_content">
<h1>Welcome to VRoadtrip!</h1>
</div>
<div id="start_panorama" class="frame panorama hidden"></div>
<div id="frame_container"></div>
<div id="final_panorama" class="frame panorama hidden"></div>
</div>
</div>
<script type="text/javascript" src="js/render.js"></script>
<script type="text/javascript" src="js/streetview.js"></script>
<script type="text/javascript" src="js/maps.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBU_RCZG_0wHYOdoFHoTugDWh-BMu4c7tI&callback=initMap"></script>
<script type="text/javascript" src="js/code.js"></script>
</body>
</html>