-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (56 loc) · 3.49 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
<!DOCTYPE html>
<html>
<head>
<title>MATC - Dimapp</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="style.css" />
<meta charset="utf-8">
</head>
<body>
<!-- <div id="map-type">
<input type="button" class="btn btn-primary" name="type" id="map-traffic">
<label for="map-traffic">Traffic</label>
<input type="button" class="btn btn-primary" name="type" id="map-transit">
<label for="map-transit">Transit</label>
<input type="button" class="btn btn-primary" name="type" id="map-bike">
<label for="map-bike">Bike</label>
</div> -->
<div id="info-window">
<!-- <div>Dimensions At Center</div> -->
<div id="cords">Lat: <span id="lat"></span><br />Long: <span id="lng"></span></div>
<div id="nearest-road">Nearest Road: </div>
<div id="speed-limit">Speed Limit: </div>
<div id="road-dimension">Width: <br />Length: <br/>Approx. Lane Num: </div>
</div>
<div id="watermark">
MATC - Dimapp
</div>
<div style="display: none">
<input id="origin-input" class="controls" type="text" placeholder="Enter an origin location">
<input id="destination-input" class="controls" type="text" placeholder="Enter a destination location">
<div id="mode-selector" class="controls">
<input type="radio" class="btn btn-secondary" name="type" id="changemode-walking">
<label for="changemode-walking">Walking</label>
<input type="radio" class="btn btn-secondary" name="type" id="changemode-transit">
<label for="changemode-transit">Transit</label>
<input type="radio" class="btn btn-secondary" name="type" id="changemode-driving" checked="checked">
<label for="changemode-driving">Driving</label>
</div>
</div>
<!-- <div class="control maptype-control">
<button class="maptype-control-traffic-map" title="Show Traffic Map">Traffic</button>
<button class="maptype-control-transit-map" title="Show Transit Map">Transit</button>
<button class="maptype-control-bike-map" title="Show Bike Map">Bicycle</button>
</div> -->
<div id="map"></div>
<!-- Bootstrap scripts -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- Google Maps scripts -->
<!-- <script src="script.js"></script> -->
<!-- <script src="script-googlesample.js"></script> -->
<script src="script-center.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB7LGFloeOgHCn9B6_w0hSfiY5vpErgYhI&libraries=places&callback=initMap" async defer></script>
</body>
</html>