I used to use this script viewer that loaded dwg correctly
<script src="https://autodeskviewer.com/viewers/2.5/viewer3D.min.js"></script>
Now follow this guide to set up the initial viewer:
https://developer.autodesk.com/en/docs/viewer/v2/tutorials/basic-viewer/
Now none of my files are loaded into the viewer. Viewer simply displays an animated bootloader and cannot download files. When I changed the viewer:
<script src="https://developer.api.autodesk.com/viewingservice/v1/viewers/viewer3D.min.js"></script>
in
<script src="https://autodeskviewer.com/viewers/2.5/viewer3D.min.js"></script>
the file gets the load in this viewer.
And there is no example on how to use the Markup API. Can anyone provide an example.
source share