diff --git a/Logic/FeatureSource/MetaTaggingFeatureSource.ts b/Logic/FeatureSource/MetaTaggingFeatureSource.ts index d6602069ae..726f4d6062 100644 --- a/Logic/FeatureSource/MetaTaggingFeatureSource.ts +++ b/Logic/FeatureSource/MetaTaggingFeatureSource.ts @@ -3,14 +3,18 @@ import {UIEventSource} from "../UIEventSource"; import State from "../../State"; import Hash from "../Web/Hash"; import MetaTagging from "../MetaTagging"; -import ExtractRelations from "../Osm/ExtractRelations"; -import FeatureSourceMerger from "./FeatureSourceMerger"; export default class MetaTaggingFeatureSource implements FeatureSource { public readonly features: UIEventSource<{ feature: any; freshness: Date }[]> = new UIEventSource<{ feature: any; freshness: Date }[]>(undefined); public readonly name; + /*** + * Constructs a new metatagger which'll calculate various tags + * @param allFeaturesSource: A source where all the currently known features can be found - used to calculate overlaps etc + * @param source: the source of features that should get their metatag and which should be exported again + * @param updateTrigger + */ constructor(allFeaturesSource: FeatureSource, source: FeatureSource, updateTrigger?: UIEventSource) { const self = this; this.name = "MetaTagging of " + source.name