Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

2.5 KB
Raw Blame
import { createApplicationSatellites } from '../app/layers/satellites.js';
import { createSourceSlot } from '../sources/sourceSlot.js';
import { createSatelliteSource } from '../layers/satellites/index.js';

const sourceSlot = createSourceSlot(
  createSatelliteSource(),
  ['readGroup'],
  'Satellite source',
);
export const configureSatelliteSource = sourceSlot.configure;
const layer = createApplicationSatellites({
  source: sourceSlot.source,
});
export const satelliteVisualsVisible = layer.satelliteVisualsVisible;
export const satelliteCatalogModeChanged = layer.satelliteCatalogModeChanged;
export const createIssOverlayEntry = layer.createIssOverlayEntry;
export const orbitFrameModelMatrix = layer.orbitFrameModelMatrix;
export const _setTrackedSatelliteRefreshStateForTest =
  layer._setTrackedSatelliteRefreshStateForTest;
export const _setSatelliteTrackingRefreshOutcomeForTest =
  layer._setSatelliteTrackingRefreshOutcomeForTest;
export const _trackedFrameCartesianForTest =
  layer._trackedFrameCartesianForTest;
export const _runSatellitePreRenderForTest =
  layer._runSatellitePreRenderForTest;
export const _setDenseCatalogStateForTest = layer._setDenseCatalogStateForTest;
export const _clearDenseCatalogStateForTest =
  layer._clearDenseCatalogStateForTest;
export const _catalogGroupForTest = layer._catalogGroupForTest;
export const _setSatelliteLabelLifecycleStateForTest =
  layer._setSatelliteLabelLifecycleStateForTest;
export const _trackIssForTest = layer._trackIssForTest;
export const _pendingSatelliteTrackingRestoreForTest =
  layer._pendingSatelliteTrackingRestoreForTest;
export const _applyPendingSatelliteTrackingRestoreForTest =
  layer._applyPendingSatelliteTrackingRestoreForTest;
export const _removeSatelliteTrackingCandidateForTest =
  layer._removeSatelliteTrackingCandidateForTest;
export const _clearSatelliteLabelLifecycleForTest =
  layer._clearSatelliteLabelLifecycleForTest;
export const applySatellitePointFocusDeemphasis =
  layer.applySatellitePointFocusDeemphasis;
export const getNextIssPass = layer.getNextIssPass;
export const getNextSatellitePass = layer.getNextSatellitePass;
export const scoreSatelliteNameMatch = layer.scoreSatelliteNameMatch;
export const findSatelliteOrbitTrackInTle = layer.findSatelliteOrbitTrackInTle;
export const getSatelliteOrbitTrack = layer.getSatelliteOrbitTrack;
export {
  ISS_OVERLAY_SOURCE_ID,
  ISS_OVERLAY_SOURCE_OPTIONS,
} from '../layers/satellites/index.js';
export default layer;

export { mapAnalystRecord } from '../layers/satellites/records.js';