This commit is contained in:
mike-000
2022-05-04 20:18:17 +01:00
committed by GitHub
parent 8ef8cbf4e2
commit cf95f6313b
+2 -1
View File
@@ -685,7 +685,8 @@ class GeoTIFFSource extends DataTile {
const normalize = this.normalize_; const normalize = this.normalize_;
const metadata = this.metadata_; const metadata = this.metadata_;
return Promise.all(requests).then(function (sourceSamples) { return Promise.all(requests)
.then(function (sourceSamples) {
/** @type {Uint8Array|Float32Array} */ /** @type {Uint8Array|Float32Array} */
let data; let data;
if (normalize) { if (normalize) {