forked from MapComplete/MapComplete
		
	Formatting (pre-merge)
This commit is contained in:
		
							parent
							
								
									135219b5dc
								
							
						
					
					
						commit
						17b35e731e
					
				
					 2 changed files with 374 additions and 382 deletions
				
			
		
							
								
								
									
										18
									
								
								State.ts
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								State.ts
									
										
									
									
									
								
							|  | @ -59,17 +59,13 @@ export default class State { | ||||||
| 
 | 
 | ||||||
|     public osmApiFeatureSource: OsmApiFeatureSource; |     public osmApiFeatureSource: OsmApiFeatureSource; | ||||||
| 
 | 
 | ||||||
|   public filteredLayers: UIEventSource< |     public filteredLayers: UIEventSource<{ | ||||||
|     { |  | ||||||
|         readonly isDisplayed: UIEventSource<boolean>; |         readonly isDisplayed: UIEventSource<boolean>; | ||||||
|         readonly layerDef: LayerConfig; |         readonly layerDef: LayerConfig; | ||||||
|     }[] |     }[]> = new UIEventSource<{ | ||||||
|   > = new UIEventSource< |  | ||||||
|     { |  | ||||||
|         readonly isDisplayed: UIEventSource<boolean>; |         readonly isDisplayed: UIEventSource<boolean>; | ||||||
|         readonly layerDef: LayerConfig; |         readonly layerDef: LayerConfig; | ||||||
|     }[] |     }[]>([]); | ||||||
|   >([]); |  | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      The latest element that was selected |      The latest element that was selected | ||||||
|  | @ -83,9 +79,7 @@ export default class State { | ||||||
|      * Keeps track of relations: which way is part of which other way? |      * Keeps track of relations: which way is part of which other way? | ||||||
|      * Set by the overpass-updater; used in the metatagging |      * Set by the overpass-updater; used in the metatagging | ||||||
|      */ |      */ | ||||||
|   public readonly knownRelations = new UIEventSource< |     public readonly knownRelations = new UIEventSource<Map<string, { role: string; relation: Relation }[]>>(undefined, "Relation memberships"); | ||||||
|     Map<string, { role: string; relation: Relation }[]> |  | ||||||
|   >(undefined, "Relation memberships"); |  | ||||||
| 
 | 
 | ||||||
|     public readonly featureSwitchUserbadge: UIEventSource<boolean>; |     public readonly featureSwitchUserbadge: UIEventSource<boolean>; | ||||||
|     public readonly featureSwitchSearch: UIEventSource<boolean>; |     public readonly featureSwitchSearch: UIEventSource<boolean>; | ||||||
|  | @ -127,9 +121,7 @@ export default class State { | ||||||
|         accuracy: number; |         accuracy: number; | ||||||
|     }>(undefined); |     }>(undefined); | ||||||
|     public layoutDefinition: string; |     public layoutDefinition: string; | ||||||
|   public installedThemes: UIEventSource< |     public installedThemes: UIEventSource<{ layout: LayoutConfig; definition: string }[]>; | ||||||
|     { layout: LayoutConfig; definition: string }[] |  | ||||||
|   >; |  | ||||||
| 
 | 
 | ||||||
|     public layerControlIsOpened: UIEventSource<boolean> = |     public layerControlIsOpened: UIEventSource<boolean> = | ||||||
|         QueryParameters.GetQueryParameter( |         QueryParameters.GetQueryParameter( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue