File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
< script >
18
18
var developersMapTiles = L . tileLayer ( 'http://{s}.tile.osm.org/{z}/{x}/{y}.png' , {
19
19
maxZooom : 18 ,
20
- attribution : '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
20
+ attribution : '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
21
21
} ) ;
22
22
23
23
$ . getJSON ( $ ( 'link[rel="points"]' ) . attr ( "href" ) , function ( data ) {
24
24
var geojson = L . geoJson ( data , {
25
25
onEachFeature : function ( feature , layer ) {
26
26
layer . bindPopup ( "<b>Name:</b> " + feature . properties . Name +
27
- "<br><b>Committer:</b> " + feature . properties . Committer ) ;
27
+ "<br><b>Status:</b> " + ( feature . properties . Committer == "Yes" ?
28
+ "Core committer" : "Core contributor" ) ) ;
28
29
}
29
30
} ) ;
30
31
var map = L . map ( 'developers-map' ) . fitBounds ( geojson . getBounds ( ) ) ;
You can’t perform that action at this time.
0 commit comments