Interface MountedSourceDiagnosticsExperimental

Explain/diagnostics surface returned on the handle: the chosen strategy, why it was chosen, and the current materialization state.

interface MountedSourceDiagnostics {
    featureCount?: number;
    geometryKinds?: readonly MapLibreGeometryKind[];
    overflow?: DataToMapOverflow;
    reasons: readonly DataToMapDiagnostic[];
    strategy: DataToMapStrategy;
    totalCount?: number;
    updates: readonly DataToMapDiagnostic[];
}

Properties

featureCount?: number

Rendered feature count (GeoJSON strategy only).

geometryKinds?: readonly MapLibreGeometryKind[]

Geometry kinds present in the materialized data (GeoJSON strategy only).

Set when pagination limits truncated the materialized data.

reasons: readonly DataToMapDiagnostic[]

Why the strategy was selected (capabilities, probes, overrides).

totalCount?: number

Matching row count when known (GeoJSON strategy only).

updates: readonly DataToMapDiagnostic[]

Lifecycle events appended by setFilter / refresh.