Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-1127: When hiding a layer for caching, remove back buffer if it exists

Mike McGannbccb253a35fc
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 01b26723b..19893eacc 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -235,6 +235,7 @@ wv.map.ui = wv.map.ui || function(models, config) {
layer.setVisibility(0);
} else {
layer.setOpacity(0);
+ layer.removeBackBuffer();
}
layer.div.style.zIndex = 0;
} else {