forked from MapComplete/MapComplete
		
	Further development of split-road feature; refactoring of change-handling
This commit is contained in:
		
							parent
							
								
									dc4cdda3b5
								
							
						
					
					
						commit
						96ecded0b9
					
				
					 37 changed files with 967 additions and 568 deletions
				
			
		
							
								
								
									
										4
									
								
								State.ts
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								State.ts
									
										
									
									
									
								
							|  | @ -19,6 +19,7 @@ import TitleHandler from "./Logic/Actors/TitleHandler"; | |||
| import PendingChangesUploader from "./Logic/Actors/PendingChangesUploader"; | ||||
| import {Relation} from "./Logic/Osm/ExtractRelations"; | ||||
| import OsmApiFeatureSource from "./Logic/FeatureSource/OsmApiFeatureSource"; | ||||
| import ChangeToElementsActor from "./Logic/Actors/ChangeToElementsActor"; | ||||
| 
 | ||||
| /** | ||||
|  * Contains the global state: a bunch of UI-event sources | ||||
|  | @ -244,6 +245,9 @@ export default class State { | |||
| 
 | ||||
|         this.allElements = new ElementStorage(); | ||||
|         this.changes = new Changes(); | ||||
|          | ||||
|         new ChangeToElementsActor(this.changes, this.allElements) | ||||
|          | ||||
|         this.osmApiFeatureSource = new OsmApiFeatureSource() | ||||
|          | ||||
|         new PendingChangesUploader(this.changes, this.selectedElement); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue