forked from MapComplete/MapComplete
		
	Debugging
This commit is contained in:
		
							parent
							
								
									ee6e430ef4
								
							
						
					
					
						commit
						bef79cfa20
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -80,6 +80,7 @@ class OsmPoiDatabase {
 | 
				
			||||||
        console.log("Getting layers: ", q, result)
 | 
					        console.log("Getting layers: ", q, result)
 | 
				
			||||||
        const layers = result.rows.map((r) => r.table_name.substring("lines_".length))
 | 
					        const layers = result.rows.map((r) => r.table_name.substring("lines_".length))
 | 
				
			||||||
        this.supportedLayers = new Set(layers)
 | 
					        this.supportedLayers = new Set(layers)
 | 
				
			||||||
 | 
					        console.log("Layers are:", layers)
 | 
				
			||||||
        this.supportedLayersDate = new Date()
 | 
					        this.supportedLayersDate = new Date()
 | 
				
			||||||
        return this.supportedLayers
 | 
					        return this.supportedLayers
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue