-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
107 lines (93 loc) · 4.49 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
105
106
107
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" />
<![endif]-->
<script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54473923-7', 'auto');
ga('send', 'pageview');
</script>
<!-- ## look at getting just TopoJSON later -->
<!--<script src='http://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>-->
<!-- ## todo get just the inside function -->
<script src='http://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.0/turf.min.js'></script>
<!-- another one. omnivore doesn't directly expose topojson object? -->
<script src="http://d3js.org/topojson.v1.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" />
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css" />
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="static/binsmap.css" />
<script src="//use.edgefonts.net/revalia;jolly-lodger;sue-ellen-francisco.js"></script>
<title>OpenBinMap.org</title>
</head>
<body>
<div id="banner" class="container-fluid">
<div id="locationstatus" class="row">
<div class="col-sm-3">
<h1>Open Bin Map</h1>
<p id="statustext">Move the marker to where you live.</p>
</div>
<div class="info rubbish col-sm-3">
<div class="icon rubbish" />
</div>
<p></p>
</div>
<div class="info recycling col-sm-3">
<div class="icon recycling" />
</div>
<p></p>
</div>
<div class="info green col-sm-3">
<div class="icon green" />
</div>
<p></p>
</div>
<div class="nocoverage col-sm-9" style="display:none;">
<h2>Time to email your council?</h2>
<blockquote>Hello.
Could we please have our waste collection zones on openbinmap.org? It's easy.
<ol>
<li>Export the waste collection boundaries from your GIS as GeoJSON, following the format at <a href="http://opencouncildata.org/">opencouncildata.org</a>.</li>
<li>Upload the GeoJSON file to <a href="http://data.gov.au">data.gov.au</a>.</li>
<li>Email okfn.melbourne@gmail.com when it's done.</li>
</ol>
</blockquote>
</ol>
</div>
</div>
</div>
<div class="container-fluid boilerplate">
<div class="row">
<div class="col-sm-12">
<p>
<a class="ocdlogo" title="Powered by OpenCouncilData.org" href="http://opencouncildata.org" target="_blank"></a>
Made by <a href="http://stevebennett.me">Steve Bennett</a> (<a href="mailto:stevage@gmail.com">email</a>, <a href="http://twitter.com/stevage1">Twitter</a>) for <a href="http://au.okfn.org/">Open Knowledge Australia</a>.
<a href="https://github.com/okfnau/binsmap">Source code</a>.
Data from <a href="http://data.gov.au">data.gov.au</a> (<a href="https://creativecommons.org/licenses/by/3.0/au/deed.en">CC-BY</a>). <a href="export/allbins.geojson">Raw data</a>.</small>
</p>
</div>
</div>
</div>
<div id="map"></div>
<script src="binsmap.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54473923-7', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>