Skip to content

Commit

Permalink
Remove extra associated wildfire on static evac map (#1819)
Browse files Browse the repository at this point in the history
* WFNEWS-2131 Use evac event number for associated wildfire

* WFNEWS-2131 Use evac event number for associated wildfire

* WFNEWS-2131 Trim fire name and add name to params for routing

* Safety operators

* Remove extra associated wildfire on static evac map
  • Loading branch information
ssylver93 authored Apr 23, 2024
1 parent 2146745 commit d6c3137
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,6 @@ export class EvacAlertFullDetailsComponent implements OnInit {
popupAnchor: [1, -34],
shadowSize: [41, 41],
});
if (this.incident) {
if (this.incident.fireOfNoteInd) {
L.marker(location, { icon: fireOfNoteIcon }).addTo(this.map);
} else {
const colorToDisplay = setDisplayColor(
this.incident.stageOfControlCode,
);
L.circleMarker(location, {
radius: 5,
fillOpacity: 1,
color: 'black',
fillColor: colorToDisplay,
}).addTo(this.map);
}
}

// now fetch the rest of the incidents in the area and display on map
try {
Expand Down

0 comments on commit d6c3137

Please sign in to comment.