Show / Hide Table of Contents

Method SetViewpointRotationAsync

SetViewpointRotationAsync(double)

Sets the rotatation of the map view to the provided angle.

Declaration
public Task<bool> SetViewpointRotationAsync(double rotation)
Parameters
Type Name Description
double rotation

The degrees to rotate to (in counterclockwise direction).

Returns
Type Description
Task<bool>

True if the rotation animation completed, false if it was interrupted by another view navigation.

Remarks

Angle will be normalized between 0 and 360 degrees.

Applies to

Platforms and versions
TargetVersions
.NET200.0 - 300.0
.NET Windows200.0 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
In this article
Provide feedback
Back to top Copyright © 2025 Esri.