@expofp/floorplan
Version:
Interactive floor plan library for expos and events
11 lines • 624 B
TypeScript
import { type Map as MaplibreMap } from 'maplibre-gl';
import { type RefObject } from 'react';
import { type RendererService } from '../../renderer/RendererService';
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(rendererService: RendererService, mapRef: RefObject<MaplibreMap | null>, geoConfig: GeoConfig | null): void;
//# sourceMappingURL=useLayerVisibilitySync.d.ts.map