AnsweredAssumed Answered

Repeated Calls to animateTo do not Honor Camera Elevation

Question asked by tweitzel on Jan 4, 2016
Latest reply on Jan 19, 2016 by PKowli-esristaff

I have a simple UI that allows a user to click on an item in a grid (a location) and have the map pan to that location using the SceneView animateTo() method given a simple lat/long coordinate pair.  With Beta 1, this worked fine, the new camera location honored the z value that was set previously.  With Betas 2 and 3, repeated calls to animateTo() zoom the camera closer and closer to the ground.  Is this the expected behavior?

 

Here's a fiddle to demonstrate: https://jsfiddle.net/tweitzel/c5n3hv2g/

 

Thanks!

Tom

Outcomes