Add initial clustering per tile, very broken

This commit is contained in:
Pieter Vander Vennet 2021-09-26 17:36:39 +02:00
parent 2b78c4b53f
commit c5e9448720
88 changed files with 1080 additions and 651 deletions

View file

@ -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)