Click or drag to resize

GeoViewGetCurrentViewpoint Method

Gets the current Viewpoint of the view.

Namespace:  Esri.ArcGISRuntime.Xamarin.Forms
Assembly:  Esri.ArcGISRuntime.Xamarin.Forms (in Esri.ArcGISRuntime.Xamarin.Forms.dll) Version: 100.6.0.0
Syntax
C#
public Viewpoint GetCurrentViewpoint(
	ViewpointType viewpointType
)

Parameters

viewpointType
Type: Esri.ArcGISRuntime.MappingViewpointType
Type of Viewpoint

Return Value

Type: Viewpoint
a Viewpoint.
Remarks
To change the view viewpoint, you can use the SetViewpointAsync(Viewpoint) method available on the view.
See Also
Additional Examples
Hyperlink to ExampleDescription
AuthorMapCreate and save a map as an ArcGIS `PortalItem` (i.e. web map).
EditAndSyncFeaturesSynchronize offline edits with a feature service.
ExportTilesDownload tiles to a local tile cache file stored on the device.
GenerateGeodatabaseGenerate a local geodatabase from an online feature service.
GeoViewSyncKeep the view points of two views (a MapView and a SceneView in this case) synchronized with each other.
ListTransformationsGet a list of suitable transformations for projecting a geometry between two spatial references with different horizontal datums.
ManageBookmarksAccess and create bookmarks on a map.
MapImageSublayerQueryFind features in a sublayer based on attributes and location.
QueryFeatureCountAndExtentZoom to features matching a query and count the features in the current visible extent.
StatisticalQueryQuery a table to get aggregated statistics back for a specific field.