Example: Get Workspace Reference Bounds

When opening a publication, the SDK will always ask the SDK user to zoom to the publictation workspace bounds by firing the onZoomToExtent signal. To make this more complete, we also added a function getWorkspaceReferenceBounds that can be called at all times, to retrieve the workspace reference bounds.

This example is configured to wait until the workspace is open (wait on the onWorkspaceOpened signal) and then print the workspace bounds in the browser console.



 
Last modified:: 2026/07/16 17:53