mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
support desc attribute in gpx files (closes #2113)
This commit is contained in:
@@ -40,7 +40,7 @@ iD.GpxLayer = function(context) {
|
||||
.append('text')
|
||||
.attr('class', 'gpx')
|
||||
.text(function(d) {
|
||||
return d.properties.name;
|
||||
return d.properties.desc || d.properties.name;
|
||||
})
|
||||
.attr('x', function(d) {
|
||||
var centroid = path.centroid(d);
|
||||
|
||||
Reference in New Issue
Block a user