@expofp/floorplan
Version:
Interactive floor plan library for expos and events
11 lines • 695 B
TypeScript
import { type SceneDef } from '@expofp/renderer';
import { type RefObject } from 'react';
/**
* Starts wayfinding and markers once the scene exists, and tears them down with it — the same
* declarative forms the standalone map uses: both fill layers `configAll` put in the scene, and
* layout and picking reach them through the handlers their own defs declare.
* @param scene - The prepared scene the map draws, once it exists.
* @param canvas - The canvas the plan draws on — the map's own, read lazily.
*/
export declare function useWayfindingAndMarkers(scene: SceneDef | null, canvas: RefObject<HTMLCanvasElement | null>): void;
//# sourceMappingURL=useWayfindingAndMarkers.d.ts.map