Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Bank now defaults values in case the map is ready, but the bank is not

Mike McGanneb507ebd960d
diff --git a/js/bank.js b/js/bank.js
index 324713f4d..b5709e4ed 100644
--- a/js/bank.js
+++ b/js/bank.js
@@ -51,9 +51,10 @@ SOTE.widget.Bank = function(containerId, config){
}
- this.values = null;
this.state = config.state;
this.selected = config.selected;
+ this.values = this.unserialize(this.selected[this.state]);
+
this.dataSourceUrl = config.dataSourceUrl;
this.title = config.title;
this.callback = config.callback;