@expofp/floorplan
Version:
Interactive floor plan library for expos and events
49 lines • 1.18 kB
TypeScript
/**
* ExpoFP SDK Public Types
* @packageDocumentation
* @module SDK
*/
/**
* Represents a 2D point coordinate in the floor plan coordinate system.
*/
export interface Point {
/** X coordinate */
x: number;
/** Y coordinate */
y: number;
}
/**
* Defines a rectangular bounding box using two corner points.
*/
export interface Bounds {
/** Top-left corner of the bounding box */
leftTop: Point;
/** Bottom-right corner of the bounding box */
rightBottom: Point;
}
/**
* Selector for identifying a Point of Interest (POI) by name or external ID.
*/
export interface POISelector {
/** Name of the POI */
name?: string;
/** External identifier of the POI */
externalId?: string;
}
/**
* Collection of POI selectors for booths and exhibitors.
*/
export interface POISelectors {
/** Array of booth selectors */
booths?: POISelector[];
/** Array of exhibitor selectors */
exhibitors?: POISelector[];
}
/**
* Options for the zoomTo operation.
*/
export interface ZoomToOptions {
/** Padding in pixels around the zoomed area. Defaults to 0. */
padding?: number;
}
//# sourceMappingURL=sdk.types.d.ts.map