Show / Hide Table of Contents

Property InitialViewpoint

InitialViewpoint

Gets or sets the initial viewing state when the map or scene is first displayed.

Declaration
[TypeConverter(typeof(ViewpointConverter))]
public Viewpoint InitialViewpoint { get; set; }
Property Value
Type Description
Viewpoint

The initial viewing state when the map or scene is first displayed.

Remarks

The initial viewpoint value is available when the map or scene is loaded. If you want to change the initial viewpoint, you can do this before you add the map or scene to a geo view. At this point, the geo view's viewpoint is set to this initial viewpoint. Any subsequent changes to the InitialViewpoint are ignored.

If you want to change the viewpoint of a displayed map or scene, use geo view methods such as:

  • Esri.ArcGISRuntime.UI.Controls.GeoView.SetViewpoint(Viewpoint) for instantly changing the visible area with no animation.
  • Esri.ArcGISRuntime.UI.Controls.MapView.SetViewpointCameraAsync(Viewpoint) for instantly moving the perspective in 3D scenes.
  • Esri.ArcGISRuntime.UI.Controls.MapView.SetViewpointAsync(Viewpoint) for smooth animated viewpoint changes in 2D maps.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7
In This Article
Back to top Copyright © 2022 Esri.