[developers map] add to popup whether developer is committer

This commit is contained in:
Salvatore Larosa 2014-12-24 17:47:15 +01:00
parent 59279d6cd6
commit 2aa2292156

View File

@ -20,7 +20,8 @@
$.getJSON($('link[rel="points"]').attr("href"), function(data) {
var geojson = L.geoJson(data, {
onEachFeature: function (feature, layer) {
layer.bindPopup(feature.properties.Name);
layer.bindPopup("<b>Name:</b> " + feature.properties.Name +
"<br><b>Committer:</b> " + feature.properties.Committer);
}
});
var map = L.map('developers-map').fitBounds(geojson.getBounds());