UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2 lines (1 loc) • 449 B
export const ROTATION_DELAY_MS=8e3,PRELOAD_BATCH_SIZE=100,RELAYOUT_DEBOUNCE_MS=250;const n={base:3.875,minHeight:1.25,maxHeight:2.75,maxWidth:8.75,spacing:1.25},s={base:62/16,minHeight:20/16,maxHeight:44/16,maxWidth:110/16,spacing:20/16},a=.5;export const MAX_GAP_FACTOR=2;export function tileOptions(e,t){const i=e?s:n;return{base:t(i.base),exponent:a,minHeight:t(i.minHeight),maxHeight:t(i.maxHeight),maxWidth:t(i.maxWidth),spacing:t(i.spacing)}}