Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added check for mapType in build (#4757)

christof-wittreich2f59960fde4f
diff --git a/tasks/build-options/processColormap.js b/tasks/build-options/processColormap.js
index b36bbf6c6..54efae9dc 100755
--- a/tasks/build-options/processColormap.js
+++ b/tasks/build-options/processColormap.js
@@ -160,7 +160,7 @@ async function processEntries (colormap) {
const a = 255
// If entry is served transparent, add it to the disabled array
- if (entry._attributes.transparent !== 'false') {
+ if (entry._attributes.transparent !== 'false' && mapType === 'classification') {
initializeDisabled.push(refsList.length)
}