feat: add military bases map layer for Western Pacific

Add 18 US military bases (Japan, Guam, South Korea, Hawaii, Diego Garcia)
as a toggleable map layer. Follows the existing data center layer pattern:
static JSON → backend fetcher → slow-tier API → frontend GeoJSON layer.

Includes red circle markers with labels, click popups showing operator
and branch info, and a toggle in the left panel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
adust09
2026-03-16 00:33:35 +09:00
parent 130287bb49
commit 05de14af9d
11 changed files with 359 additions and 4 deletions
+11
View File
@@ -224,6 +224,15 @@ export interface DataCenter {
lng: number;
}
export interface MilitaryBase {
name: string;
country: string;
operator: string;
branch: string;
lat: number;
lng: number;
}
// ─── NEWS / GLOBAL INCIDENTS ────────────────────────────────────────────────
export interface NewsArticle {
@@ -404,6 +413,7 @@ export interface DashboardData {
internet_outages?: InternetOutage[];
firms_fires?: FireHotspot[];
datacenters?: DataCenter[];
military_bases?: MilitaryBase[];
}
// ─── COMPONENT PROPS ────────────────────────────────────────────────────────
@@ -432,6 +442,7 @@ export interface ActiveLayers {
firms: boolean;
internet_outages: boolean;
datacenters: boolean;
military_bases: boolean;
}
export interface SelectedEntity {