forked from MapComplete/MapComplete
		
	Fix optimalization, some cleanup
This commit is contained in:
		
							parent
							
								
									8c9e2a36b3
								
							
						
					
					
						commit
						d40d77d86f
					
				
					 13 changed files with 8 additions and 20 deletions
				
			
		|  | @ -140,12 +140,12 @@ export default class FeaturePipelineState extends MapState { | |||
| 
 | ||||
|     } | ||||
|      | ||||
|     public CreatePopup(tags:any , layer: LayerConfig): ScrollableFullScreen{ | ||||
|         if(this.popups.has(tags.id)){ | ||||
|        //     return this.popups.get(tags.id)
 | ||||
|     public CreatePopup(tags:UIEventSource<any> , layer: LayerConfig): ScrollableFullScreen{ | ||||
|         if(this.popups.has(tags.data.id)){ | ||||
|            return this.popups.get(tags.data.id) | ||||
|         } | ||||
|         const popup = new FeatureInfoBox(tags, layer, this) | ||||
|         this.popups.set(tags.id, popup) | ||||
|         this.popups.set(tags.data.id, popup) | ||||
|         return popup | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue