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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.12 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.12 - 100.15 |
| .NET 5 | 100.12 |
| .NET Core 3.1 | 100.12 |
| Xamarin.Android | 100.12 - 100.15 |
| Xamarin.iOS | 100.12 - 100.15 |
| UWP | 100.12 - 100.15 |