forked from MapComplete/MapComplete
		
	Fix: attempts to stabilize
This commit is contained in:
		
							parent
							
								
									686ad70511
								
							
						
					
					
						commit
						ae84207555
					
				
					 4 changed files with 31 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -116,7 +116,7 @@ export class AvailableRasterLayers {
 | 
			
		|||
            availableLayersBboxes.map(
 | 
			
		||||
                (eliPolygons) => {
 | 
			
		||||
                    const loc = location.data
 | 
			
		||||
                    const lonlat: [number, number] = [loc.lon, loc.lat]
 | 
			
		||||
                    const lonlat: [number, number] = [loc?.lon ?? 0, loc?.lat ?? 0]
 | 
			
		||||
                    const matching: RasterLayerPolygon[] = eliPolygons.filter((eliPolygon) => {
 | 
			
		||||
                        if (eliPolygon.geometry === null) {
 | 
			
		||||
                            return true // global ELI-layer
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue