-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
186 lines (172 loc) · 5.68 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/trafficData.css" />
<link rel="icon" href="img/traffic-light.png">
<title>Windsor Traffic Data</title>
</head>
<body>
<header>
<div class="topbanner">
<img
src="img/localview.jpeg"
alt="Windsor Traffic Data Banner"
style="width: 100%"
/>
<div class="top-left">
Windsor Traffic Data
</div>
<!-- <div class="row">
<div class="column">
<img
src="../img/montana-safe-driving.png"
alt="montana highway"
style="width: 100%"
/>
</div>
<div class="columntwo">
<img
src="../img/calgary-traffic-bw.png"
alt="calgary-traffic-jam"
style="width: 100%"
/>
</div>
</div> -->
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="html/about.html">About</a></li>
<li><a href="html/contact.html">Contact Us</a></li>
</ul>
</div>
</header>
<div class="container">
<form action="">
<div class="row">
<div class="col-25">
<label for="fname">Start Time:</label>
</div>
<div class="col-75">
<input type="text" id="fname" name="firstname" placeholder="00:00" required="required">
</div>
</div>
<div class="row">
<div class="col-25">
<label for="lname">End Time</label>
</div>
<div class="col-75">
<input type="text" id="lname" name="lastname" placeholder="00:00" required="">
</div>
</div>
<div class="row">
<div class="col-25">
<label for="country">Vehicle Type</label>
</div>
<div class="col-75">
<select id="country" name="country" required="required">
<option value="select">Select</option>
<option value="car">Light</option>
<option value="canada">Bike</option>
<option value="usa">Bi-Cycle</option>
<option value="usa">Bus</option>
<option value="usa">WorkVan</option>
<option value="usa">ArticulatedTruck</option>
<option value="usa">SingleUnitTruck</option>
</select>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="subject">Choose Commercial/Non-Commercial:</label>
<select id="country" name="country">
<option value="australia">Select</option>
<option value="australia">Commercial</option>
<option value="canada">Non-Commercial</option>
</select>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="fname">Origin:</label>
</div>
<div class="col-75">
<input type="text" id="fname" name="firstname" placeholder="Origin" required="required">
</div>
</div>
<div class="row">
<div class="col-25">
<label for="fname">Destination:</label>
</div>
<div class="col-75">
<input type="text" id="fname" name="firstname" placeholder="Destination:" required="required">
</div>
</div>
<div class="row">
<div class="col-25">
<label for="subject">Choose Direction:</label>
<select id="country" name="country">
<option value="canada">North</option>
<option value="canada">East</option>
<option value="canada">South</option>
<option value="canada">West</option>
</select>
</div>
</div>
<div class="row">
<input type="submit" value="Predict">
</div>
</form>
</div>
<div id="map"></div>
<script type="text/javascript">
function initMap() {
var location = {lat: 42.314079, lng: -83.036858};
var map = new google.maps.Map(document.getElementById("map"), {
zoom: 14,
center: location
});
var marker = new google.maps.Marker({
position: location,
map: map
});
}
/* function initMap() {
// var location = {lat: 42.314079, lng: -83.036858};
var map = new google.maps.Map(document.getElementById("map") as HTMLElement, {
zoom: 12,
center: {lat: 42.314079, lng: -83.036858}
});
var marker = new google.maps.Marker({
position: {lat: 42.314079, lng: -83.036858},
map: map
});
// Create an array of alphabetical characters used to label the markers.
const labels = "123";
// Add some markers to the map.
// Note: The code uses the JavaScript Array.prototype.map() method to
// create an array of markers based on a given "locations" array.
// The map() method here has nothing to do with the Google Maps API.
const markers = locations.map((location, i) => {
return new google.maps.Marker({
position: location,
label: labels[i % labels.length],
});
});
// Add a marker clusterer to manage the markers.
new MarkerClusterer(map, markers, {
imagePath:
"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",
});
}
const locations = [
{ lat: 42.287635, lng: -83.058267},
{ lat: 42.285745, lng: -83.056917},
{ lat: 42.282611, lng: -83.055222},
];
*/
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDs1FgErQA6WbqTtZFd0Xtp4Qc5r1iFX6A&callback=initMap"></script>
</body>
</html>