forked from MapComplete/MapComplete
small refactorings
This commit is contained in:
parent
e1cc24df2b
commit
6e9c8e2961
3 changed files with 45 additions and 7 deletions
|
@ -103,11 +103,10 @@ export default class MetaTagging {
|
|||
if (code === undefined) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const func = new Function("feat", "return " + code + ";");
|
||||
|
||||
try {
|
||||
|
||||
|
||||
const f = (featuresPerLayer, feature: any) => {
|
||||
try {
|
||||
let result = func(feature);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue