When using map.setTerrain in MapBox and adding a 3D model sing threebox 2.2.2 the 3D model changes altitude when zooming in and out
2.2.2:
Displaying a dae 3D model on the map works fine, but if I add digital elevation model to the map using map.setTerrain, the altitude of the 3D model changes when zooming in and out.
I attach a zip with the html and javascript I am using.
In the javascript, if I comment the Add map elevation part it works fine.
When using map.setTerrain in MapBox and adding a 3D model sing threebox 2.2.2 the 3D model changes altitude when zooming in and out
2.2.2:
Displaying a dae 3D model on the map works fine, but if I add digital elevation model to the map using map.setTerrain, the altitude of the 3D model changes when zooming in and out.
I attach a zip with the html and javascript I am using.
In the javascript, if I comment the Add map elevation part it works fine.
What am I doing wrong? example3d.zip