spatial-monorepo / core/src / setupFloorUnloader
Function: setupFloorUnloader()
setupFloorUnloader(
map,options): (activeOrdinal) =>void
Defined in: packages/core/src/utils/FloorUnloader.ts:48
Parameters
map
Map$1 | null | undefined
MapLibre map instance
options
delayMs and getLayerIds
Returns
A function that should be called each time the active floor ordinal changes.
(activeOrdinal) => void
