forked from MapComplete/MapComplete
		
	More work on cyclestreet layout, add loading of layers depending on zoom level
This commit is contained in:
		
							parent
							
								
									3576a4b1e1
								
							
						
					
					
						commit
						9a5b35b9f3
					
				
					 17 changed files with 109 additions and 59 deletions
				
			
		|  | @ -57,6 +57,7 @@ export class AllKnownLayouts { | |||
|                     continue; | ||||
|                 } | ||||
|                 this.allLayers[layer.id] = layer; | ||||
|                 this.allLayers[layer.id.toLowerCase()] = layer; | ||||
|                 all.layers.push(layer); | ||||
|             } | ||||
|         } | ||||
|  | @ -64,6 +65,7 @@ export class AllKnownLayouts { | |||
|         const allSets: Map<string, Layout> = new Map(); | ||||
|         for (const layout of this.layoutsList) { | ||||
|             allSets[layout.name] = layout; | ||||
|             allSets[layout.name.toLowerCase()] = layout; | ||||
|         } | ||||
|         allSets[all.name] = all; | ||||
|         return allSets; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue