initial import

This commit is contained in:
Ben Charlton 2013-02-05 21:42:45 +00:00
parent 7d4c841702
commit 2d06a3e71a
662 changed files with 3950 additions and 0 deletions

25
test-wmc-parse.html Normal file
View file

@ -0,0 +1,25 @@
<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="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<title> map </title>
</head>
<body>
<script>
var constit = 'http://mapit.mysociety.org/areas/WMC';
$.getJSON(constit, function(data) {
var all = '' ;
//document.write(JSON.stringify(data));
$.each(data, function(i,item) {
document.write(i + ', ' + item.name + '<br>');
})
});
</script>