-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (79 loc) · 2.61 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
<!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>Solar OSM</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="bootstrap/3.3.1/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="openlayers/3.0.0/css/ol.css" type="text/css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
body {
overflow-x: hidden;
}
.map {
width: 100%;
height: 400px;
}
</style>
</head>
<body>
<div class="row">
<div class="col-sm-12">
<div id="map" class="map">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<div class="well">
Top 10 postcodes (mapped) - by system number and rated capacity
</div>
</div>
<div class="col-sm-2">
<div class="well">
Download: a postcode list with number of systems / rated output OSM-mapped
</div>
</div>
<div class="col-sm-2">
<div class="well">
A shapefile of all PV systems in Australia, as mapped in OSM
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- OL3 -->
<script src="openlayers/3.0.0/build/ol-debug.js" type="text/javascript"></script>
<script>
$().ready(function() {
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
target: 'map',
view: new ol.View({
center: [0, 0],
zoom: 2
})
});
// Loading other assets
// Postcode color coding options:
// - custom SLD built in RT (based on postcode mapping %age), and passed to DEPI as an inline SLD (or as local file to this server?)
// - client side styling on simplified postcode polygons? (topojson?)
// - investigate TileMill?
});
</script>
</body>
</html>