@expofp/floorplan
Version:
Interactive floor plan library for expos and events
16 lines • 665 B
TypeScript
type PoiMarkerHitTest = (x: number, y: number) => boolean;
/**
* Model-space hit-test against the outdoor PoI symbol/cluster layers, set by
* `usePoiMarkers` while active. The renderer click pipeline
* (useRendererEvents) consults it so a click handled by a native MapLibre
* layer does not also select the booth underneath.
*
* Deliberately a leaf module (no imports): it decouples the renderer click
* pipeline from the Maplibre hook that owns the marker layers.
*/
export declare const poiMarkerHitTest: {
set(fn: PoiMarkerHitTest | null): void;
test(x: number, y: number): boolean;
};
export {};
//# sourceMappingURL=poi-marker-hit-test.d.ts.map