Commit d6cac5fd authored by Peter Knoop's avatar Peter Knoop
Browse files

Added remainder of new alert values, and set the top one, Air Quality, as the initial default.

parent 3254cd07
...@@ -138,7 +138,7 @@ require([ ...@@ -138,7 +138,7 @@ require([
}); });
// Define initial set of parameters to display. // Define initial set of parameters to display.
var parameter1 = 'Severe_Thunderstorm'; var parameter1 = 'Air_Quality';
var parameter2 = 'happening'; var parameter2 = 'happening';
var chkNormalize = false; var chkNormalize = false;
var normFieldName = 'SQMI'; // TODO: Check to see if this is the correct field to use. var normFieldName = 'SQMI'; // TODO: Check to see if this is the correct field to use.
...@@ -152,10 +152,24 @@ require([ ...@@ -152,10 +152,24 @@ require([
}; };
const parameter1options = { const parameter1options = {
'Air_Quality' : 'Air Quality', 'Air_Quality' : 'Air Quality',
'Coastal_Flood' : 'Coastal Flood',
'Excessive_Heat' : 'Excessive Heat',
'Fire_Weather' : 'Fire Weather',
'Flash_Flood' : 'Flash Flood',
'Flood_Advisory' : 'Flood Advisory', 'Flood_Advisory' : 'Flood Advisory',
'Flood_Warning' : 'Flood Warning', 'Flood_Warning' : 'Flood Warning',
'Flood_Watch' : 'Flood Watch', 'Flood_Watch' : 'Flood Watch',
'Severe_Thunderstorm' : 'Severe Thunderstorm' 'Freeze_Warning' : 'Freeze Warning',
'Heat_Advisory' : 'Heat Advisory',
'High_Wind' : 'High Wind',
'Hurricane_Local' : 'Hurricane Local',
'Lakeshore_Flood' : 'Lakeshore Flood',
'Rip_Current' : 'Rip Current',
'Severe_Thunderstorm' : 'Severe Thunderstorm',
'Tornado_Warning' : 'Tornado Warning',
'Tornado_Watch' : 'Tornado Watch',
'Tropical_Storm' : 'Tropical Storm',
'Winter_Storm' : 'Winter Storm'
}; };
// Populate selection lists for parameters. // Populate selection lists for parameters.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment