forked from MapComplete/MapComplete
		
	Don't download tils if z>22, prevent hang if osm-api is blocked (e.g. by umatrix) (see #880)
This commit is contained in:
		
							parent
							
								
									3a3e2750f2
								
							
						
					
					
						commit
						b9be22a932
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -118,7 +118,7 @@ export default class OsmFeatureSource { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     private async LoadTile(z, x, y): Promise<void> { |     private async LoadTile(z, x, y): Promise<void> { | ||||||
|         if (z > 25) { |         if (z >= 22) { | ||||||
|             throw "This is an absurd high zoom level" |             throw "This is an absurd high zoom level" | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue