Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

check for duplicates w/ discrete colormaps in addition to continous

Benjamin74026120b1b0
diff --git a/bin/wv-options-colormap b/bin/wv-options-colormap
index b267d408e..1bc4e225c 100755
--- a/bin/wv-options-colormap
+++ b/bin/wv-options-colormap
@@ -150,7 +150,7 @@ def process_entries(colormap):
tooltip = legend["@tooltip"]
if (index > 0):
if (entry["@rgb"] == entries[index-1]["@rgb"]):
- if (map_type == "continuous"):
+ if (map_type == "continuous") or (map_type == "discrete"):
matches += [entry["@rgb"]]
tooltips += [tooltip]