Skip to content

Commit 1a2f469

Browse files
authored
Fix geotif file loading (#884)
1 parent dcac2cc commit 1a2f469

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/base/src/tools.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,11 @@ export const loadGeoTiff = async (
485485
} else {
486486
fileBlob = await base64ToBlob(file.content, mimeType);
487487
}
488+
489+
return {
490+
file: fileBlob,
491+
sourceUrl: url,
492+
};
488493
};
489494

490495
/**

0 commit comments

Comments
 (0)