forked from MapComplete/MapComplete
		
	Huge refactoring of state and initial UI setup
This commit is contained in:
		
							parent
							
								
									4e43673de5
								
							
						
					
					
						commit
						eff6b5bfad
					
				
					 37 changed files with 5232 additions and 4907 deletions
				
			
		|  | @ -176,7 +176,8 @@ export default class LocationInput extends InputElement<Loc> implements MinimapO | |||
|                         enablePopups: false, | ||||
|                         zoomToFeatures: false, | ||||
|                         leafletMap: this.map.leafletMap, | ||||
|                         layers: State.state.filteredLayers | ||||
|                         layers: State.state.filteredLayers, | ||||
|                     allElements: State.state.allElements | ||||
|                     } | ||||
|                 ) | ||||
|                 // Show the central point
 | ||||
|  | @ -191,7 +192,9 @@ export default class LocationInput extends InputElement<Loc> implements MinimapO | |||
|                         enablePopups: false, | ||||
|                         zoomToFeatures: false, | ||||
|                         leafletMap: this.map.leafletMap, | ||||
|                         layerToShow: this._matching_layer | ||||
|                         layerToShow: this._matching_layer, | ||||
|                         allElements: State.state.allElements, | ||||
|                         selectedElement: State.state.selectedElement | ||||
|                     }) | ||||
|                      | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue