Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Don't load animation widget UI if data download parameter is present

ZachTRice0c923399d84f
diff --git a/web/js/components/tour/modal-tour-in-progress.js b/web/js/components/tour/modal-tour-in-progress.js
index c09b3d8ad..49adaa1ce 100644
--- a/web/js/components/tour/modal-tour-in-progress.js
+++ b/web/js/components/tour/modal-tour-in-progress.js
@@ -78,16 +78,21 @@ class ModalInProgress extends React.Component {
// currentStepLink =
// 'ca=true' +
// '&cm=opacity' +
- // '&cv=50' +
+ // '&cv=80' +
// '&p=geographic' +
// '&l=VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor,MODIS_Combined_Value_Added_AOD,MODIS_Terra_Aerosol_Optical_Depth_3km,Reference_Labels(hidden),Reference_Features(hidden),Coastlines' +
// '&l1=BlueMarble_NextGeneration,IMERG_Snow_Rate,IMERG_Rain_Rate' +
// '&t=2018-09-06-T00%3A00%3A00Z' +
- // '&z=2' +
// '&t1=2018-03-06-T00%3A00%3A00Z' +
+ // '&z=2' +
// '&v=-202.1385353269304,-23.272676762951903,67.8614646730696,108.6335732370481' +
// '&download=MOD04_3K' +
// '&e=true' +
+ // '&ab=on' +
+ // '&as=2018-03-26T00%3A00%3A00Z' +
+ // '&ae=2018-09-26T00%3A00%3A00Z' +
+ // '&av=5' +
+ // '&al=true' +
// '';
currentState = util.fromQueryString(currentStepLink);
prevState = util.fromQueryString(prevStepLink);
@@ -227,7 +232,9 @@ class ModalInProgress extends React.Component {
// LOAD: Animation
models.anim.save(currentState);
- models.anim.load(currentState);
+ if (!currentState.download) {
+ models.anim.load(currentState);
+ }
// LOAD: Events && Data Download
if (currentState.e) {