Select to view content in your preferred language

Repeated Calls to animateTo do not Honor Camera Elevation

1919
1
Jump to solution
01-04-2016 10:24 AM
ThomasWeitzel
Emerging Contributor

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

Tags (1)
1 Solution

Accepted Solutions
ParitoshKowli1
Deactivated User

A bug has been logged for this behaviour and following are details:

BUG-000093567: animateTo method of SceneView class show gray map if called multiple times.

View solution in original post

0 Kudos
1 Reply
ParitoshKowli1
Deactivated User

A bug has been logged for this behaviour and following are details:

BUG-000093567: animateTo method of SceneView class show gray map if called multiple times.

0 Kudos