The Markup class is largely using an SVG layer to insert addtional geometrical shapes in the scene that already has most of the geometry from the source CAD file. The Web Viewer is just one part of the Visualize Web system:
Converter/Authoring: a Stream Cache file is generated from a source CAD file supported by Exchange or authored for proprietary file formats
Stream Cache Server: streams the Stream Cache file to a client web browser
Web Viewer: the viewer on the client side to interact with the Stream Cache file
Perhaps you can share more about your plans for the Web Viewer which you can send a direct message to me if you wish.