forked from MapComplete/MapComplete
Use addCallbackAndRunD
This commit is contained in:
parent
ba04beab2c
commit
ec7833b2ee
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export default class MetaTagging {
|
||||||
layerFuncs.set(layer.id, this.createRetaggingFunc(layer));
|
layerFuncs.set(layer.id, this.createRetaggingFunc(layer));
|
||||||
}
|
}
|
||||||
|
|
||||||
allKnownFeatures.addCallbackAndRun(newFeatures => {
|
allKnownFeatures.addCallbackAndRunD(newFeatures => {
|
||||||
|
|
||||||
const featuresPerLayer = new Map<string, any[]>();
|
const featuresPerLayer = new Map<string, any[]>();
|
||||||
const allFeatures = Array.from(new Set(features.concat(newFeatures)))
|
const allFeatures = Array.from(new Set(features.concat(newFeatures)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue