hongfaqiu / TIFFImageryProvider

Load GeoTIFF/COG(Cloud optimized GeoTIFF) on Cesium
https://tiff-imagery-provider.opendde.com/?panel=layer
MIT License
62 stars 13 forks source link

当在单通道渲染模式时选择通道2,报错并不显示 #20

Closed xmsuperman closed 1 year ago

xmsuperman commented 1 year ago

当单通道模式的数据有多个通道时,例如:band1是某定义 band2是某定义。

当切换到band2时报错。

在@2.8.2版本重现

hongfaqiu commented 1 year ago

请提供有效的案例,类似https://codesandbox.io/p/github/hongfaqiu/cog-example/main

hongfaqiu commented 1 year ago

修复了,我竟然写了这么大一个bug,可怕