forked from MapComplete/MapComplete
Fix: fix #1779, add check to prevent similar errors
This commit is contained in:
parent
94bc6ee31d
commit
417dc1633e
5 changed files with 33 additions and 11 deletions
|
@ -275,12 +275,7 @@ class ClosestNObjectFunc implements ExtraFunction {
|
|||
allFeatures.push([spec])
|
||||
}
|
||||
}
|
||||
console.log(
|
||||
"Determining features which are close to",
|
||||
features,
|
||||
"other features:",
|
||||
allFeatures
|
||||
)
|
||||
|
||||
if (features === undefined) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue