mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor: expose reference sources independently of standalone setup
This commit is contained in:
1 parent
8bfce9080d
commit
e46d50ce52
9 files changed
+66
-19
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { createUsgsEarthquakeSource } from '../layers/earthquakes/source.js';
|
||||
import { createBundledCableSource } from '../layers/submarineCables/bundledSource.js';
|
||||
|
||||
/** Construct the existing reference feeds independently of application setup. */
|
||||
export function createReferenceSources() {
|
||||
return {
|
||||
earthquakes: createUsgsEarthquakeSource(),
|
||||
cables: createBundledCableSource(),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user