@expofp/floorplan
Version:
Interactive floor plan library for expos and events
12 lines • 501 B
TypeScript
import type { PositionInput } from '@expofp/wayfinding';
import type { PositionView } from '../storePorts';
/**
* Converts an efp position read-model to a neutral `PositionInput` for the
* runtime.
*
* `z` can be `number | string | undefined`; the runtime expects `layer:
* string`. The efp `angle` maps to the neutral `heading`; non-finite values
* become `undefined`.
*/
export declare function positionInput(position: PositionView): PositionInput;
//# sourceMappingURL=positionInput.d.ts.map