mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Pick a fake loc value where equality tests actually work
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user