19 April 2023
🎉 New features
Smplr.js provides a few new APIs that allow developers to build custom tooltips.
space.addDataLayernow returns a layer controller which lets you get the position on screen of a data element. Learn more in the docs and see a live example of a custom tooltip.
It is now possible to add event listeners on the viewer to react to events such as the camera moving. This is useful to update custom tooltips for example. Check out the docs and reach out if you need more event types for your application.
🐛 Bug fixes
Fix missing option to rescale the floor plan image without resizing the space itself.