@expofp/floorplan
Version:
Interactive floor plan library for expos and events
12 lines • 729 B
TypeScript
/**
* Hands the plan's coordinate conversions out to the SDK that lives outside React.
*
* Rendered **inside** `<Renderer>`, which is what lets it hold them: `useViewport` only resolves in
* a component R3F has mounted under the canvas. A component of its own rather than another job for
* `MapCamera` because the conversions outlive that split — they depend on the scene's `Space` and
* the camera three is drawing with, and on nothing that steers the camera, so they are just as
* available in external mode, where MapLibre owns the camera and `MapCamera` is not mounted at all.
* @returns Nothing; this renders no scene node.
*/
export declare function MapViewport(): null;
//# sourceMappingURL=MapViewport.d.ts.map