Class Viewpoint
A location within a GeoView.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Viewpoint
Constructors
Name | Description |
---|---|
Viewpoint(Geometry) | Initializes a new instance of the Viewpoint class with a bounding extent. |
Viewpoint(Geometry, Camera) | Initializes a new instance of the Viewpoint class using a bounding extent and a Camera. |
Viewpoint(Geometry, Double) | Initializes a new instance of the Viewpoint class with a bounding extent and rotation. |
Viewpoint(Geometry, Double, Camera) | Initializes a new instance of the Viewpoint class with a bounding extent, rotation, and Camera. |
Viewpoint(MapPoint, Double) | Initializes a new instance of the Viewpoint class with center point and scale. |
Viewpoint(MapPoint, Double, Camera) | Initializes a new instance of the Viewpoint class with center point, scale, and Camera. |
Viewpoint(MapPoint, Double, Double) | Initializes a new instance of the Viewpoint class with center point, scale and rotation. |
Viewpoint(MapPoint, Double, Double, Camera) | Initializes a new instance of the Viewpoint class with center point, scale, rotation, and Camera. |
Viewpoint(Double, Double, Double) | Initializes a new instance of the Viewpoint class with latitude, longitude, and scale. |
Viewpoint(Double, Double, Double, Camera) | Initializes a new instance of the Viewpoint class with latitude, longitude, scale, and Camera. |
Properties
Name | Description |
---|---|
Camera | Gets the viewpoint's Camera, or |
Rotation | Gets the viewpoint rotation angle in degrees between 0 and 360. |
TargetGeometry | Gets the target geometry this view is requesting. |
TargetScale | Gets the target scale for the viewpoint, or NaN if this is an extent-based viewpoint. |
ViewpointType | Gets the viewpoint's type. |
Methods
Name | Description |
---|---|
FromJson(String) | Creates a Viewpoint instance from JSON. |
ToJson() | Converts this instance to JSON. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |