Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add reset function to logo and cleanup

Josiah Spraguefa8c1acfa04c
diff --git a/web/css/wv.main.css b/web/css/wv.main.css
index 05db9f4b7..efe0f8305 100644
--- a/web/css/wv.main.css
+++ b/web/css/wv.main.css
@@ -369,6 +369,7 @@ div.horizontalContainer {
#wv-logo {
background: url('../brand/images/wv-logo.svg?v=@BUILD_NONCE@') no-repeat center rgba(40, 40, 40, 0.85);
+ display: block;
width: 286px;
height: 55px;
padding: 5px 0;
diff --git a/web/css/wv.mobile.css b/web/css/wv.mobile.css
index 26e8c376b..b6bf83481 100644
--- a/web/css/wv.mobile.css
+++ b/web/css/wv.mobile.css
@@ -34,6 +34,7 @@
#wv-logo {
background: url("../brand/images/wv-logo-mobile.svg?v=@BUILD_NONCE@") no-repeat center rgba(40, 40, 40, 0.85);
+ display: block;
height: 42px;
width: 56px;
padding: 5px;
diff --git a/web/index.html b/web/index.html
index a8c1f3d7c..7e958e849 100644
--- a/web/index.html
+++ b/web/index.html
@@ -282,7 +282,7 @@
<li id="wv-image-button" class="wv-toolbar-button"></li>
<li id="wv-info-button" class="wv-toolbar-button wv-status-hide"></li>
</ul>
- <div id="wv-logo"></div>
+ <a href="/" title="Click to Reset Worldview to Defaults" id="wv-logo"></a>
<section id="productsHolder">
<ul id="productsHolder-tabs"></ul>
<div id="productsHoldertoggleButtonHolder"></div> <!-- bad -->
diff --git a/web/js/wv.main.js b/web/js/wv.main.js
index 5aadcf8ee..43abca0e9 100644
--- a/web/js/wv.main.js
+++ b/web/js/wv.main.js
@@ -11,6 +11,7 @@
var wvx = wvx || {};
+// Document ready function
$(function() {
var config;
@@ -273,6 +274,18 @@ $(function() {
models.wv.events.trigger("startup");
elapsed("done");
+
+ // Reset Worldview when clicking on logo
+ $(document).click(function(e) {
+ if (e.target.id == "wv-logo") resetWorldview(e);
+ });
+ };
+
+ var resetWorldview = function(e){
+ e.preventDefault();
+ if (window.location.search === "") return; // Nothing to reset
+ var msg = "Do you want to reset Worldview to it's defaults? You will lose your current state.";
+ if (confirm(msg)) document.location.href = "/";
};
var errorReport = function() {
diff --git a/web/pages/release_notes.html b/web/pages/release_notes.html
deleted file mode 100644
index 90c9c58b7..000000000
--- a/web/pages/release_notes.html
+++ /dev/null
@@ -1,414 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>@OFFICIAL_NAME@ - Release Notes</title>
- <link type="text/css" href="../css/pages.css?v=@BUILD_NONCE@" rel="Stylesheet" />
- <meta name="viewport" content="width=device-width, initial-scale=1">
-</head>
-
-<body id="pages">
- <div id="banner">
- <img class="logo" src='../images/wv-logo.svg'/>
- </div>
-
- <div id="page">
- <h1 class="title">@OFFICIAL_NAME@</h1>
- <h2 class="subtitle">Release Notes</h2>
-
- <hr/>
- <h4>Release 0.6.5</h4>
- <ul>
- <li>New Features
- <ul>
- <li>New layers: AMSR-E brightness temperatures, available
- from 2002/Jun/01 to 2011/Oct/04</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>Corrected color value in the Aerosol Optical Depth
- legend.</li>
- <li>Corrected units range in Brightness Temperature</li>
- </ul></li>
- <li>Known Issues
- <ul>
- <li>Internet Explorer 8 and below is not supported.</li>
- <li>Internet Explorer 9 has difficulties rendering the user
- interface under certain circumstances, though should remain
- usable.</li>
- <li>Custom color palettes are not supported on Internet
- Explorer or on Safari 5 and earlier.</li>
- <li>Custom color palettes cannot be used in image
- download.</li>
- <li>On iOS, layers cannot be reordered</li>
- <li>WMS based layers (Population Density and Global Labels) can
- no longer be displayed properly in the older arctic
- projection (EPSG:3995).</li>
- <li>A mixed content warning may be displayed when using layers
- from external servers not using https.</li>
- <li>Layers with imagery before the year 2000 cannot be
- displayed.</li>
- </ul></li>
- </ul>
- <hr/>
- <h4>Release 0.6.4 - March 13, 2014</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Lower bounds of MODIS Aerosol layers are now at -0.05
- instead of 0.27</li>
- </ul></li>
- <li>Known Issues
- <ul>
- <li>Internet Explorer 8 and below is not supported.</li>
- <li>Internet Explorer 9 has difficulties rendering the user
- interface under certain circumstances, though should remain
- usable.</li>
- <li>Custom color palettes are not supported on Internet
- Explorer or on Safari 5 and earlier.</li>
- <li>Custom color palettes cannot be used in image
- download.</li>
- <li>On iOS, layers cannot be reordered</li>
- <li>WMS based layers (Population Density and Global Labels) can
- no longer be displayed properly in the older arctic
- projection (EPSG:3995).</li>
- <li>A mixed content warning may be displayed when using layers
- from external servers not using https.</li>
- <li>Layers with imagery before the year 2000 cannot be
- displayed.</li>
- </ul></li>
- </ul>
- <hr/>
- <h4>Release 0.6.3 - March 6, 2014</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Added a sampling of NSIDC MEaSUREs Freeze/Thaw
- products.</li>
- <li>Permalinks can be shortened from within the
- application.</li>
- <li>Class based layers now show a color legend. Hover over
- each color for its description.</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>No longer crashes when using private browsing mode in
- Safari.</li>
- <li>Color legend for the AIRS Carbon Monoxide layer has been
- corrected.</li>
- </ul></li>
- <hr/>
- <h4>Release 0.6.2 - January 23, 2014</h4>
- <ul>
- <li>Updates
- <ul>
- <li>The map no longer caches tiles which could cause stale
- imagery to be shown.</li>
- <li>Fixes the problem for iOS 7.1 where the date selector
- was hidden.</li>
- <li>Fixes the problem where the sidebar was not fully
- collapsed in certain situations.</li>
- <li>Coastlines and graticules for the Arctic and Antarctic are
- now rendered with smoother lines.</li>
- <li>Instructions for download data with cURL now include
- steps for Windows.</li>
- <li>The search filter in the Add Layers tab is now clearly
- marked.</li>
- </ul></li>
- </ul>
- <hr/>
-
- <h4>Release 0.6.1 - November 18, 2013</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Fixed the issue where units were not being displayed with
- the color legends.</li>
- <li>wget and cURL download lists should now work consistently
- in Internet Explorer.</li>
- <li>Sea Surface Temperature is now referenced using https and
- the mixed content warning is no longer displayed.</li>
- <li>Additional headers have been included to prevent
- browsers from caching stale content.</li>
- <li>Shortened application load times by fixing an error while
- processing the configuration file.</li>
- <li>Layer scrollbars are now wider and should work properly
- in Google Chrome.</li>
- </ul></li>
- </ul>
- <hr/>
-
- <h4>Release 0.6.0 - October 31, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Worldview now works in Internet Explorer 9+</li>
- <li>Data granules can now be searched and downloaded from
- within the application</li>
- <li>A product category has been added for "Featured" layers.</li>
- <li>New Products: MODIS Chlorophyll A (daily) individually from
- Terra and Aqua.
- <li>New Product: MODIS Sea Surface Temperature (Infrared, 5-day
- rolling) composited from Terra and Aqua</li>
- <li>Orbit tracks now show swath lines and are also available in
- the polar projections.</li>
- <li>Orbit tracks added for Calipso.</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>Active layers are now preserved when switching
- projections.</li>
- <li>The style for layer names, scale bar, and mouse coordinates
- has changed to be more readable.</li>
- </ul></li>
- </ul>
- <hr/>
-
- <h4>Release 0.5.2 - September 25, 2013</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Map tiles from GIBS are now retrieved using https and the
- browser no longer reports a mixed content warning. </li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.5.1 - August 15, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Added twenty AIRS (Atmospheric Infrared Sounder) products
- for temerature and relative humidity.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.5.0 - July 17, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Interface redesigned to support mobile devices.</li>
- <li>The process for adding new layers has been streamlined
- and embedded into the active layers control.</li>
- <li>The list of available layers can now be filtered by
- entering in search terms.</li>
- <li>Layers can now be hidden on the map by clicking on the
- "eye" button next to the product name.</li>
- <li>Image download now retains the screen location of the
- selection box.</li>
- <li>New layers: Land / Water Map, Land Mask.</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>An invalid map extent can no longer be forced by resizing
- the browser window and switching projections.</li>
- <li>The empty layer has been removed. All layers in the active
- list can now be removed or hidden.</li>
- <li>Resolution units added to the image download panel.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.4.4 - June 5, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Added fourteen Microwave Limb Sounder (MLS) products.</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>The Arctic projection has changed from Arctic Polar
- Stereographic (EPSG:3995, "Greenwich down") to NSIDC Polar
- Stereographic North (EPSG:3413, "Greenland down"). Imagery
- before this transition has not yet been reprocessed to the
- new projection.</li>
- <li>Polar land boundaries now match the actual land.</li>
- <li>Terra and Aqua MODIS Corrected Reflectance with 7-2-1
- band combination have been added to the polar
- projections.</li>
- <li>The tour is no longer displayed when starting Worldview
- from a permalink.</li>
- <li>Sulphur renamed to Sulfur.</li>
- <li>The layer ordering for Cloud Top Temperature in the Severe
- Storms category is now consistent with other
- categories.</li>
- <li>A perceptually balanced rainbow palette has been added as
- "Rainbow 2"</li>
- <li>Worldview no longer crashes on startup when using Iceweasel
- or Epiphany on Debian 6 (Squeeze) although these browsers
- are not officialy supported.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.4.3 - May 22, 2013</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Fixed alignment issues with the date slider in Firefox
- 21.0</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.4.2 - April 29, 2013</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Fixed issue where image download was using the wrong day
- in certain time zones.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.4.1 - April 22, 2013</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Fixed the file not found (404) error when using an
- unsupported browser.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.4.0 - April 18, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>First-time users can take a tour that highlights the main
- features of Worldview.</li>
- <li>Image download supported in polar projections.</li>
- <li>KMZ format option added for image downloads in the
- geographic projection.</li>
- <li>Product color palettes can be changed by clicking on the
- color legend in My Layers.</li>
- <li>New product: MODIS Combined Value-Added Aerosol Optical
- Depth (Terra and Aqua / MODIS)</li>
- <li>New product: Global 250m Water Map (Terra / MODIS,
- SRTM)</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>Image downloads for GeoTIFF now brings up a Save As...
- dialog.</li>
- <li>Product selection can now scroll on iPads.</li>
- <li>All layers can now be removed from the map.</li>
- <li>Invalid dates can no longer be selected in the date
- slider.</li>
- <li>Coordinates at the mouse pointer are now updated at any
- location in the browser window.</li>
- <li>Resizing the browser window in polar projections no longer
- zooms all the way in.</li>
- <li>Position and zoom level preserved when switching
- projections.</li>
- <li>Selected products, available products, and the current
- projection icon are now correct when visiting a polar
- projection from a permalink.</li>
- <li>Between 00:00 and 03:00 UTC, the previous day is shown to
- account for the near-real time processing delay.</li>
- <li>In time slider, the "Dec" and "2013" labels no longer
- disappear.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.3.1 - February 26, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Notification message can now be displayed on startup.</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>Fixes issue where application can become unresponsive when
- going in and out of many category groups.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.3.0 - February 7, 2013</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Full-resolution imagery can now be selected and downloaded
- while in the geographic projection</li>
- <li>Horizontal and vertical coordinates (e.g., latitude and
- longitude) of the point directly below the mouse cursor are
- now shown</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>A toolbar was created to hold certain user interface
- elements.</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.2.2</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Fixed end-of-year bug</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.2.1</h4>
- <ul>
- <li>Updates
- <ul>
- <li>Added Suomi NPP/VIIRS City Lights 2012 imagery layer</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.2.0</h4>
- <ul>
- <li>New Features
- <ul>
- <li>Redesigned time slider allows selection of dates beginning
- in May 2012</li>
- <li>Orbital tracks for Terra, Aqua, and Aura are available</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>A layer mask to show areas of "data vs no data" are now
- available for Terra and Aqua MODIS</li>
- <li>Tweaked "pannable area" to be less restrictive</li>
- <li>Overhauled the way map layers are managed; as a result,
- startup time and interactivity are improved</li>
- </ul></li>
- </ul>
-
- <hr/>
- <h4>Release 0.1.0</h4>
- <ul>
- <li>New Features
- <ul>
- <li>User interface redesigned for product selection and
- currently-shown layers </li>
- <li>Color bars are available for palette-based products</li>
- <li>Arctic and Antarctic views are integrated into main
- interface</li>
- <li>Lower-resolution layers are dynamically rescaled on the
- client to be visible at higher zoom levels</li>
- </ul></li>
- <li>Updates
- <ul>
- <li>Fires are viewable on a per-day basis as opposed to "past
- 24/48 hours"</li>
- <li>Documentation for Worldview's backend, the Global Imagery
- Browse Services (GIBS), has been published
- <a href='http://earthdata.nasa.gov/gibs'>
- (http://earthdata.nasa.gov/gibs)
- </a></li>
- <li>Worldview now uses the OGC Web Map Tile Service (WMTS) to
- retrieve tiled imagery from GIBS</li>
- <li>OpenLayers library updated to version 2.12 from 2.11</li>
- <li>This "release notes" document created.</li>
- </ul></li>
- </ul>
-
- </div>
-</body>
-</html>
diff --git a/web/pages/unsupported_browser.html b/web/pages/unsupported_browser.html
index 79bb2fd3a..4963938bb 100644
--- a/web/pages/unsupported_browser.html
+++ b/web/pages/unsupported_browser.html
@@ -43,7 +43,7 @@
</script>
</head>
<body>
- <img src="../images/wv-logo.svg">
+ <img src="../brand/images/wv-logo.png">
<div id="unsupported">
<h4>This version of Internet Explorer is currently not supported</h4>
<p>