forked from MapComplete/MapComplete
		
	Remove 'language' as field from the layoutConfigJson as it is now calculated based on the title
This commit is contained in:
		
							parent
							
								
									8b46a7e052
								
							
						
					
					
						commit
						0f47b84229
					
				
					 11 changed files with 40 additions and 37 deletions
				
			
		|  | @ -301,8 +301,9 @@ export default class LayerConfig extends WithContextLoader { | |||
|         if (mapRendering === undefined) { | ||||
|             return undefined | ||||
|         } | ||||
|         const defaultTags = new UIEventSource(TagUtils.changeAsProperties(this.source.osmTags.asChange({id: "node/-1"}))) | ||||
|         return mapRendering.GenerateLeafletStyle(defaultTags, false, {noSize: true}).html | ||||
|         const baseTags = TagUtils.changeAsProperties(this.source.osmTags.asChange({id: "node/-1"})) | ||||
|         return mapRendering.GenerateLeafletStyle(new UIEventSource(baseTags), false,  | ||||
|             {noSize: true, includeBadges: false}).html | ||||
|     } | ||||
| 
 | ||||
|     public GenerateDocumentation(usedInThemes: string[], layerIsNeededBy: Map<string, string[]>, dependencies: { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue