forked from MapComplete/MapComplete
		
	Add license info, fix non-updating values after reopening popups
This commit is contained in:
		
							parent
							
								
									576fd8ff40
								
							
						
					
					
						commit
						7b47af8978
					
				
					 11 changed files with 71 additions and 42 deletions
				
			
		|  | @ -15,8 +15,11 @@ export default class MetaTaggingFeatureSource implements FeatureSource { | |||
|                 } | ||||
|                 featuresFreshness.forEach(featureFresh => { | ||||
|                     const feature = featureFresh.feature; | ||||
|                     State.state.allElements.addOrGetElement(feature); | ||||
| 
 | ||||
|                      | ||||
|                     if(!State.state.allElements.has(feature.properties.id)){ | ||||
|                         State.state.allElements.addOrGetElement(feature) | ||||
|                     } | ||||
|                      | ||||
|                     if (Hash.hash.data === feature.properties.id) { | ||||
|                         State.state.selectedElement.setData(feature); | ||||
|                     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue