-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (32 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Neighborhood Map</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div>
<center><h1>Shanna's Favorite Places in San Jose</h1></center>
</div>
<!-- map view -->
<div id='map'></div>
<!-- search bar -->
<div>
<h4>Find a Location: </h4>
<input id="search" placeholder = "Search" type="search" data-bind="textInput: search"></input>
</div>
<!-- list view -->
<div class='listView'>
<h4>Search Results</h4>
<ul data-bind="foreach: mapLocations">
<li class='cursor' data-bind="text: name, click: $parent.triggerInfowindow"></li>
</ul>
</div>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/knockout/dist/knockout.js"></script>
<script src="app.js"></script>
<script async defer onerror="googleError()" src="https://maps.googleapis.com/maps/api/js?libraries=places&callback=initMap"></script>
<!--<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAqXrRRhECX9sGKblPyd6qKgbZG9aL4IZo&libraries=places"></script>-->
</body>
</html>