@expofp/floorplan
Version:
Interactive floor plan library for expos and events
10 lines • 513 B
TypeScript
import { type Map as MaplibreMap } from 'maplibre-gl';
import { type RefObject } from 'react';
import { type GeoConfig } from './utils/geo-config';
/**
* Bundles all camera-related MobX reactions: moveToBooths, moveToRect,
* zoomBy, moveToLocation, and centerMap. Each watches a uiState trigger,
* moves the camera, and clears the trigger.
*/
export declare function useCameraReactions(mapRef: RefObject<MaplibreMap | null>, geoConfig: GeoConfig | null): void;
//# sourceMappingURL=useCameraReactions.d.ts.map