A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
export function createTesting({ state: layerState, services, parts, source }) {
/** Test seam for real layer lifecycle coverage with a recording host. */
function _setRocketMissionOverlayHostForTest(host = null) {
layerState._missionOverlayHost = host
? { ...layerState.DEFAULT_OVERLAY_HOST, ...host }
: layerState.DEFAULT_OVERLAY_HOST;
}
/** Test seam that exercises the real selection/deselection path. */
function _setSelectedRocketMissionForTest(launchId = null) {
parts.selection.setSelectedMission(launchId, Boolean(launchId));
}
return {
_setRocketMissionOverlayHostForTest,
_setSelectedRocketMissionForTest,
};
}