forked from MapComplete/MapComplete
		
	Attempt to fix the personal layer
This commit is contained in:
		
							parent
							
								
									ebc89385ea
								
							
						
					
					
						commit
						fa5ed7c690
					
				
					 3 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,8 @@ export default class FilteringFeatureSource implements FeatureSource {
 | 
			
		|||
 | 
			
		||||
            const layerDict = {};
 | 
			
		||||
            if (layers.data.length == 0) {
 | 
			
		||||
                throw "No layers defined!"
 | 
			
		||||
                console.warn("No layers defined!")
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            for (const layer of layers.data) {
 | 
			
		||||
                layerDict[layer.layerDef.id] = layer;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue