Commit 28e6c6bc7ed5907215535a3052501094991a3af5

Linked funding from the map popover
  
1313 d > 2 ? "#f03b20" :
1414 "#b10026";
1515
16 }var india_map = L.tileLayer('http://{s}.tile.cloudmade.com/157f9082094e402f89d242e9b9144483/997/256/{z}/{x}/{y}.png', {
16 }
17 var india_map = L.tileLayer('http://{s}.tile.cloudmade.com/157f9082094e402f89d242e9b9144483/997/256/{z}/{x}/{y}.png', {
1718 attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery ©<a href="http://cloudmade.com">CloudMade</a>'
1819 });
1920 //Using a empty geojson object to instantiate the geojson layer
3636 // info.policyExplain(props.rating) + '</small></p>'
3737 L.popup()
3838 .setLatLng(e.latlng)
39 .setContent("<div style='height:250px;overflow-y:scroll;'><b>"+e.target.feature.properties.name+"</b></br><span class='yellow'>"+e.target.feature.properties.rating+"</span>/<span class='red'>5</span><small>&gt;&gt; "+info.policyExplain(e.target.feature.properties.rating)+"</small></br>Pros:"+e.target.feature.properties.pros+"</br>Cons:"+e.target.feature.properties.cons+"</br><a href='#/policies/"+e.target.feature.id+"'>Read more...</a></br></div>")
39 .setContent("<div style='height:250px;overflow-y:scroll;'><b>"+e.target.feature.properties.name+"</b></br><span class='yellow'>"+e.target.feature.properties.rating+"</span>/<span class='red'>5</span><small>&gt;&gt; "+info.policyExplain(e.target.feature.properties.rating)+"</small></br>Pros:"+e.target.feature.properties.pros+"</br>Cons:"+e.target.feature.properties.cons+"</br><a href='#/funding'>Funding</a><br/><a href='#/policies/"+e.target.feature.id+"'>Read more...</a></br></div>")
4040 .openOn(map);
4141
4242 // info.update(layer.feature.properties);