// Generated by CoffeeScript 1.10.0 (function() { var base_layer, body, height, map, mbAttr, mbUrl, width; body = d3.select('body'); width = body.node().getBoundingClientRect().width; height = body.node().getBoundingClientRect().height; d3.select('#map').style({ width: width, height: height }); mbAttr = '© OpenStreetMap © CartoDB'; mbUrl = 'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png'; base_layer = L.tileLayer(mbUrl, { id: 'mapbox.streets', attribution: mbAttr }); map = L.map('map', { center: [30, 0], zoom: 2, layers: [base_layer] }); }).call(this);