forked from kreloff-01/DICE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (86 loc) · 3.41 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
94
95
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Waypoints in directions</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="./scripts/script.js"></script>
<script type="text/javascript" src="./scripts/pot.js"></script>
<script type="text/javascript" src="./scripts/hill.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./styles/style.css">
<style>
#floating-panel {
position: absolute;
top: 10px;
left: 25%;
z-index: 5;
background-color: #fff;
padding: 5px;
border: 1px solid #999;
text-align: center;
font-family: 'Roboto','sans-serif';
line-height: 30px;
padding-left: 10px;
}
</style>
</head>
<body>
<div id="floating-panel">
<b>Mode of Travel: </b>
<select id="mode">
<option value="DRIVING">Driving</option>
<option value="WALKING">Walking</option>
<option value="BICYCLING">Bicycling</option>
</select>
</div>
<div id="map"></div>
<div id="right-panel">
<div>
<b>Start:</b>
<select multiple id="start">
<option value = "NBC Tower, 455 N Cityfront Plaza Dr, Chicago, IL 60611">NBC Tower</option>
<option value = "DoubleTree by Hilton Hotel Chicago - Magnificent Mile, 300 E Ohio St, Chicago, IL 60611">Hilton Hotel</option>
<option value="The Drake Hotel, 140 E Walton Pl, Chicago, IL 60611">Drake Hotel</option>
</select>
<br>
<b>Waypoints: to be added from data</b> <br>
<i>(Ctrl+Click or Cmd+Click for multiple selection)</i> <br>
<select multiple id="waypoints">
<option value="chicago, il">Chicago</option>
<option value="Madison, wi">Madison</option>
<option value="field museum">Art museum</option>
<option value = "Hyde Park, Chicago, IL">Hyde Park</option>
<option value= "The university of Chicago">UChicago</option>
<option value="Willis Tower, 233 S Wacker Dr, Chicago, IL 60606">Willis Tower</option>
<option value = "DoubleTree by Hilton Hotel Chicago - Magnificent Mile, 300 E Ohio St, Chicago, IL 60611">Hilton Hotel</option>
</select>
<br>
<b>End:</b>
<select multiple id="end">
<option value="Willis Tower, 233 S Wacker Dr, Chicago, IL 60606">Willis Tower</option>
<option value= "Hilton Chicago, 720 S Michigan Ave, Chicago, IL 60605">South Hilton</option>
<option value="Sound-Bar, 226 W Ontario St, Chicago, IL 60654">Sound-Bar</option>
</select>
<div>
<br>
<b>Route Modification: </b>
<select id="choice">
<option value ="potholes"> Pothole Avoidance</option>
<option value ="right_turn"> Right hand turns only </option>
<option value ="elevation"> Elevation Training </option>
</select>
</div>
<br>
<input type="submit" id="submit">
</div>
<div id="directions-panel"></div>
</div>
<script>
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyChNrgC-fV9wHhgOYArIO4IP0zNSKLJAhQ&callback=initMap&libraries=places">
</script>
</body>
</html>