Mix Geotiffs with arbitrary bands and resolutions

This commit is contained in:
Andreas Hocevar
2021-08-04 00:06:57 +02:00
parent f0cac76718
commit 05e0fb1bf7
3 changed files with 126 additions and 46 deletions

View File

@@ -75,6 +75,11 @@ class DataTileSource extends TileSource {
this.loader_ = options.loader;
this.handleTileChange_ = this.handleTileChange_.bind(this);
/**
* @type {number}
*/
this.bandCount = 4; // assume RGBA
}
/**