mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor: own application request operations and surface caches
This commit is contained in:
1 parent
310809e8f1
commit
ac977bd8bc
53 files changed
+4388
-3317
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { defaultSurface } from './surfaceServices.js';
|
||||
import { createApplicationInstallations } from '../app/layers/militaryInstallations.js';
|
||||
import { createSourceSlot } from '../app/sourceSlot.js';
|
||||
import { createInstallationSource } from '../layers/installations/index.js';
|
||||
@@ -9,6 +10,7 @@ const sourceSlot = createSourceSlot(
|
||||
);
|
||||
export const configureInstallationSource = sourceSlot.configure;
|
||||
const layer = createApplicationInstallations({
|
||||
surface: defaultSurface,
|
||||
source: sourceSlot.source,
|
||||
});
|
||||
export const approximateSurfaceDistanceM = layer.approximateSurfaceDistanceM;
|
||||
|
||||
Reference in new issue
Block a user