Interactive interface for browsing global, full-resolution satellite imagery
Always update granule outline #1623
Benjamin Kingcbfc65f81585
diff --git a/web/js/map/data/map.js b/web/js/map/data/map.jsindex d743820df..5a8eb9938 100644--- a/web/js/map/data/map.js+++ b/web/js/map/data/map.js@@ -39,6 +39,7 @@ export function dataMap(store, maps, dataUi) {var init = function() {self.unSubscribe = store.subscribe(subscribeToStore);dataUi.events+ .on('activate', updateProjection).on('query', clear).on('queryResults', updateGranules).on('projectionUpdate', updateProjection)diff --git a/web/js/map/data/ui.js b/web/js/map/data/ui.jsindex 8eb044228..6e4a9b5d7 100644--- a/web/js/map/data/ui.js+++ b/web/js/map/data/ui.js@@ -156,6 +156,7 @@ export function dataUi(models, store, ui, config) {};var onActivate = function() {self.active = true;+ self.events.trigger('activate');if (!mapController) {mapController = dataMap(store, maps, self);}diff --git a/web/js/map/natural-events/ui.js b/web/js/map/natural-events/ui.jsindex 8132162b8..7f6fe64df 100644--- a/web/js/map/natural-events/ui.js+++ b/web/js/map/natural-events/ui.js@@ -82,7 +82,6 @@ export default function naturalEventsUI(models, ui, config, store) {};const onSidebarChange = function(tab) {const proj = store.getState().proj;- console.log(tab);if (tab === 'events') {// Remove previously stored markersnaturalEventMarkers.remove(self.markers);