Click or drag to resize

MapViewSetViewpointAsync Method (Viewpoint, TimeSpan, AnimationCurve)

Animates the view to the given Viewpoint location using the provided animation curve

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public Task<bool> SetViewpointAsync(
	Viewpoint viewpoint,
	TimeSpan duration,
	AnimationCurve animationCurve
)

Parameters

viewpoint
Type: Esri.ArcGISRuntime.MappingViewpoint
Viewpoint object
duration
Type: SystemTimeSpan
Duration of the animation
animationCurve
Type: Esri.ArcGISRuntime.UIAnimationCurve
The animation curve for controlling the acceleration and deceleration of the animation.

Return Value

Type: TaskBoolean
True if the set view animation completed, false if it was interrupted by another view navigation.
See Also