Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

revise default zoom value for getstartdate

Ed Platodcd9cc849eb2
diff --git a/web/js/animation/ui.js b/web/js/animation/ui.js
index 1aa31189a..b892aa6be 100644
--- a/web/js/animation/ui.js
+++ b/web/js/animation/ui.js
@@ -107,7 +107,7 @@ export function animationUi(models, ui) {
*/
self.getStartDate = function () {
// get index+1 of date zoom 'yearly', 'monthly', 'daily', '10-Minute'
- let dateSelectedZoom = models.date.selectedZoom || 0;
+ let dateSelectedZoom = models.date.selectedZoom || 1;
var state;
var endDate;
var startDate;