forked from csessig86/tabletop_to_leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·104 lines (91 loc) · 4.56 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
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
<!doctype html>
<html>
<head>
<title>Tabletop to Leaflet</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<!-- Mobile meta tags-->
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="MobileOptimized" content="320"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="cleartype" content="on">
<!-- Facebook meta tags-->
<meta property="og:title" content="Tabletop to Leaflet"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content=""/>
<meta property="og:image" content="/imgs/ss.jpg"/>
<meta property="og:site_name" content=""/>
<meta property="og:description" content="This template pulls data from a Google spreadsheet and pushes it to a Leaflet map. The data we are using in this example is a list of breweries in Iowa." />
<!-- Twitter meta tags -->
<meta property="twitter:site" content="">
<meta property="twitter:card" content="Tabletop to Leaflet">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="Tabletop to Leaflet">
<meta property="twitter:description" content="his template pulls data from a Google spreadsheet and pushes it to a Leaflet map. The data we are using in this example is a list of breweries in Iowa.">
<meta property="twitter:image" content="">
<!-- CSS -->
<link rel="stylesheet" href="css/lib/leaflet-0.75.css" />
<link rel="stylesheet" href="css/lib/MarkerCluster-0.4.0.css" />
<link rel="stylesheet" href="css/lib/MarkerCluster.Default-0.4.0.css" />
<link rel="stylesheet" href="css/lib/bootstrap.min-3.3.5.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<!-- Javascript -->
<script src="js/lib/jquery-2.1.4.min.js"></script>
<script src="js/lib/leaflet-0.75.js"></script>
<script src="js/lib/leaflet.markercluster-src-0.4.0.js"></script>
<script src="js/lib/tile.stamen-1.3.0.js"></script>
<script src="js/lib/tabletop-1.4.2.js"></script>
<noscript>
<div id="noscript_note">
You must have JavaScript enabled to view this page.
</div>
</noscript>
<div id="sidebar">
<div class="sidebar_header">
<h3>Tabletop to Leaflet</h3>
</div>
<div id="share">
<ul>
<li class="float_left">
<a data-text="" href="http://twitter.com/share" class="twitter-share-button"
data-count="horizontal">Tweet</a>
<script src="http://platform.twitter.com/widgets.js"></script>
</li>
<li>
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#appId=161694630579757&xfbml=1"></script><fb:like href="" send="false" layout="button_count" width="90" show_faces="false" font="">
</fb:like>
</li>
</ul>
</div>
<div class="sidebar_content">
<p>This template pulls data from a <a href="https://docs.google.com/spreadsheet/pub?key=0As3JvOeYDO50dF9NWWRiaTdqNmdKQ1lCY3dpdDhZU3c&output=html" target="_blank">Google spreadsheet</a> and pushes it to a Leaflet map. The data we are using in this example is a list of breweries in Iowa.</p>
<p>The map template is responsive, meaning it works on screens both big and small.</p>
<p>It uses <a href="http://leafletjs.com/" target="_blank">Leaflet</a>, <a href="http://builtbybalance.com/Tabletop/" target="_blank">Tabletop</a> and <a href="http://twitter.github.io/bootstrap/" target="_blank">Bootstrap</a>.</p>
<p>If you have any questions, feel free to contact <a href="https://twitter.com/courieressig" target="_blank">Chris Essig</a>.</p>
<p>H/T to <a href="https://twitter.com/ChrisLKeller" target="_blank">Chris Keller</a> for his work on his Tabletop to DataTables <a href="https://github.com/chrislkeller/datafeed_to_datatables" target="_blank">template</a>.</p>
</div>
</div>
<div class="toggle_description btn" type="button">
About this map
</div>
<div class="description_box">
<div class="x_button toggle_description btn btn-primary" type="button">
<strong>X</strong>
</div>
<div class="description_box_header"></div>
<div class="description_box_content">
<div class="description_box_text"></div>
<div id="caption_box"></div>
</div>
</div>
<div class="description_box_cover"></div>
<div id="map"></div>
<script src="js/base.js"></script>
<script src="js/base-map.js"></script>
<script src="js/script.js"></script>
</body>
</html>