19 lines
905 B
TypeScript
19 lines
905 B
TypeScript
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;
|