Interactive interface for browsing global, full-resolution satellite imagery
Load time state from URL - Add check on load for time state and load using the corresponding date state
ZachTRice33bd790463ec
diff --git a/web/js/date/model.js b/web/js/date/model.jsindex 0f98a7764..63fbcd55f 100644--- a/web/js/date/model.js+++ b/web/js/date/model.js@@ -85,6 +85,10 @@ export function dateModel(config, spec) {if (state.t) {self.select(state.t);}+ // If there is a time, load using the corresponding date state+ if (state.t && state.t2) {+ self.select(state.t);+ }if (state.z) {self.selectedZoom = Number(state.z);}