mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-09 15:53:56 +02:00
fc9eff865e
New features: - In-app auto-updater with confirmation dialog, manual download fallback, restart polling, and protected file safety net - Ship layers split into 4 independent toggles (Military/Carriers, Cargo/Tankers, Civilian, Cruise/Passenger) with per-category counts - Stable entity IDs using MMSI/callsign instead of volatile array indices - Dismissible threat alert bubbles (session-scoped, survives data refresh) Performance: - GDELT title fetching is now non-blocking (background enrichment) - Removed duplicate startup fetch jobs - Docker healthcheck start_period 15s → 90s Bug fixes: - Removed fake intelligence assessment generator (OSINT-only policy) - Fixed carrier tracker GDELT 429/TypeError crash - Fixed ETag collision (full payload hash) - Added concurrent /api/refresh guard Contributors: @imqdcr (ship split + stable IDs), @csysp (dismissible alerts, PR #48) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Former-commit-id: a2c4c67da54345393f70a9b33b52e7e4fd6c049f
42 lines
1.6 KiB
TypeScript
42 lines
1.6 KiB
TypeScript
export const darkStyle = {
|
|
version: 8,
|
|
glyphs: "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
|
sources: {
|
|
'carto-dark': {
|
|
type: 'raster',
|
|
tiles: [
|
|
"https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}@2x.png",
|
|
"https://b.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}@2x.png",
|
|
"https://c.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}@2x.png",
|
|
"https://d.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}@2x.png"
|
|
],
|
|
tileSize: 256
|
|
}
|
|
},
|
|
layers: [
|
|
{ id: 'carto-dark-layer', type: 'raster', source: 'carto-dark', minzoom: 0, maxzoom: 22 },
|
|
{ id: 'imagery-ceiling', type: 'background', paint: { 'background-opacity': 0 } }
|
|
]
|
|
};
|
|
|
|
export const lightStyle = {
|
|
version: 8,
|
|
glyphs: "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
|
sources: {
|
|
'carto-light': {
|
|
type: 'raster',
|
|
tiles: [
|
|
"https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png",
|
|
"https://b.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png",
|
|
"https://c.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png",
|
|
"https://d.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png"
|
|
],
|
|
tileSize: 256
|
|
}
|
|
},
|
|
layers: [
|
|
{ id: 'carto-light-layer', type: 'raster', source: 'carto-light', minzoom: 0, maxzoom: 22 },
|
|
{ id: 'imagery-ceiling', type: 'background', paint: { 'background-opacity': 0 } }
|
|
]
|
|
};
|