mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
19 lines
778 B
JavaScript
19 lines
778 B
JavaScript
import { localGeoJsonServices } from './localGeojson.js';
|
||
import { createInfrastructureLayers } from './infrastructure.js';
|
||
import { createFirmsHeatmapLayer } from './firmsHeatmap.js';
|
||
import submarineCablesLayer from './telegeographySubmarineCables.js';
|
||
|
||
const [datacenters, dams] = createInfrastructureLayers(localGeoJsonServices);
|
||
|
||
// Live NASA FIRMS fires (VIIRS ×3 NRT via the /api/firms proxy). The id keeps
|
||
// the historical `local-` prefix for persistence + voice-tool-enum compat,
|
||
// but the data is NOT bundled anymore — it needs FIRMS_MAP_KEY server-side.
|
||
const fires = createFirmsHeatmapLayer({
|
||
id: 'local-firms',
|
||
name: 'FIRMS Active Fires',
|
||
icon: '▲',
|
||
source: 'NASA FIRMS · LIVE',
|
||
});
|
||
|
||
export default [datacenters, dams, submarineCablesLayer, fires];
|