mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
32 lines
990 B
JavaScript
32 lines
990 B
JavaScript
import { createVesselLayer } from '../../layers/vessels/index.js';
|
|
import * as context from '../../data/contextStore.js';
|
|
import * as trails from '../../data/trailRenderer.js';
|
|
import * as labels from '../../data/detectionDraw.js';
|
|
import * as picking from '../../data/pickRegistry.js';
|
|
import * as overlay from '../../overlays/worldOverlay.js';
|
|
import * as geoid from '../../data/geoid.js';
|
|
import * as sprites from '../../data/spriteOrder.js';
|
|
import * as focus from '../../data/focusDeemphasis.js';
|
|
import * as worldFocus from '../../worldFocus.js';
|
|
import * as render from '../../renderGovernor.js';
|
|
|
|
/** Construct one layer using the application scene owners and a supplied source. */
|
|
export function createApplicationVessels({ source, options = {} }) {
|
|
return createVesselLayer({
|
|
source,
|
|
options,
|
|
services: {
|
|
context,
|
|
trails,
|
|
labels,
|
|
picking,
|
|
overlay,
|
|
geoid,
|
|
sprites,
|
|
focus,
|
|
worldFocus,
|
|
render,
|
|
},
|
|
});
|
|
}
|