-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstagram.html
95 lines (76 loc) · 2.46 KB
/
instagram.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
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=yes">
<html>
<head profile="http://www.w3.org/2005/10/profile">
<title>South Downtown</title>
<link rel="icon"
type="image/png"
href="http://mollietaylor.com/favicon.png">
<!-- Leaflet -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
<![endif]-->
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- Awesome Markers -->
<link rel="stylesheet" type="text/css" href="plugins/awesome-markers/leaflet.awesome-markers.css">
<script type="text/javascript" src="plugins/awesome-markers/leaflet.awesome-markers.min.js"></script>
<!-- Leaflet Point-in-Polygon -->
<script type="text/javascript" src="plugins/leaflet-pip.min.js"></script>
<!-- Spinner -->
<script type="text/javascript" src="plugins/spin.min.js"></script>
<!-- jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="data/south-downtown.js"></script>
<style type="text/css">
html, body{
padding: 0;
margin: 0 auto;
height: 100%;
width: 100%;
}
#map {
width: 100%;
height: 100%;
}
#refresh {
background-color: #fff;
background-color: rgba(255, 255, 255, 0.7);
position: absolute;
bottom: 0;
right: 0;
padding: 6px;
text-align: right;
}
input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.button {
border: solid 2px #fff;
border-radius: 5px;
moz-border-radius: 5px;
font-size: 14px;
color: #fff;
padding: 6px 14px;
background-color: #0a66c9;
}
.intro-popup .leaflet-popup-tip-container {
width: 0;
height: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<div id="refresh">
<input type="button" class="button" value="View earlier photos" onclick="getPhotosAndAddToMap(nextEndpoint);"><br>
<input type="button" class="button" value="Clear photos" onclick="instagramLayer.clearLayers();">
</div>
<script type="text/javascript" src="instagram.js"></script>
</body>
</html>