forked from MapComplete/MapComplete
Formatting and small cleanups
This commit is contained in:
parent
15a6794e59
commit
4342b38e9d
8 changed files with 40 additions and 37 deletions
|
@ -103,7 +103,6 @@ Some advanced functions are available on <b>feat</b> as well:
|
|||
throw "Undefined distance!"
|
||||
}
|
||||
if(closestFeature === undefined || distance < closestDistance){
|
||||
console.log("Distance between ", feature.properties.id, "and", otherFeature.properties.id, "is", distance)
|
||||
closestFeature = otherFeature
|
||||
closestDistance = distance;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue