UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

23 lines 937 B
import { type IconProvider } from "../adapters"; import { type WayfindingRenderer } from "../renderer"; import { type FloorContext } from "../runtime/types"; /** * Places or hides the "You Are Here" marker. An efp-specific map annotation * (shown when `routeStore.iconType !== 0` and no active route) — separated * from the core runtime so the runtime never learns that YAH exists. * * Mutually exclusive with the runtime's position icon: `bindMobxReactions` * orchestrates so that only one of the two is visible at any time. */ export type YahHandler = (position: { readonly x: number; readonly y: number; readonly layer: string; } | null) => void; export declare function createYahHandler({ renderer, iconProvider, floorContext, layer, }: { renderer: WayfindingRenderer; iconProvider: IconProvider; floorContext: FloorContext; layer: string; }): YahHandler; //# sourceMappingURL=yahHandler.d.ts.map