forked from MapComplete/MapComplete
		
	Fix build
This commit is contained in:
		
							parent
							
								
									91ec409915
								
							
						
					
					
						commit
						affe8237dc
					
				
					 1 changed files with 7 additions and 5 deletions
				
			
		|  | @ -162,8 +162,10 @@ export default class LayerConfig { | |||
|         } | ||||
|         this.presets = (json.presets ?? []).map((pr, i) => { | ||||
| 
 | ||||
|             let preciseInput = { | ||||
|                 preferredBackground: ["photo"] | ||||
|             let preciseInput: any = { | ||||
|                 preferredBackground: ["photo"], | ||||
|                 snapToLayers: undefined, | ||||
|                 maxSnapDistance: undefined | ||||
|             }; | ||||
|             if (pr.preciseInput !== undefined) { | ||||
|                 if (pr.preciseInput === true) { | ||||
|  | @ -564,11 +566,11 @@ export default class LayerConfig { | |||
|                     const renderValue = iconOverlay | ||||
|                         .then | ||||
|                         .GetRenderValue(tgs) | ||||
|                       | ||||
|                     if(renderValue === undefined){ | ||||
| 
 | ||||
|                     if (renderValue === undefined) { | ||||
|                         continue; | ||||
|                     } | ||||
|                      | ||||
| 
 | ||||
|                     const partDefs = renderValue.txt.split(";") | ||||
|                         .filter((prt) => prt != ""); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue