forked from MapComplete/MapComplete
		
	Add a few comments
This commit is contained in:
		
							parent
							
								
									edab6109ca
								
							
						
					
					
						commit
						50827d38a8
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -3,14 +3,18 @@ import {UIEventSource} from "../UIEventSource"; | ||||||
| import State from "../../State"; | import State from "../../State"; | ||||||
| import Hash from "../Web/Hash"; | import Hash from "../Web/Hash"; | ||||||
| import MetaTagging from "../MetaTagging"; | import MetaTagging from "../MetaTagging"; | ||||||
| import ExtractRelations from "../Osm/ExtractRelations"; |  | ||||||
| import FeatureSourceMerger from "./FeatureSourceMerger"; |  | ||||||
| 
 | 
 | ||||||
| export default class MetaTaggingFeatureSource implements FeatureSource { | export default class MetaTaggingFeatureSource implements FeatureSource { | ||||||
|     public readonly features: UIEventSource<{ feature: any; freshness: Date }[]> = new UIEventSource<{ feature: any; freshness: Date }[]>(undefined); |     public readonly features: UIEventSource<{ feature: any; freshness: Date }[]> = new UIEventSource<{ feature: any; freshness: Date }[]>(undefined); | ||||||
| 
 | 
 | ||||||
|     public readonly name; |     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<any>) { |     constructor(allFeaturesSource: FeatureSource, source: FeatureSource, updateTrigger?: UIEventSource<any>) { | ||||||
|         const self = this; |         const self = this; | ||||||
|         this.name = "MetaTagging of " + source.name |         this.name = "MetaTagging of " + source.name | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue