Select to view content in your preferred language

Zooming in a 3d Scene?

766
1
10-09-2019 09:03 AM
HannahBernal
Occasional Contributor

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.

1 Reply
UmaHarano
Esri Regular Contributor

Hi Hannah

Map scale is a 2D concept.  For 3D, to learn about the Camera, please refer to ProConcepts: Map Exploration Camera topic.

In 3D, Pro maps the scale selection in the map scale combo to a set roughly equivalent Z values.

Thanks

Uma

0 Kudos