-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroute.html
82 lines (66 loc) · 2.61 KB
/
route.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dirctions</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>$(document).ready(function () {
$("#drawing button").click(function (e) {
var isActive = $(this).hasClass('activebtn');
if (!isActive) {
$('.activebtn').removeClass('activebtn');
$(this).addClass('activebtn');
} else {
}
});
});</script>
<style>
button {
border: none;
}
</style>
</head>
<body>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="fifie.html">Five Point</a></li>
<li><a href="getimagw.html">Geotag Image</a></li>
<li><a class="active" href="route.html">Direction</a></li>
<li><a href="image360.html">360</a></li>
<li><a href="pop.html">Interactive Map</a></li>
</ul>
<div class="row">
<div id="map">
</div>
<div class="right">
<input type="text" class="textInput" placeholder=" source" id="firtsInput">
<!-- <button id="swap" class="swap"> -->
<i id="swap" class='swap fas fa-exchange-alt' style='font-size:25px;color:blue'></i>
<!-- </button> -->
<input type="text" class="textInput" placeholder=" distination" id="seconedInput">
<br>
<div id="drawing">
<button id="car" class="small-button activebtn"> <i class="material-icons"
style="color:black">directions_car</i>
</button>
<button id="walk" class="small-button"> <i id="small-button" class="material-icons"
style="color:black">directions_walk</i>
</button>
<button id="cyc" class="small-button"><i class="material-icons" style="color:black">motorcycle</i>
</button>
</div>
<br>
<p id="dur"></p>
<p id="dis"></p>
</div>
</div>
<script src="script.js"></script>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBhn063Enw_pmfiO5jEQVzARv9eptxWloQ&libraries=places&callback=initMap"
async defer>
</script>
</body>