-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
52 lines (38 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<title>NYCompost</title>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
</head>
<body>
<div class="container">
<h1><a href="http://github.com/mashcode/NYCompost">NYCompost</a> Scraps Map</h1>
<hr>
<iframe width='100%' height='600' frameborder='0' src='http://mashcode.cartodb.com/viz/0f663176-390a-11e4-93f5-0e10bcd91c2b/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
<div id="map"></div>
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<script>
// get the viz.json url from the CartoDB Editor
// - click on visualize
// - create new visualization
// - make visualization public
// - click on publish
// - go to API tab
window.onload = function() {
cartodb.createVis('map', 'http://mashcode.cartodb.com/api/v2/viz/0f663176-390a-11e4-93f5-0e10bcd91c2b/viz.json');
}
</script>
<h3>Compost Collection Site Data</h3>
<ul>
<li><a href="https://github.com/mashcode/NYCompost/blob/gh-pages/Food_Scrap_Drop_Off_Sites_merged.csv">Compost Collection Sites</a> (csv)</li>
<li><a href="https://github.com/mashcode/NYCompost/blob/gh-pages/Food_Scrap_Drop_Off_Sites_merged.geojson">Compost Collection Sites</a> (geojason)</li>
</ul>
<!--h2>NYCompost Sites</h2>
<ul>
<li><a href="compost_bklyn-1.html">Brooklyn</a></li>
<li><a href="compost_manha-1.html">Manhattan</a></li>
<li><a href="compost_queen-1.html">Queens</a></li>
</ul-->
</div>
</body>
</html>