Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Sep 23, 2024
1 parent 71866ad commit fc02df0
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/base/src/gdal.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import initGdalJs from 'gdal3.js';


export async function getGdal() {
const dataurl = new URL('./gdal3WebAssembly.data', import.meta.url);
const wasmurl = new URL('./gdal3WebAssembly.wasm', import.meta.url);
const dataurl = new URL('./gdal3WebAssembly.data', import.meta.url);
const wasmurl = new URL('./gdal3WebAssembly.wasm', import.meta.url);

// TODO Pass gdal JS too and run gdal in a worker?
return await initGdalJs({
paths: {
wasm: wasmurl.href,
data: dataurl.href
},
useWorker: false
});
// TODO Pass gdal JS too and run gdal in a worker?
return await initGdalJs({
paths: {
wasm: wasmurl.href,
data: dataurl.href
},
useWorker: false
});
}

// Early load gdal
Expand Down

0 comments on commit fc02df0

Please sign in to comment.