UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

40 lines 1.15 kB
import { type MapTheme } from '@expofp/schema'; interface ImageData { layer: string; data: string; points: unknown[][]; } interface GeoAnchorPoint { x: number; y: number; lat: number; lng: number; } interface FpGeoProperties { config?: { p0: GeoAnchorPoint; p1?: GeoAnchorPoint; p2: GeoAnchorPoint; bearing?: number; snapThreshold?: number; /** Basemap palette the Designer authored the drawing for. */ style?: MapTheme; /** `'maplibre'` when the Designer authored the plan for the MapLibre map. */ type?: 'maplibre'; }; mpViewbox?: number[]; useMaplibre?: boolean; [key: string]: unknown; } /** * `__fpGeo` as the SDK reads it: the georeferencing extension of a GeoJSON * FeatureCollection. Only `properties` and `images` are consumed here — the * FeatureCollection part (`type`, `features`) passes through untyped. */ interface ExtendFeatureCollection { properties: FpGeoProperties; images: ImageData[]; } export declare const fpGeo: ExtendFeatureCollection | undefined; export {}; //# sourceMappingURL=fpGeo.d.ts.map