Show / Hide Table of Contents

Method SetViewpointRotationAsync

| Edit this page View Source

SetViewpointRotationAsync(double)

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

Declaration
public virtual 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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX