forked from MapComplete/MapComplete
		
	Improvements to studio and layer handling
This commit is contained in:
		
							parent
							
								
									d6a55a5ee9
								
							
						
					
					
						commit
						d91ccbe624
					
				
					 6 changed files with 20 additions and 4 deletions
				
			
		|  | @ -95,6 +95,9 @@ class SubstituteLayer extends Conversion<string | LayerConfigJson, LayerConfigJs | |||
|             } | ||||
| 
 | ||||
|             if (json["hideTagRenderingsWithLabels"]) { | ||||
|                 if(typeof json["hideTagRenderingsWithLabels"] === "string"){ | ||||
|                     throw "At "+context+".hideTagRenderingsWithLabels should be a list containing strings, you specified a string" | ||||
|                 } | ||||
|                 const hideLabels: Set<string> = new Set(json["hideTagRenderingsWithLabels"]) | ||||
|                 // These labels caused at least one deletion
 | ||||
|                 const usedLabels: Set<string> = new Set<string>() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue