forked from MapComplete/MapComplete
		
	Remove roamingRenderings as feature, overrideAll is easier to use
This commit is contained in:
		
							parent
							
								
									1fb45ad75a
								
							
						
					
					
						commit
						4153193500
					
				
					 5 changed files with 934 additions and 925 deletions
				
			
		|  | @ -118,6 +118,9 @@ class LayerOverviewUtils { | |||
|             if (themeFile["units"] !== undefined) { | ||||
|                 themeErrorCount.push("The theme " + themeFile.id + " has units defined - these should be defined on the layer instead. (Hint: use overrideAll: { '+units': ... }) ") | ||||
|             } | ||||
|             if (themeFile["roamingRenderings"] !== undefined) { | ||||
|                 themeErrorCount.push("Theme " + themeFile.id + " contains an old 'roamingRenderings'. Use an 'overrideAll' instead")     | ||||
|             } | ||||
|             for (const layer of themeFile.layers) { | ||||
|                 if (typeof layer === "string") { | ||||
|                     if (!knownLayerIds.has(layer)) { | ||||
|  | @ -213,4 +216,4 @@ class LayerOverviewUtils { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| new LayerOverviewUtils().main(process.argv) | ||||
| new LayerOverviewUtils().main(process.argv) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue