Skip to content
Permalink
Browse files

Developers map: more descriptive status for each dev

  • Loading branch information
gacarrillor committed Nov 3, 2017
1 parent 9c5ace0 commit 09f9bb76cc81f31cf69a739afe0dfd340c572fe2
Showing with 3 additions and 2 deletions.
  1. +3 −2 doc/developersmap.html
@@ -17,14 +17,15 @@
<script>
var developersMapTiles = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
maxZooom: 18,
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
});

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

0 comments on commit 09f9bb7

Please sign in to comment.
You can’t perform that action at this time.