-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.html
181 lines (165 loc) · 7.64 KB
/
home.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html>
<head>
<title>Futbol Finder</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="home.css">
<!--<script type="map" src="googleMaps.js"></script>-->
</head>
<body>
<header>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home.html">FutbolFinder</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
</ul>
</div>
</div>
</nav>
</header>
<h1>List of Parks</h1>
<nav>
<ul class="list">
<li><a href="thread.php">Back Bay Fens</a></li>
<li><a href="moakleypark.php">Moakley Park</a></li>
<li><a href="harambeepark.php">Harambee Park</a></li>
<li><a href="millenniumpark.php">Millennium Park</a></li>
<li><a href="pagelpark.php">Pagel Playground</a></li>
<li><a href="portsmouthstpark.php">Portsmouth Street Playground</a></li>
<li><a href="charlestownpark.php">Charlestown High School</a></li>
<li><a href="reservationpark.php">Reservation Road Park</a></li>
<li><a href="missionhillpark.php">Mission Hill Playground</a></li>
<li><a href="olmstedpark.php">Olmsted Park</a></li>
<li><a href="ceylonpark.php">Ceylon Park</a></li>
<li><a href="eastbostonmemorial.php">East Boston Memorial</a></li>
<li><a href="danehypark.php">Danehy Park</a></li>
<li><a href="sennottpark.php">Sennott Park</a></li>
<li><a href="cambridgecommon.php">Cambridge Common</a></li>
</ul>
</nav>
<img src ="logo.png" alt="futbolfinders" id="logo">
<h2>Map of Greater Boston</h2>
<div id="googleMap" style="height:400px;"></div>
<!--Google Maps API, Map & Markers -->
<script>
function myMap() {
var mapCenter= new google.maps.LatLng(42.350145,-71.057083);
var mapCanvas = document.getElementById("googleMap");
var mapOptions = {center: mapCenter, zoom: 12}
var map= new google.maps.Map(mapCanvas, mapOptions);
var fens= new google.maps.Marker({
title: "Back Bay Fens",
label: '1',
position: new google.maps.LatLng(42.343466,-71.094582),
url: "test.html"
});
fens.setMap(map);
var moakley= new google.maps.Marker({
title: "Joe Moakley Park",
label: '2',
position: new google.maps.LatLng(42.325112,-71.049378)
});
moakley.setMap(map);
var harambee= new google.maps.Marker({
title: "Harambee Park",
label: '3',
position: new google.maps.LatLng(42.291211,-71.088992)
});
harambee.setMap(map);
var millenium= new google.maps.Marker({
title: "Millenium Park",
label: '4',
position: new google.maps.LatLng(42.280707, -71.177286)
});
millenium.setMap(map);
var pagel= new google.maps.Marker({
title: "Pagel Playgrond",
label: '5',
position: new google.maps.LatLng(42.289079, -71.118671)
});
pagel.setMap(map);
var portsmouth= new google.maps.Marker({
title: "Portsmouth Street",
label: '6',
position: new google.maps.LatLng(42.359309, -71.145409)
});
portsmouth.setMap(map);
var charlestown= new google.maps.Marker({
title: "Charlestown High School",
label: '7',
position: new google.maps.LatLng(42.38008, -71.061059)
});
charlestown.setMap(map);
var reservation= new google.maps.Marker({
title: "Reservation Road Park",
label: '8',
position: new google.maps.LatLng(42.250506, -71.128884)
});
reservation.setMap(map);
var mission= new google.maps.Marker({
title: "Mission Hill Playground",
label: '9',
position: new google.maps.LatLng(42.333052, -71.09936)
});
mission.setMap(map);
var olmsted= new google.maps.Marker({
title: "Olmsted Park",
label: '10',
position: new google.maps.LatLng(42.325945, -71.114887)
});
olmsted.setMap(map);
var ceylon= new google.maps.Marker({
title: "Ceylon Park",
label: '11',
position: new google.maps.LatLng(42.30991, -71.073222)
});
ceylon.setMap(map);
var eastbm= new google.maps.Marker({
title: "East Boston Memorial",
label: '12',
position: new google.maps.LatLng(42.372451, -71.034754)
});
eastbm.setMap(map);
var danehy= new google.maps.Marker({
title: "Danehy Park",
label: '13',
position: new google.maps.LatLng(42.389005, -71.133103)
});
danehy.setMap(map);
var sennott= new google.maps.Marker({
title: "Sennott Park",
label: '14',
position: new google.maps.LatLng(42.369153, -71.099986)
});
sennott.setMap(map);
var camcommon= new google.maps.Marker({
title: "Cambridge Common",
label: '15',
position: new google.maps.LatLng(42.382086, -71.119367)
});
camcommon.setMap(map);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAtKLc6BMnOwu3yoCSUrr2PLBbDj-Y8_B4&callback=myMap"></script>
<!--End of Google Maps API functions -->
<!--Button to Search Page-->
<div id=search>
<a href="search.html" class="search">Filter</a>
</div>
</body>
<footer id=footer>
<p>Created by: Sean Guillen, Edgar Romero, Andres Prato, Shannon Cain. 2018.</p>
</footer>
</html>
<!-- google maps api key: AIzaSyAtKLc6BMnOwu3yoCSUrr2PLBbDj-Y8_B4 -!>