Skip to content

Commit

Permalink
Merge pull request #4300 from camptocamp/gmf_ignore_null_data_fix
Browse files Browse the repository at this point in the history
Fix defined in d3
  • Loading branch information
julsbreakdown committed Oct 9, 2018
2 parents dc4e064 + 4fbe29a commit a3b8320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/profile/d3Elevation.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ const exports = function(options) {
line = d3.line()
.x(d => x(distanceExtractor(d)))
.y(d => y(linesConfiguration[name].zExtractor(d)))
.defined(d => d.value !== null);
.defined(d => linesConfiguration[name].zExtractor(d) !== null);


// Update path for the line.
Expand Down

0 comments on commit a3b8320

Please sign in to comment.