mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
40 lines
1.6 KiB
JavaScript
40 lines
1.6 KiB
JavaScript
import {
|
|
createOpenSkySource,
|
|
createAdsbLolSource,
|
|
createAisStreamSource,
|
|
} from '../sources/live/standalone.js';
|
|
import { createCctvSource } from '../layers/cctv/source.js';
|
|
import { createRadioSource } from '../layers/radio/source.js';
|
|
import { createTrafficSource } from '../layers/traffic/source.js';
|
|
import { createBikeshareSource } from '../layers/bikeshare/source.js';
|
|
import { createInstallationSource } from '../layers/installations/source.js';
|
|
import { createSatelliteSource } from '../layers/satellites/source.js';
|
|
import { createLaunchSource } from '../layers/launches/source.js';
|
|
import { createOverpassAlprSource } from '../layers/alpr/source.js';
|
|
import { createWindSource } from '../layers/wind/source.js';
|
|
import { createFirmsSource } from '../layers/firms/source.js';
|
|
import { createReferenceSources } from '../sources/reference.js';
|
|
export { createReferenceSources as createStandaloneReferenceSources } from '../sources/reference.js';
|
|
|
|
/** Select standalone providers without starting their acquisition. */
|
|
export function createStandaloneLayerSources() {
|
|
return {
|
|
...createReferenceSources(),
|
|
flights: createOpenSkySource(),
|
|
military: createAdsbLolSource(),
|
|
vessels: createAisStreamSource({
|
|
apiUrl: import.meta.env?.VITE_AIS_LIVE_API_URL || '/api/ais-live',
|
|
}),
|
|
cctv: createCctvSource(),
|
|
radio: createRadioSource(),
|
|
traffic: createTrafficSource(),
|
|
bikeshare: createBikeshareSource(),
|
|
installations: createInstallationSource(),
|
|
satellites: createSatelliteSource(),
|
|
launches: createLaunchSource(),
|
|
alpr: createOverpassAlprSource(),
|
|
firms: createFirmsSource(),
|
|
wind: createWindSource(),
|
|
};
|
|
}
|