-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
51 lines (45 loc) · 1.36 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
<html>
<head>
<title>Travelnetics</title>
<link rel="stylesheet" type="text/css" href="./style.css" />
</head>
<body>
<div class="pac-card" id="pac-card">
<div>
<div id="title">Search for Waypoints</div>
<br />
</div>
<div id="pac-container">
<input id="pac-input" type="text" placeholder="Enter a location" />
</div>
</div>
<div id="map"></div>
<!-- Searched data -->
<ul id="waypoints-list">
</ul>
<div id="infowindow-content">
<span id="place-name" class="title"></span><br />
<span id="place-address"></span>
</div>
<div id="return-to-origin-div">
<label>Return to Origin?
<input id="return-to-origin" type="checkbox" checked>
</label>
</div>
<div id="button-div">
<button id="goto-result">Calculate Best Route!</button>
</div>
<!--
The `defer` attribute causes the callback to execute after the full HTML
document has been parsed. For non-blocking uses, avoiding race conditions,
and consistent behavior across browsers, consider loading using Promises
with https://www.npmjs.com/package/@googlemaps/js-api-loader.
-->
<script src="./config.js"></script>
<script src="./map.js"></script>
<script defer>
window.initMap = initMap;
window.onload = loadScript;
</script>
</body>
</html>