-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (69 loc) · 2.99 KB
/
index.html
File metadata and controls
88 lines (69 loc) · 2.99 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Neighborhood Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<!-- Bootstrap -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<!-- -------------------------------------------------------- -->
<!-- Page Rendering Part -->
<!-- -------------------------------------------------------- -->
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<li class="sidebar-brand">
<div class="page-header">
<strong>Suggested Locations: </strong>
</div>
</li>
<li class="search-form">
<div class="search">
<input type="text" data-bind="textInput: searchInput, valueUpdate: 'afterkeydown'" class="form-control" placeholder="Search from the list">
<i class="fa fa-filter"></i>
</div>
</li>
<li data-bind="foreach: filterLocations()">
<div data-bind="text: title, click: $root.setMarker"></div>
</li>
</ul>
</div>
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="well col-md-6 bg-dark text-center text-white p-2 mb-2 page-header" id="heading">
<h3>NEIGHBORHOOD MAP</h3>
</div>
<a href="#menu-toggle" class="btn btn-dark text-warning" id="menu-toggle">Toggle Menu</a>
</div>
<div class="row">
<div class="col-md-12" id="map"></div>
</div>
<h2 class="col-md-12 bg-dark text-center text-white" id="error"></h2>
</div>
<!-- -------------------------------------------------------- -->
<!-- Script Part -->
<!-- -------------------------------------------------------- -->
<!--TODO: Load JS -->
<script src="js/library/knockout.js"></script>
<script src="js/model.js"></script>
<script src="js/mapStyle.js"></script>
<script src="js/app.js"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
<!--TODO: Load the Google Maps JS API ASYNCHRONOUSLY below.-->
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA0MEGWThTAWOrFKd4cs5TIK5gWWH6kZyU&libraries=places,drawing,geometry&v=3&callback=initMap"
onerror="mapError()">
</script>
</body>
</html>