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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |