Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed error where image download failed if the arctic projection change notification was disabled

Mike McGann14c15abc4bbd
diff --git a/src/js/image/wv.image.panel.js b/src/js/image/wv.image.panel.js
index 2b79742a4..0f8ed186d 100644
--- a/src/js/image/wv.image.panel.js
+++ b/src/js/image/wv.image.panel.js
@@ -173,7 +173,8 @@ wv.image.panel = wv.image.panel || function(models, ui, config) {
});
// NOTE: This need to be changed back to the projection model
// when the backfill removes the old projection.
- var epsg = models.proj.change.epsg;
+ var epsg = ( models.proj.change ) ? models.proj.change.epsg :
+ models.proj.selected.epsg;
// get layer transparencies (opacities)
var opacities = [];