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
				
			
		|  | @ -53,6 +53,7 @@ export default class OverpassFeatureSource implements FeatureSource { | |||
|                     return false; | ||||
|                 } | ||||
|                 let minzoom = Math.min(...layoutToUse.data.layers.map(layer => layer.minzoom ?? 18)); | ||||
|                 console.debug("overpass source: minzoom is ", minzoom) | ||||
|                 return location.zoom >= minzoom; | ||||
|             }, [layoutToUse] | ||||
|         ); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue