๐ New features
We've added new geometry helpers to the SDK.
doSegmentsIntersectlets you check for intersection between 2D line segments (docs).isPolygonAInPolygonBlets you check whether a polygon is completely contained within another polygon (docs).fitRectangleInPolygonfinds the optimal position and rotation for a rectangle within a polygon (docs). This is useful for space planning, furniture placement, or to optimize the size of logos in leasing reports, among others.getRectangleCornerscomputes the corners for a rectangle returned byfitRectangleInPolygon(docs).
In the entity manager, you can now drop an image into a room and have it auto-fit with one click, powered by the new
fitRectangleInPolygonendpoint.The poster data layer now supports placing images automatically to fit polygons using the new
fitRectangleInPolygonAPI. Learn more in the docs.The poster auto-fit feature is also available in reports.
Reports now support multiple data layers based on the same data source.
In the layout editor, you can now split a wall into two segments at a point. This makes it easier to trim parts of a wall or adjust wall properties independently on each side.
The map entity manager now has a search bar so you can quickly find specific places on the map.
You can now add tags when creating spaces programmatically and filter spaces by tag via the query client, making it easier to organize and retrieve the spaces you care about. Learn more in the docs.
๐ Improvements
Smart zoom now adapts to tall spaces by adjusting for building height, and the camera moves up and down automatically as you switch levels.
The space viewer now updates each data layer independently, so changes to one layer no longer force others to re-render, improving performance on complex scenes.
Equipment 3D models are now served from a dedicated custom domain, which simplifies CSP configuration in your app and improves caching so equipment loads faster.