Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-834: Data download footprints no longer visible when switching projections, deactivating, and switching projections

Mike McGann1f025bbf71b3
diff --git a/src/js/map/wv.map.ui.js b/src/js/map/wv.map.ui.js
index fbef4ea74..e3f4015e8 100644
--- a/src/js/map/wv.map.ui.js
+++ b/src/js/map/wv.map.ui.js
@@ -115,7 +115,7 @@ wv.map.ui = wv.map.ui || function(models, config) {
var clearLayers = function(map) {
var activeLayers = map.layers.slice(0);
_.each(activeLayers, function(mapLayer) {
- if ( mapLayer.name !== "Blank" ) {
+ if ( mapLayer.wvid ) {
map.removeLayer(mapLayer);
}
});