Floor Plan Engine SDK enables you to create interactive, customizable floor plan models embedded in your website using JavaScript or TypeScript
// initialize floor plan engine
const floorPlan = new FloorPlanEngine('my plan')
// load a floor plan
await floorPlan.loadScene(sceneId, { publishableToken })
// get the first work space
const workSpace = floorPlan.resource.spaces
.find(space => space.program === 'work')
// zoom
floorPlan.zoomToElement(workSpace.id, 2, 500)










.png)
