Click or drag to resize

MapViewSetViewpointCenterAsync Method (Double, Double)

Centers the view on the provided point.

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public Task<bool> SetViewpointCenterAsync(
	double latitude,
	double longitude
)

Parameters

latitude
Type: SystemDouble
Latitude in a WGS84 geographic coordinate system
longitude
Type: SystemDouble
Longitude in a WGS84 geographic coordinate system

Return Value

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