UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

17 lines • 1.01 kB
/** * Everything that moves the plan's camera on the store's say-so, and the camera itself handed out to * the SDK that lives outside React. * * Rendered **inside** `<Renderer>`, which is what lets it hold the camera: the renderer publishes it * through a hook, and a hook only resolves in a component R3F has mounted under the canvas. That is * the whole reason `Map` is split in two — the outer half watches the stores and builds the scene, * this half drives what the stores ask for. The plan's coordinate conversions go out the same way * but from `MapViewport`, which the MapLibre view mounts too. * * Each of the store's command flags is a one-shot: it is read, acted on, and cleared, exactly as the * imperative map read them. None of them check for MapLibre any more — `Layout` unmounts the plan * entirely in that mode, so there is nothing here to guard. * @returns Nothing; this renders no scene node. */ export declare function MapCamera(): null; //# sourceMappingURL=MapCamera.d.ts.map