Show / Hide Table of Contents

Method SetViewpointRotationAsync

SetViewpointRotationAsync(double)

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

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

The degrees to rotate to (in counterclockwise direction).

Returns
Type Description
Task<bool>

True if the viewpoint has been successfully set. Otherwise, false.

Remarks

Angle will be normalized between 0 and 360 degrees.

Applies to

Platforms and versions
TargetVersions
.NET iOS200.0 - 300.0
Xamarin.iOS100.0 - 100.15
In this article
Provide feedback
Back to top Copyright © 2025 Esri.