Skip to content

Commit e0d8224

Browse files
committed
Only display cogTransform options on single band images
1 parent ed73c93 commit e0d8224

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/essence/Tools/Layers/LayersTool.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,9 @@ function interfaceWithMMGIS(fromInit) {
791791

792792
if (
793793
node[i].cogTransform === true &&
794-
typeof node[i].url === 'string'
794+
typeof node[i].url === 'string' &&
795+
L_.layers.layer[node[i].name].georasters &&
796+
L_.layers.layer[node[i].name].georasters[0].numberOfRasters === 1
795797
) {
796798
if (window.mmgisglobal.WITH_TITILER === "true") {
797799
// prettier-ignore

0 commit comments

Comments
 (0)