This commit is contained in:
Bryan Housel
2018-02-15 08:31:31 -05:00
parent a80f5b0957
commit 4a7fa80225

View File

@@ -110,7 +110,7 @@ export function svgGpx(projection, context, dispatch) {
.attr('class', textClass)
.merge(labels)
.text(function(d) {
if(d.properties) {
if (d.properties) {
return d.properties.desc || d.properties.name;
}
return null;