forked from MapComplete/MapComplete
		
	refactoring: split all the states
This commit is contained in:
		
							parent
							
								
									4d48b1cf2b
								
							
						
					
					
						commit
						8e2f04c0d0
					
				
					 32 changed files with 411 additions and 395 deletions
				
			
		|  | @ -20,7 +20,6 @@ export default class SourceConfig { | |||
|             geojsonSourceLevel?: number | ||||
|             idKey?: string | ||||
|         }, | ||||
|         isSpecialLayer: boolean, | ||||
|         context?: string | ||||
|     ) { | ||||
|         let defined = 0 | ||||
|  | @ -51,7 +50,7 @@ export default class SourceConfig { | |||
|                 throw `Source defines a geojson-zoomLevel, but does not specify {x} nor {y} (or equivalent), this is probably a bug (in context ${context})` | ||||
|             } | ||||
|         } | ||||
|         if (params.osmTags !== undefined && !isSpecialLayer) { | ||||
|         if (params.osmTags !== undefined) { | ||||
|             const optimized = params.osmTags.optimize() | ||||
|             if (optimized === false) { | ||||
|                 throw ( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue