You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught(inpromise) TypeError: Cannotreadpropertiesofundefined(reading'hasAlphaChannel')atnewTIFFImageryProvider(TIFFImageryProvider.ts:172:36)atTIFFImageryProvider.<anonymous>(TIFFImageryProvider.ts:362:22)atGenerator.next(<anonymous>)
at tslib.es6.js:121:71
at new Promise (<anonymous>)
at __awaiter (tslib.es6.js:117:12)
at TIFFImageryProvider.fromUrl (TIFFImageryProvider.ts:361:87)
The reason for the error is that i didn't pass in options, so it is undefined , but the TIFFImageryProvider function need its attributes.
TIFFImageryProvider/packages/TIFFImageryProvider/src/TIFFImageryProvider.ts
Line 361 in 18c4015
When i use this code to load tiff, it is error.
code:
error info:
The reason for the error is that i didn't pass in
options
, so it isundefined
, but theTIFFImageryProvider
function need its attributes.so may be you can change the source code like this:
The text was updated successfully, but these errors were encountered: