Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added support for help overlay

Tilak Joshif5fcf2553e59
diff --git a/js/sote.js b/js/sote.js
index ca4e3fdf2..3a1f28bb3 100644
--- a/js/sote.js
+++ b/js/sote.js
@@ -1,6 +1,6 @@
window.onload = function(){// Initialize "static" vars
// Create map
- var m = new SOTE.widget.MapSote("map",{baseLayer:"Aqua_MODIS",time:"2011-11-26"});
+ var m = new SOTE.widget.MapSote("map",{baseLayer:"Aqua_MODIS",time:"2011-12-06"});
var a = new SOTE.widget.AccordionPicker("products",{dataSourceUrl:"data/ap.json"});
var h = new SOTE.widget.MenuPicker("hazard",{dataSourceUrl:"data/mp_hazard.json"});
//var tr = new SOTE.widget.MenuPicker("transition",{dataSourceUrl:"data/mp_transition.json",selected:"sta"});
@@ -9,10 +9,26 @@ window.onload = function(){// Initialize "static" vars
}
function showOverlay(){
- var overlay = new YAHOO.widget.Panel("panel1", { fixedcenter:true,
- visible:false,
- width:"300px"} );
- overlay.setBody("<p>Hello World</p>");
- overlay.render(document.body);
- overlay.show();
+ if(this.overlay === undefined){
+ this.overlay = new YAHOO.widget.Panel("panel1", { visible:false } );
+ var item = "<div >"+
+ "<h3>Welcome to Worldview</h3>"+
+ "<p>This new tool from EOSDIS provides the capability to interactively browse full-resolution, global, near real-time spacecraft imagery from 3 (eventually 30+) data products from LANCE <http://lance.nasa.gov> . This will support time-critical application areas such as wildfire management, air quality measurements, and weather forecasting. The data is generally available within three hours of observation and can be compared to observations from the past week. The interface also supports comparisons amongst available data products and time steps for the currently-zoomed region, facilitating a rapid visual filtering and selection of the most suitable product and time step. Browsing on tablet devices is currently supported for mobile access to this spacecraft imagery while in the field or on the couch. Please note, however, that this is an alpha release and many features are still under development! In addition, please note that Internet Explorer is not currently supported and we are working to determine if and when it can be. Comments/suggestions/problem reports are welcome via this address: <a href='mailto:[email protected]?subject=Feedback%20for%20EOSDIS%20Worldview%20tool'>[email protected]</a>.</p>"+
+ "<br /><p>For more functionality and support for many more data products, please use the <a href='http://lance-modis.eosdis.nasa.gov/wms/'>LANCE WMS client</a> or, for a more hazards-and-disasters-specific experience, this <a href='http://lancedev.eosdis.nasa.gov/tools/hazards-and-disasters/'>introduction</a> to the LANCE WMS client. As we move forward, these data products and additional functionality will be incorporated into Worldview and its Tiled WMS backend.</p>"+
+ "<h3>Disclaimer</h3>"+
+ "<p>The LANCE system is operated by the NASA/GSFC Earth Science Data Information System (ESDIS). The information presented through the LANCE Rapid Response system and the LANCE FIRMS are provided “as is” and users bear all responsibility and liability for their use of data, and for any loss of business or profits, or for any indirect, incidental or consequential damages arising out of any use of, or inability to use, the data, even if NASA or ESDIS were previously advised of the possibility of such damages, or for any other claim by you or any other person. ESDIS makes no representations or warranties of any kind, express or implied, including implied warranties of fitness for a particular purpose or merchantability, or with respect to the accuracy of or the absence or the presence or defects or errors in data, databases of other information. The designations employed in the data do not imply the expression of any opinion whatsoever on the part of ESDIS concerning the legal or development status of any country, territory, city or area or of its authorities, or concerning the delimitation of its frontiers or boundaries. For more information please contact the LANCE User Services at <a href='mailto:[email protected]'>[email protected]</a>.</p>"+
+ "<br /><p>"+
+ "Page Editor: <a href='mailto:[email protected]'>Tilak Joshi</a><br />"+
+ "Responsible NASA Official: <a href='mailto:[email protected]'>Ryan Boller</a>"+
+ "</p>"+
+ "</div>";
+
+ this.overlay.setBody(item);
+ this.overlay.render(document.body);
+ }
+
+ this.overlay.show();
+ this.overlay.center();
+
}
+