Reputation: 11
I am using this extension and downloading it successfully
https://aps.autodesk.com/blog/add-mapbox-google-maps-forge-viewer
https://github.com/wallabyway/geo-three-ext
But when executing the extension script itself, it gives an error
I tried to fix the error in this way
var viewer = new Autodesk.Viewing.ViewingApplication('MyViewerDiv');
Like in my web application, but he switched to .addScen, and swore at him
Upvotes: 0
Views: 97
Reputation: 1196
I updated the demo: https://wallabyway.github.io/geo-three-ext/
You can see how the viewer is initialized in the source code, here:
That viewer variable is the problem and should be refactored. Add that to your code, and it should unblocked you for now.
Upvotes: 0