forked from MapComplete/MapComplete
		
	Lots of refactoring, first version of the import helper
This commit is contained in:
		
							parent
							
								
									612b8136ad
								
							
						
					
					
						commit
						3402ac0954
					
				
					 54 changed files with 1104 additions and 315 deletions
				
			
		|  | @ -1,13 +1,20 @@ | |||
| import FeatureSource from "../../Logic/FeatureSource/FeatureSource"; | ||||
| import {UIEventSource} from "../../Logic/UIEventSource"; | ||||
| import {ElementStorage} from "../../Logic/ElementStorage"; | ||||
| import {OsmConnection} from "../../Logic/Osm/OsmConnection"; | ||||
| import {Changes} from "../../Logic/Osm/Changes"; | ||||
| import LayoutConfig from "../../Models/ThemeConfig/LayoutConfig"; | ||||
| import FilteredLayer from "../../Models/FilteredLayer"; | ||||
| import BaseLayer from "../../Models/BaseLayer"; | ||||
| import LayerConfig from "../../Models/ThemeConfig/LayerConfig"; | ||||
| import ScrollableFullScreen from "../Base/ScrollableFullScreen"; | ||||
| 
 | ||||
| export interface ShowDataLayerOptions { | ||||
|     features: FeatureSource, | ||||
|     selectedElement?: UIEventSource<any>, | ||||
|     allElements?: ElementStorage, | ||||
|     leafletMap: UIEventSource<L.Map>, | ||||
|     enablePopups?: true | boolean, | ||||
|     popup?: undefined | ((tags: any, layer: LayerConfig) => ScrollableFullScreen), | ||||
|     zoomToFeatures?: false | boolean, | ||||
|     doShowLayer?: UIEventSource<boolean> | ||||
|     doShowLayer?: UIEventSource<boolean>, | ||||
|     state?: {allElements?: ElementStorage} | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue