UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

11 lines • 593 B
import { type SceneDef } from '@expofp/renderer'; import type { Map as MaplibreMap } from 'maplibre-gl'; import { type RefObject } from 'react'; import { type GeoConfig } from './utils/geo-config'; /** * Keeps the 3D scene layer visibility in sync with LayerStore. * When a layer's visibility changes, updates the corresponding LayerDefs * and fits the camera to the newly visible floor. */ export declare function useLayerVisibilitySync(scene: SceneDef | null, mapRef: RefObject<MaplibreMap | null>, geoConfig: GeoConfig | null): void; //# sourceMappingURL=useLayerVisibilitySync.d.ts.map