How-to: Draw a Bounding Box in the Web Viewer

Language: JavaScript

The following JavaScript is a modified version of the Bounding Box example provided in the Developer Examples section of the Quickstart menu. This modified example contains three components:

  1. BoundingBoxMarkup class extended from MarkupItem

  2. Selection event handler

  3. Registering event handler as a Callback

 

For more information, check out our forum post.

 

Learn more about Markup Basics in our official HOOPS Web Viewer documentation.