forked from MapComplete/MapComplete
		
	Add rewrite of 'special' clauses, various QOLimprovements on import viewer
This commit is contained in:
		
							parent
							
								
									8df0324572
								
							
						
					
					
						commit
						c47a6d5ea7
					
				
					 22 changed files with 597 additions and 155 deletions
				
			
		|  | @ -197,14 +197,14 @@ export default class LayerConfig extends WithContextLoader { | |||
|                     snapToLayers = pr.preciseInput.snapToLayer | ||||
|                 } | ||||
| 
 | ||||
|                 let preferredBackground: string[] | ||||
|                 let preferredBackground: ("map" | "photo" | "osmbasedmap" | "historicphoto" | string)[] | ||||
|                 if (typeof pr.preciseInput.preferredBackground === "string") { | ||||
|                     preferredBackground = [pr.preciseInput.preferredBackground] | ||||
|                 } else { | ||||
|                     preferredBackground = pr.preciseInput.preferredBackground | ||||
|                 } | ||||
|                 preciseInput = { | ||||
|                     preferredBackground: preferredBackground, | ||||
|                     preferredBackground, | ||||
|                     snapToLayers, | ||||
|                     maxSnapDistance: pr.preciseInput.maxSnapDistance ?? 10 | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue