Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add ae and as location permalinks, modify t to prevent init location serialize, modify defaults for custom interval value and delta, add animation widget change increment by header

Edward Plato9d4bb3d227ab
diff --git a/web/js/location.js b/web/js/location.js
index fc051a61e..7fa1f12a0 100644
--- a/web/js/location.js
+++ b/web/js/location.js
@@ -236,8 +236,10 @@ const getParameters = function(config, parameters) {
type: 'date',
options: {
serializeNeedsGlobalState: true,
- serialize: currentItemState => {
- return serializeDate(currentItemState || nowMinusSevenDays);
+ serialize: (currentItemState) => {
+ return serializeDate(
+ currentItemState || nowMinusSevenDays
+ );
},
parse: str => {
return tryCatchDate(str, nowMinusSevenDays);
@@ -250,8 +252,10 @@ const getParameters = function(config, parameters) {
type: 'date',
options: {
serializeNeedsGlobalState: true,
- serialize: currentItemState => {
- return serializeDate(currentItemState || now);
+ serialize: (currentItemState) => {
+ return serializeDate(
+ currentItemState || now
+ );
},
parse: str => {
return tryCatchDate(str, now);