-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (36 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pusheen at Places</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" />
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
<script type="text/javascript" src="js/location.js"></script>
<script type="text/javascript" src="js/pusheens.js"></script>
</head>
<body>
<div class="container">
<div id = "box">
<h2>Pusheen at Places</h2>
<p>Looking around... <span id="status">is Pusheen here?</span></p>
<div id="map-canvas"></div>
<div id="pusheen"></div>
<hr>
<small>all pusheens from <a href="http://pusheen.com">pusheen.com</a>
<br>uses <a href="http://html5demos.com/geo">geolocation</a> & <a href="https://developers.google.com/maps/documentation/javascript/examples/place-search">google places</a> to find where pusheen is, close to you</small>
<img src="images/powered-by-google.png" style="float:right;">
</div>
</div>
<script>
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(success, error);
} else {
error('not supported');
}
</script>
</body>
</html>