AnsweredAssumed Answered

Zooming in a 3d Scene?

Question asked by hannah.bernal on Oct 9, 2019
Latest reply on Oct 17, 2019 by UHarano-esristaff

Hello,

 

I'm trying to zoom in/out on a 3d scene given values coming in from another software which includes a 2d extent, a rotation value, and a scale value. But since the Camera's scale only applies to 2d views, I am not sure how I would use my given scale value to calculate how far we would have to zoom in or out in the 3d scene.

 

Right now, I am able to still change the scale of the scene's MapView by using MapView.ZoomTo(), passing in the extent. But it doesn't yet match the given scale. Since the MapView's camera has a Z value, could it be possible to convert our given scale value to a z value so we can change our z value instead?

 

Thank you in advance.

Outcomes