Show / Hide Table of Contents

Method MoveCameraAsync

MoveCameraAsync(Double, Double, Double, Double)

Animates the camera to a new offset position relative to the target with the specified duration.

Declaration
public Task MoveCameraAsync(double distanceDelta, double headingDelta, double pitchDelta, double duration)
Parameters
Type Name Description
System.Double distanceDelta

The change in distance to apply in the animation

System.Double headingDelta

The change in heading to apply in the animation

System.Double pitchDelta

The change in pitch to apply in the animation

System.Double duration

The duration of the animation in seconds

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the asynchronous operation.

Remarks

Note that heading and pitch delta values may be greater than 360 degrees and the angle is not normalized. For example, a heading delta of 720 will make the camera do two circles around the target within the duration time.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.