refactor(map): split foundry workspace and cesium runtime

This commit is contained in:
Codex
2026-08-09 19:22:25 +03:00
parent 6c1265b8b6
commit b70e165910
39 changed files with 5959 additions and 4225 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { GridSectorSelection } from "./mapRendererContract.js";
import type { SectorGridLodProfile } from "./mapSectorWorkspace.js";
import type { MapRuntimeFact } from "./useMapDataProductRuntime.js";
export const MAP_SCOPE_PROVIDER_FIELD: "position_source";
export const MAP_SCOPE_OBJECT_KIND_FIELD: "object_kind";
export const MAP_SCOPE_MISSING_VALUE: "__nodedc_missing__";
export function normalizedSectorScopeValue(value: unknown): string | null;
export function sectorScopeValueLabel(value: string): string;
export function mapFactSectorScopeValue(fact: MapRuntimeFact, field: string): string;
export function mapFactPointCoordinates(fact: MapRuntimeFact | undefined): [number, number] | null;
export function mapFactInsideGridSector(
fact: MapRuntimeFact,
selection: GridSectorSelection,
profiles: SectorGridLodProfile[],
origin: { latitude: number; longitude: number },
): boolean;