forked from MapComplete/MapComplete
		
	Refactoring: move 'GetDefaultIcon' into its own Svelte-class
This commit is contained in:
		
							parent
							
								
									46ac716395
								
							
						
					
					
						commit
						335906b481
					
				
					 13 changed files with 97 additions and 80 deletions
				
			
		|  | @ -119,7 +119,7 @@ class AddIconSummary extends DesugaringStep<{ raw: LayerConfigJson; parsed: Laye | |||
|         const pointRendering: PointRenderingConfig = layerConfig.mapRendering.find((pr) => | ||||
|             pr.location.has("point") | ||||
|         ) | ||||
|         const defaultTags = layerConfig.GetBaseTags() | ||||
|         const defaultTags = layerConfig.baseTags | ||||
|         fixed["_layerIcon"] = Utils.NoNull( | ||||
|             (pointRendering?.marker ?? []).map((i) => { | ||||
|                 const icon = i.icon?.GetRenderValue(defaultTags)?.txt | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue