Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BusyBird15 authored Oct 19, 2024
1 parent 9b04523 commit 7011f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beta/sparkradar/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ function loadAlerts() {
var thisItem = alert.geometry.coordinates[0];
if (alert.properties.event.includes("Severe Thunderstorm")){
var border = L.polygon(reverseSubarrays(thisItem), {color: 'black', weight: 6, fillOpacity: 0, pane: 'alerts'}).addTo(alerts);
if (!alert.properties.description.includes("PARTICULARLY DANGEROUS SITUATION")) {
if (alert.properties.description.includes("PARTICULARLY DANGEROUS SITUATION")) {
var polygon = L.polygon(reverseSubarrays(thisItem), {color: 'orange', weight: 4, fillOpacity: 0, pane: 'alerts', className: 'SVRPDSPolygon'}).addTo(alerts);
} else {
var polygon = L.polygon(reverseSubarrays(thisItem), {color: 'orange', weight: 4, fillOpacity: 0, pane: 'alerts'}).addTo(alerts);
Expand Down

0 comments on commit 7011f5e

Please sign in to comment.