Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Now hiding Earthquake, Drought, and Landslide event types

Ryan Boller18ccf0dce153
diff --git a/web/js/naturalEvents/wv.naturalEvents.ui.js b/web/js/naturalEvents/wv.naturalEvents.ui.js
index 8355dee77..ac9a8dc02 100644
--- a/web/js/naturalEvents/wv.naturalEvents.ui.js
+++ b/web/js/naturalEvents/wv.naturalEvents.ui.js
@@ -182,7 +182,10 @@ wv.naturalEvents.ui = wv.naturalEvents.ui || function(models, ui, config) {
};
var refreshEvent = function($content, event, index) {
- if (event.category[0]['-domain'] === 'Floods') {
+ if ((event.category[0]['-domain'] === 'Floods') ||
+ (event.category[0]['-domain'] === 'Earthquakes') ||
+ (event.category[0]['-domain'] === 'Drought') ||
+ (event.category[0]['-domain'] === 'Landslides')){
return;
}
var geoms = toArray(event.geometry);