UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

18 lines • 970 B
import { type MaplibreViewMode } from '../../store/MaplibreStore'; /** * Main MobX adapter component that bridges application state to the * state-agnostic MaplibreWrapper. * * The embed renders through the ordinary `<Renderer>` in external mode, so everything the * standalone map wires through defs works identically here: picking through the layers' own * handlers, label re-layout through `onScale`, counter-rotation through `onRoll` measured off the * map's matrix every frame — no rotate listeners, no scale registries, no roll sync. Reused * renderer config modules still read singleton stores internally, and MaplibreWrapper reads * `uiState.pitchEnabled` for the tilt gesture; everything else reaches it as props. */ interface MaplibreAdapterProps { viewMode: MaplibreViewMode; } declare const MaplibreAdapter: import("react").FunctionComponent<MaplibreAdapterProps>; export default MaplibreAdapter; //# sourceMappingURL=MaplibreAdapter.d.ts.map