Skip to content

Commit 2aa2292

Browse files
committedDec 24, 2014
[developers map] add to popup whether developer is committer
1 parent 59279d6 commit 2aa2292

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎doc/developersmap.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
$.getJSON($('link[rel="points"]').attr("href"), function(data) {
2121
var geojson = L.geoJson(data, {
2222
onEachFeature: function (feature, layer) {
23-
layer.bindPopup(feature.properties.Name);
23+
layer.bindPopup("<b>Name:</b> " + feature.properties.Name +
24+
"<br><b>Committer:</b> " + feature.properties.Committer);
2425
}
2526
});
2627
var map = L.map('developers-map').fitBounds(geojson.getBounds());

0 commit comments

Comments
 (0)
Please sign in to comment.