Interactive interface for browsing global, full-resolution satellite imagery
* Removed menuPicker for the time being
Tilak Joshib1ec878c5c1b
diff --git a/index.html b/index.htmlindex 53f9ebd17..1ef6fd9d5 100644--- a/index.html+++ b/index.html@@ -91,10 +91,26 @@</div></div><script type="text/javascript">+REGISTRY.addEventListener("map","time");REGISTRY.addEventListener("time","map");REGISTRY.addEventListener("products","map","time");- REGISTRY.addEventListener("hazard","products");+ //REGISTRY.addEventListener("hazard","products");++/* function testQS(){+ var comps = REGISTRY.getUIComponents();+ for (var i=0; i < comps.length; i++) {+ comps[i].loadFromQuery(queryString);+ }+ }++ var queryString = window.location.hash.substring(1);++ if (queryString.length > 0) {+ REGISTRY.addAllReadyCallback(testQS);+ }+*/+</script><!-- BEGIN: Unica Page Tag -->diff --git a/js/sote.js b/js/sote.jsindex be22885ea..a4fd31a3d 100644--- a/js/sote.js+++ b/js/sote.js@@ -22,9 +22,9 @@ window.onload = function(){// Initialize "static" vars// Create mapvar m = new SOTE.widget.MapSote("map",{baseLayer:"Terra_MODIS"});var a = new SOTE.widget.AccordionPicker("products",{dataSourceUrl:"data/ap.json"});- var h = new SOTE.widget.MenuPicker("hazard",{isCollapsible: true, dataSourceUrl:"data/mp_hazard.php"});+ //var h = new SOTE.widget.MenuPicker("hazard",{dataSourceUrl:"data/mp_hazard.php"});//var tr = new SOTE.widget.MenuPicker("transition",{dataSourceUrl:"data/mp_transition.php"});- var map = new SOTE.widget.DateSpan("time");+ var map = new SOTE.widget.DateSpan("time",{hasThumbnail:false});}