-
Notifications
You must be signed in to change notification settings - Fork 0
/
new4.html
50 lines (47 loc) · 1.8 KB
/
new4.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
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body, #map-canvas { width:900px; height:400px; margin: 10; text-align:center; padding: 0;}
</style>
<script type="text/javascript"
//src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCu76A4fr9nerQ5ntpCkreCPhI1vnkBZlY">
src="https://maps.googleapis.com/maps/api/js?">
</script>
<script src="myscripts.js"></script>
</head>
<body>
<div id="map-canvas"></div>
<strong>Start: </strong>
<select id="start" onchange="calcRoute();">
<option value="chicago, il">Chicago</option>
<option value="san francisco, ca">San Francisco</option>
<option value="los angeles, ca">Los Angeles</option>
<option value="oklahoma city, ok">Oklahoma City</option>
<option value="chapel hill, nc">Chapel Hill, NC</option>
<option value="durham, nc">Durham, NC</option>
<option value="raleigh, nc">Raleigh NC</option>
<option value="dallas, tx">Dallas</option>
<option value="houston, tx">Houston</option>
<option value="seattle, wa">Seattle </option>
<option value="new york ">New York</option>
</select>
<strong>End: </strong>
<select id="end" onchange="calcRoute();">
<option value="chicago, il">Chicago</option>
<option value="san francisco, ca">San Francisco</option>
<option value="los angeles, ca">Los Angeles</option>
<option value="oklahoma city, ok">Oklahoma City</option>
<option value="chapel hill, nc">Chapel Hill, NC</option>
<option value="durham, nc">Durham, NC</option>
<option value="raleigh, nc">Raleigh NC</option>
<option value="dallas, tx">Dallas</option>
<option value="houston, tx">Houston</option>
<option value="seattle, wa">Seattle </option>
<option value="new york ">New York</option>
</select>
<strong>Dist: </strong>
<div id="totalD"> </div>
<div id="totalT"> </div>
</body>
</html>