forked from MapComplete/MapComplete
		
	Add initial clustering per tile, very broken
This commit is contained in:
		
							parent
							
								
									2b78c4b53f
								
							
						
					
					
						commit
						c5e9448720
					
				
					 88 changed files with 1080 additions and 651 deletions
				
			
		|  | @ -48,13 +48,10 @@ export default class ScriptUtils { | |||
|         }) | ||||
|     } | ||||
| 
 | ||||
|     public static DownloadJSON(url, options?: { | ||||
|         headers: any | ||||
|     }): Promise<any> { | ||||
|     public static DownloadJSON(url, headers?: any): Promise<any> { | ||||
|         return new Promise((resolve, reject) => { | ||||
|             try { | ||||
| 
 | ||||
|                 const headers = options?.headers ?? {} | ||||
|                 headers = headers ?? {} | ||||
|                 headers.accept = "application/json" | ||||
|                 console.log("Fetching", url) | ||||
|                 const urlObj = new URL(url) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue