forked from MapComplete/MapComplete
		
	Use merged-source instead of way-handled-source when calculating contained objects in the meta-tagging
This commit is contained in:
		
							parent
							
								
									fb0490ec27
								
							
						
					
					
						commit
						f723349e40
					
				
					 3 changed files with 16 additions and 14 deletions
				
			
		|  | @ -15,12 +15,12 @@ export default class MetaTaggingFeatureSource implements FeatureSource { | |||
|      * @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: UIEventSource<{ feature: any; freshness: Date }[]>, source: FeatureSource, updateTrigger?: UIEventSource<any>) { | ||||
|         const self = this; | ||||
|         this.name = "MetaTagging of " + source.name | ||||
| 
 | ||||
|         if(allFeaturesSource.features === undefined){ | ||||
|             throw ("Initialize the featuresource fully first!"+allFeaturesSource.name) | ||||
|         if(allFeaturesSource === undefined){ | ||||
|             throw ("UIEVentSource is undefined") | ||||
|         } | ||||
|          | ||||
|         function update() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue