Bug Number BUG-000099605
Submitted Sep 27, 2016
Modified Jun 11, 2020
Severity Medium
Applies To ArcGIS API for JavaScript
Version Found 4.1
Prog Language N/A
Server Platform N/A
Client Platform N/A
Database N/A
Locale N/A
Status Not in Current Product Plan
Version Fixed
SP Fixed

Bug BUG-000099605


Unexpected change of viewpoint and camera when the rotate button is clicked multiple times in the 3D Scene viewer in ArcGIS API for JavaScript 4.0 and 4.1.

Additional Information

The problem arrives because the terrain data is loading every time the view is changed and then the center point might not point always point to the same place. One solution is to set the center in the beginning and then pass it to the goTo() function. Tilting values change if the rotate button is pressed before the animation finishes. During the animation tilting is being changed, but at the end of the animation it comes back to the initial value.

Alternate Solution