Click or drag to resize

GeoViewSetViewpointAsync Method (Viewpoint)

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
)

Parameters

viewpoint
Type: Esri.ArcGISRuntime.MappingViewpoint
Viewpoint object

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
AddEncExchangeSetDisplay nautical charts per the ENC specification.
AddGraphicsWithSymbolsUse a symbol style to display a graphic on a graphics overlay.
AnalyzeHotspotsUse a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
ChangeEncDisplaySettingsConfigure the display of ENC content.
ChangeViewpointSet the map view to a new viewpoint.
DisplayKmlLoad and display KML from a URL, a local file, or a portal item.
ListKmlContentsList the contents of a KML file. KML files can contain a hierarchy of features, including network links to other KML content.
QueryFeatureCountAndExtentZoom to features matching a query and count the features in the current visible extent.
RasterLayerGeoPackageOpen a `GeoPackage`, obtain a raster from the package, and display the table as a `RasterLayer`.
RasterRenderingRuleDisplay a raster on a map and apply different rendering rules to that raster.
ViewPointCloudDataOfflineDisplay local 3D point cloud data.
WmsServiceCatalogConnect to a WMS service and show the available layers and sublayers. Layers are shown in a hierarchy. Selecting a group layer will recursively select all sublayers for display.