-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.html
executable file
·43 lines (42 loc) · 1.84 KB
/
map.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="Neighborhood Map Project" content="Map of San Francisco">
<title>Neighborhood Map Project</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="map-container">
<div class="textHeader">
<h1>Neighborhood Map Project</h1>
</div>
<div class="search" id="search">
<!-- setting up the view-->
<input class="search-box" id="search-box" placeholder="Search…" name="q" data-bind="textInput: searchTerm" "value: query, valueUpdate: 'afterkeydown'"/>
<!-- <input id="filter" data-bind="value: filter, valueUpdate: 'afterkeydown'">-->
</div>
<div class="content" id="content">
<div class="locationList" id="locationList">
<h3>Locations</h3>
<form action="#">
<!-- setting up the view-->
<ul class="results" id="results" data-bind="foreach: filteredLocationList">
<!-- <ul data-bind="template: {name:'place', foreach:places}">-->
<!-- <li class="location" id="location" data-bind="text: name, click: bounce"></li> -->
<li class="location" id="location" data-bind="text: title, click: bounce"></li>
</ul>
</form>
</div>
<div class="map" id="map"></div>
</div>
</div>
<script src='js/knockout-3.4.2.js'></script>
<script src='js/jquery-3.3.1.js'></script>
<script src='js/script.js'></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDA6qoUKQ3WJQd4ZxAahhFPM80WJbw-yws&callback=startApp&libraries=places" onerror="errorHandling()"></script>
</body>
</html>