Select to view content in your preferred language

Set viewpoint rotation without animation

151
1
03-30-2025 11:34 PM
mobileuser
Occasional Contributor

On the MapView there is the setViewPointRotation function. This function animates the rotation of the viewpoint. Is there a way to rotate the viewpoint without an animation or do you plan to introduce a method to do this?

Cheers.

0 Kudos
1 Reply
ColinAnderson1
Esri Contributor

Hi,

You should be able to use fun setViewpoint(viewpoint: Viewpoint) with an appropriate viewpoint to do this. The doc says "The viewpoint is updated instantaneously.

0 Kudos