Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add increment to initial dialog #766

Benjaminc5f753495ca5
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index 936414e65..5d937eb03 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -100,7 +100,8 @@ export function animationGif(models, config, ui) {
endDate: null,
speed: null,
maxGifSize: maxGifSize,
- checked: true
+ checked: true,
+ increment: lodashCapitalize(ui.anim.widget.getIncrements())
};
self.reactComponent = renderPanel(options, panelCase);
};
@@ -116,7 +117,8 @@ export function animationGif(models, config, ui) {
imgWidth: lodashRound(imgWidth, 2),
startDate: state.startDate,
endDate: state.endDate,
- speed: lodashRound(state.speed, 2)
+ speed: lodashRound(state.speed, 2),
+ increment: lodashCapitalize(ui.anim.widget.getIncrements())
};
};
var update = function(selectedRes, lonlats) {