mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
refactor: supply application catalogs explicitly
This commit is contained in:
1 parent
fad93f22f8
commit
c3de679c61
16 files changed
+288
-50
No files matched your search
@@ -0,0 +1,40 @@
|
||||
import flightsLayer from '../data/flights.js';
|
||||
import militaryFlightsLayer from '../data/militaryFlights.js';
|
||||
import alprCamerasLayer from '../data/alprCameras.js';
|
||||
import earthquakesLayer from '../data/earthquakes.js';
|
||||
import satellitesLayer from '../data/satellites.js';
|
||||
import rocketLaunchesLayer from '../data/rocketLaunches.js';
|
||||
import trafficLayer from '../data/traffic.js';
|
||||
import cctvLayer from '../data/cctv.js';
|
||||
import radioLayer from '../data/radio.js';
|
||||
import bikeshareLayer from '../data/bikeshare.js';
|
||||
import aisLiveVesselsLayer from '../data/aisLiveVessels.js';
|
||||
import militaryInstallationsLayer from '../data/militaryInstallations.js';
|
||||
import militaryAwarenessLayer from '../data/militaryAwareness.js';
|
||||
import localDataLayers from '../data/localLayers.js';
|
||||
import { LAYER_STATE_REGISTRY } from '../data/layerState.js';
|
||||
|
||||
import { createLayerCatalog } from '../app/catalog.js';
|
||||
|
||||
/** Select the existing standalone instances and current persistence schema. */
|
||||
export function createStandaloneCatalog() {
|
||||
return createLayerCatalog(
|
||||
[
|
||||
flightsLayer,
|
||||
militaryFlightsLayer,
|
||||
earthquakesLayer,
|
||||
alprCamerasLayer,
|
||||
satellitesLayer,
|
||||
rocketLaunchesLayer,
|
||||
trafficLayer,
|
||||
cctvLayer,
|
||||
radioLayer,
|
||||
bikeshareLayer,
|
||||
aisLiveVesselsLayer,
|
||||
militaryInstallationsLayer,
|
||||
militaryAwarenessLayer,
|
||||
...localDataLayers,
|
||||
],
|
||||
LAYER_STATE_REGISTRY,
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user