AnsweredAssumed Answered

How to set both camera and center positions in SceneView

Question asked by chrismorinx on Jun 15, 2017
Latest reply on Jun 16, 2017 by chrismorinx

I’ve been scratching my head trying to figure out how to set both the camera position and the center position simultaneously in 3D. I’m used to being able to do just that in Three.js, but it seems when I try to set both positions in the Arcgis JavaScript API the result is never what I expect.

 

I tried to do it by using the goTo method and it didn’t work. I tried doing it by setting the camera and center property on the view, but that also didn’t work. The result is always that the camera or the center is correct, but not the other.

 

Anybody knows how to do it? How to have both the camera and center be at specific desired positions?

 

Cheers,

Christian.

Outcomes