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

Set this viewpoint prior to presenting the map or scene in a GeoView. After the view already has a viewpoint, changing InitialViewpoint will have no effect.

GeoView provides functionality to change viewpoint of an active view, such as the following methods:

  • 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.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.12 - 200.0
.NET 5100.12
.NET Core 3.1100.12
Android100.12 - 100.15
iOS100.12 - 100.15
UWP100.12 - 200.0
In This Article
Back to top Copyright © 2022 Esri.