Pick a fake loc value where equality tests actually work

This commit is contained in:
Bryan Housel
2019-04-03 17:25:10 -04:00
parent 167824a530
commit 765d765477
+1 -1
View File
@@ -17,7 +17,7 @@ osmNode.prototype = Object.create(osmEntity.prototype);
Object.assign(osmNode.prototype, {
type: 'node',
loc: [NaN, NaN],
loc: [9999, 9999],
extent: function() {
return new geoExtent(this.loc);