Interactive interface for browsing global, full-resolution satellite imagery
Tour resets when clicking on start tour in the dialog box now
Mike McGann0d7740d9363e
diff --git a/src/js/map/wv.map.model.js b/src/js/map/wv.map.model.jsindex 26449025a..e4b682011 100644--- a/src/js/map/wv.map.model.js+++ b/src/js/map/wv.map.model.js@@ -52,6 +52,7 @@ wv.map.model = wv.map.model || function(models, config) {};self.load = function(state, errors) {+ onProjectionSelect();if ( state.map ) {var map = self.maps.map;// Verify that the viewport extent overlaps the valid extent, if@@ -70,7 +71,6 @@ wv.map.model = wv.map.model || function(models, config) {// Initial state needs to be loaded here or the transition effect// does not work when a palette is assigned via permalinkonDateSelect();- onProjectionSelect();onLayersChange();onPalettesChange();};diff --git a/src/js/wv.tour.js b/src/js/wv.tour.jsindex 0dfc4659e..dd21e03c6 100644--- a/src/js/wv.tour.js+++ b/src/js/wv.tour.js@@ -61,7 +61,6 @@ wv.tour = wv.tour || function(models, ui) {return;}- initTourState();/* --- Set Up --- */var padding = 15; // padding - used for all of the tour windows@@ -295,6 +294,7 @@ wv.tour = wv.tour || function(models, ui) {var handleTakeTour = function(e) {e.stopPropagation();splashOverlay.hide();+ initTourState();$('#joyRideTipContent').joyride({adjustForPhone:false,bordered:true,