forked from MapComplete/MapComplete
		
	Remove console.log, tweaks to zoomlevels
This commit is contained in:
		
							parent
							
								
									f4dacab9ef
								
							
						
					
					
						commit
						d2fa20ee91
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -77,9 +77,8 @@ export default class GeoJsonSource implements FeatureSource { | |||
|                 // No need to download! - the layer is disabled
 | ||||
|                 return; | ||||
|             } | ||||
|         console.log("???", locationControl, flayer.layerDef) | ||||
| 
 | ||||
|            if(locationControl.data.zoom < flayer.layerDef.minzoom){ | ||||
|                console.log("Not downloading ", needed, "not sufficiently zoomed") | ||||
|                return; | ||||
|            } | ||||
|              | ||||
|  | @ -200,4 +199,4 @@ export default class GeoJsonSource implements FeatureSource { | |||
|         }).fail(msg => self.onFail(msg, url)) | ||||
|     } | ||||
| 
 | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue