mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
[developers map] add to popup whether developer is committer
This commit is contained in:
parent
59279d6cd6
commit
2aa2292156
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user