<commit_before><!DOCTYPE html>
<html>
<head>
    <script src='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.js'></script>
    <link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.css' rel='stylesheet' />
    <!--[if lte IE 8]>
    <link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.ie.css' rel='stylesheet' >
    <![endif]-->
    <style>
        body { margin:0; padding:0; }
        #map { position:absolute; top:0; bottom:0; width:100%; }
    </style>
</head>
<body>
<div id='map'></div>
<!--
<script type="text/javascript" src="geojson/london_quadrat_1000m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_1000m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_quadrat_500m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_500m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_quadrat_250m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_250m_4326.geojson"></script>
-->
<script type='text/javascript'>
    // Based on the Leaflet example from http://leafletjs.com/examples/choropleth.html

    var map = L.mapbox.map('map', 'mappingmashups.mapgardening').setView([51.5, -0.1071], 10);
    
    var blankspotsLayer = L.mapbox.tileLayer('mappingmashups.mapgardening_london_blankspots');
    
    map.addLayer(blankspotsLayer);

	var gridStyle = {
            weight: 1,
            opacity: 0.5,
            color: 'yellow',
            fillOpacity: 0,
            clickable: false
	}
	
	var markerOptions = {
		radius: 3,
		fillColor: 'yellow',
		color: 'black',
		weight: 0.5,
		opacity: 0.8,
		fillOpacity: 0.8
	};
	
	function pointToLayer(feature, latlng) {
		return L.circleMarker(latlng, markerOptions);
	}
	
    // london_quadrat_1000m comes from the geojson script included above
    //var quadratLayer1000m 	= L.geoJson(london_quadrat_1000m,	{ style: gridStyle });
    //var quadratLayer500m 	= L.geoJson(london_quadrat_500m,	{ style: gridStyle });
    //var quadratLayer250m 	= L.geoJson(london_quadrat_250m,	{ style: gridStyle });

    // london_blankspots_1000m comes from the geojson script included above
    //var blankspotsLayer1000m 	= L.geoJson(london_blankspots_1000m,	{ pointToLayer: pointToLayer });
    //var blankspotsLayer500m 	= L.geoJson(london_blankspots_500m,		{ pointToLayer: pointToLayer });
    //var blankspotsLayer250m 	= L.geoJson(london_blankspots_250m,		{ pointToLayer: pointToLayer });
    
    var overlayMaps = {
    	"1000m blankspots": blankspotsLayer
    	//"1000m grid": quadratLayer1000m,
    	//"1000m blankspots": blankspotsLayer1000m,
    	//"500m grid": quadratLayer500m,
    	//"500m blankspots": blankspotsLayer500m,
    	//"250m grid": quadratLayer250m,
    	//"250m blankspots": blankspotsLayer250m
    } 
    L.control.layers(null, overlayMaps).addTo(map);

</script>
</body>
</html><commit_msg>Just merging all the layers together.<commit_after><!DOCTYPE html>
<html>
<head>
    <script src='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.js'></script>
    <link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.css' rel='stylesheet' />
    <!--[if lte IE 8]>
    <link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.ie.css' rel='stylesheet' >
    <![endif]-->
    <style>
        body { margin:0; padding:0; }
        #map { position:absolute; top:0; bottom:0; width:100%; }
    </style>
</head>
<body>
<div id='map'></div>
<!--
<script type="text/javascript" src="geojson/london_quadrat_1000m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_1000m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_quadrat_500m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_500m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_quadrat_250m_4326.geojson"></script>
<script type="text/javascript" src="geojson/london_blankspots_250m_4326.geojson"></script>
-->
<script type='text/javascript'>
    // Based on the Leaflet example from http://leafletjs.com/examples/choropleth.html

    var map = L.mapbox.map('map', 'mappingmashups.mapgardening,mappingmashups.mapgardening_london_quadrat_1000m,mappingmashups.mapgardening_london_blankspots').setView([51.5, -0.11], 11);
//    var map = L.mapbox.map('map', 'mappingmashups.mapgardening').setView([51.5, -0.1071], 10);
    
    //var blankspotsTileLayer = L.mapbox.tileLayer('mappingmashups.mapgardening_london_blankspots');
    //var blankspotsGridLayer = L.mapbox.gridLayer('mappingmashups.mapgardening_london_blankspots');
    
    //map.addLayer(blankspotsTileLayer);
    //map.addLayer(blankspotsGridLayer);

	var gridStyle = {
            weight: 1,
            opacity: 0.5,
            color: 'yellow',
            fillOpacity: 0,
            clickable: false
	}
	
	var markerOptions = {
		radius: 3,
		fillColor: 'yellow',
		color: 'black',
		weight: 0.5,
		opacity: 0.8,
		fillOpacity: 0.8
	};
	
	function pointToLayer(feature, latlng) {
		return L.circleMarker(latlng, markerOptions);
	}
	
    // london_quadrat_1000m comes from the geojson script included above
    //var quadratLayer1000m 	= L.geoJson(london_quadrat_1000m,	{ style: gridStyle });
    //var quadratLayer500m 	= L.geoJson(london_quadrat_500m,	{ style: gridStyle });
    //var quadratLayer250m 	= L.geoJson(london_quadrat_250m,	{ style: gridStyle });

    // london_blankspots_1000m comes from the geojson script included above
    //var blankspotsLayer1000m 	= L.geoJson(london_blankspots_1000m,	{ pointToLayer: pointToLayer });
    //var blankspotsLayer500m 	= L.geoJson(london_blankspots_500m,		{ pointToLayer: pointToLayer });
    //var blankspotsLayer250m 	= L.geoJson(london_blankspots_250m,		{ pointToLayer: pointToLayer });
   
    //var overlayMaps = {
    	//"1000m blankspots": blankspotsTileLayer
    	//"1000m grid": quadratLayer1000m,
    	//"1000m blankspots": blankspotsLayer1000m,
    	//"500m grid": quadratLayer500m,
    	//"500m blankspots": blankspotsLayer500m,
    	//"250m grid": quadratLayer250m,
    	//"250m blankspots": blankspotsLayer250m
    //} 
    //L.control.layers(null, overlayMaps).addTo(map);

</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.15031115366203926, 'fraction_numerical': 0.057443752991862135, 'mean_word_length': 3.916078431372549, 'pattern_counts': {'":': 14, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3658807', 'n_tokens_mistral': 2575, 'n_tokens_neox': 2336, 'n_words': 362}