FedEx Freight service alerts
<link rel="stylesheet" href="https://js.arcgis.com/4.34/esri/themes/light/main.css">
<link rel="stylesheet" href="/blocks/embed/map/service-map.css">
<div class="service-map">
<div class="app">
<header class="app-header" aria-labelledby="pageTitle">
<div class="brand-bar"></div>
<div class="header-content">
<h1 id="pageTitle">FedEx Freight Service Alerts</h1>
<p id="lastUpdatedText" aria-live="polite">Loading latest service status...</p>
</div>
</header>
<main class="app-main">
<aside class="side-panel" id="sidePanel" aria-label="Service alert controls and location details">
<section class="panel-section" aria-labelledby="summaryHeading">
<h2 id="summaryHeading">Service Summary</h2>
<div class="status-cards">
<button type="button" class="status-card operational" id="operationalCard" aria-label="Show fully operational service centers" aria-pressed="false">
<span>Fully Operational</span>
<strong id="operationalCount">--</strong>
</button>
<button type="button" class="status-card disrupted" id="disruptedCard" aria-label="Show service impacted centers" aria-pressed="false">
<span>Service Impacted</span>
<strong id="disruptedCount">--</strong>
</button>
</div>
</section>
<section class="panel-section" aria-labelledby="filtersHeading">
<h2 id="filtersHeading">Filters</h2>
<label for="statusFilter">Service Status</label>
<select id="statusFilter">
<option value="">All</option>
<option value="operational">Fully Operational</option>
<option value="impacted">Service Impacted</option>
</select>
<label for="stateFilter">State</label>
<select id="stateFilter">
<option value="">All</option>
</select>
<button id="resetFilters" type="button">Reset Filters</button>
</section>
<section class="panel-section selected-location-section" id="selectedLocationSection" aria-labelledby="selectedLocationHeading" hidden>
<div class="section-heading-row">
<h2 id="selectedLocationHeading">Selected Location</h2>
<button id="clearSelectionButton" class="clear-selection-button" type="button" aria-label="Clear selected location">Clear</button>
</div>
<div id="selectedLocationContent" class="selected-location-content" aria-live="polite"></div>
</section>
<section class="panel-section" aria-labelledby="alertsHeading">
<h2 id="alertsHeading">Current Service Impacted</h2>
<div id="alertList" class="alert-list" aria-live="polite" aria-label="Current service impacted centers">Loading alerts...</div>
</section>
<p class="disclaimer">Only showing FedEx Freight U.S. domestic center updates (not inclusive of international, offshore, and Custom Critical).</p>
</aside>
<button id="panelToggle" class="panel-edge-toggle" type="button" aria-controls="sidePanel" aria-expanded="true" aria-label="Hide panel" title="Hide panel">◀</button>
<section class="map-section" aria-label="Service alerts map">
<div class="map-search-shell" id="mapSearchShell" role="search" aria-labelledby="mapSearchLabel">
<label id="mapSearchLabel" class="map-search-label">Search Service Center Locations</label>
<div id="searchWidgetContainer"></div>
</div>
<div id="viewDiv"></div>
<div class="custom-legend" aria-label="Map legend">
<div class="legend-title">Legend</div>
<div id="serviceLegendItems" aria-live="polite">
<div class="legend-item">Loading service statuses...</div>
</div>
<div class="legend-item legend-weather-control" id="weatherLegendItem">
<span class="legend-symbol weather" aria-hidden="true"></span>
<label class="legend-weather-label" for="weatherLegendToggle">Weather Alerts</label>
<label class="legend-switch" for="weatherLegendToggle">
<input
type="checkbox"
id="weatherLegendToggle"
aria-label="Turn active weather alerts overlay on or off"
>
<span class="legend-switch-slider" aria-hidden="true"></span>
</label>
</div>
</div>
<div id="loadingOverlay" class="overlay" role="status">Loading service map...</div>
<div id="errorOverlay" class="overlay error" role="alert" hidden>We are unable to load the service alerts map right now.</div>
</section>
</main>
</div>
</div>