Skip to content

Commit

Permalink
[developers map] add to popup whether developer is committer
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Dec 24, 2014
1 parent 59279d6 commit 2aa2292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/developersmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 2aa2292

Please sign in to comment.