-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Description
| * @typedef {HTMLImageElement|HTMLCanvasElement|ImageBitmap} ImageryTypes |
I was wondering if there is any limitation to adding OffscreenCanvas here too.
I've been playing with a third-party library to load GeoTIFF inside Cesium and they are using OffscreenCanvas to achieve that.
In a JS context (without type-checking) it works pretty well. But when using their code in a TypeScript env, it starts to raise type-checking errors because of their use of OffscreenCanvas as ImageryType.
Anyone with a good knowledge of the processing of ImageryType knows of a "show-stopper" reason not to add OffscreenCanvas here?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels