Use addCallbackAndRunD

This commit is contained in:
pietervdvn 2021-06-30 18:47:48 +02:00
parent ba04beab2c
commit ec7833b2ee

View file

@ -51,7 +51,7 @@ export default class MetaTagging {
layerFuncs.set(layer.id, this.createRetaggingFunc(layer));
}
allKnownFeatures.addCallbackAndRun(newFeatures => {
allKnownFeatures.addCallbackAndRunD(newFeatures => {
const featuresPerLayer = new Map<string, any[]>();
const allFeatures = Array.from(new Set(features.concat(newFeatures)))