Skip to content

spatial-monorepo


spatial-monorepo / core/src / IMDFSource

Function: IMDFSource()

IMDFSource(__namedParameters): ReactElement

Defined in: packages/core/src/components/CompoundComponents.tsx:122

IMDFSource adds one GeoJSON source per feature type (units, openings, fixtures) on mount for the given levelId. On archive prop change, calls setData() on the existing sources — never recreates them.

Provides IMDFSourceContext so FloorLayers can read the available source IDs.

Parameters

__namedParameters

IMDFSourceProps

Returns

ReactElement

Released under commercial licensing.