diff --git a/radar.html b/radar.html index f1bd581..60e3c99 100644 --- a/radar.html +++ b/radar.html @@ -135,7 +135,7 @@

BusyBird15's National Weather Radar v1.1

Legend

RED: Tornado Warning

YELLLOW: Severe Thunderstorm Warning

-

MAGENTA: Flood Warning

+

MAGENTA: Flood Warning

GREEN: Flash Flood Warning

BLUE: Special Weather Statement

ORANGE: Other

@@ -256,7 +256,7 @@

Unknown alert

} else if (alertInfo.properties.event.includes("Flash Flood")){ alertTitle.style.color = "green"; } else if (alertInfo.properties.event.includes("Flood")){ - alertTitle.style.color = "#FF0284"; + alertTitle.style.color = "magenta"; } else if (alertInfo.properties.event.includes("Special Weather")){ alertTitle.style.color = "blue"; } else { @@ -377,7 +377,7 @@

Unknown alert

getAlert(e.target.getLatLngs()); }); } else if (alert.properties.event.includes("Flood")){ - var polygon = L.polygon(reverseSubarrays(thisItem), {color: '#FF0284'}).addTo(map); + var polygon = L.polygon(reverseSubarrays(thisItem), {color: 'magenta'}).addTo(map); polygon.setStyle({fillOpacity: 0.4}); var thisAlert = []; thisAlert.push(polygon.getLatLngs().join()) @@ -386,7 +386,7 @@

Unknown alert

polygon.on('mouseover', function (e) { polygon.setStyle({ color: 'orange', fillOpacity: 0.7 }); }); polygon.on('mouseout', function (e) { - polygon.setStyle({ color: '#FF0284', fillOpacity: 0.4 }); + polygon.setStyle({ color: 'magenta', fillOpacity: 0.4 }); }); polygon.on('click', function (e) { document.getElementById("alertDeets").style.visibility = "hidden"; getAlert(e.target.getLatLngs());