Click or drag to resize

GeoViewSetViewpointAsync Method (Viewpoint, TimeSpan)

Animates the view to the given Viewpoint location

Namespace:  Esri.ArcGISRuntime.Xamarin.Forms
Assembly:  Esri.ArcGISRuntime.Xamarin.Forms (in Esri.ArcGISRuntime.Xamarin.Forms.dll) Version: 100.7.0.0
Syntax
C#
public Task<bool> SetViewpointAsync(
	Viewpoint viewpoint,
	TimeSpan duration
)

Parameters

viewpoint
Type: Esri.ArcGISRuntime.MappingViewpoint
Viewpoint object
duration
Type: SystemTimeSpan
Duration 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
Additional Examples
Hyperlink to ExampleDescription
ChangeViewpointSet the map view to a new viewpoint.
FeatureLayerRenderingModeMapRender features statically or dynamically by setting the feature layer rendering mode.