How to import and visualize 2D drawings in Web Toolkit

How to import and visualize 2D drawings in Web Toolkit

We have a ready-made Drawing Viewer Example that shows drawings: sheets, layers, elements in a browser. Its source code is available here on GitHub. It can be implemented into your solution.
​
In order for the Web Toolkit to display the drawing, the latter will need to be converted to CDXWEB format first. CDXWEB is a highly compressed web-friendly format we use in Web Toolkit. Here's an a demonstration of how a JT file is prepared.