Class Viewpoint
Inheritance
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Viewpoint
Remarks
In a Map
In a Scene
- Geographic location on the surface (longitude and latitude)
- Altitude (height, in meters, above sea level)
- Heading (angle about the z axis the camera is rotated, in degrees)
- Pitch (angle the camera is rotated up or down, in degrees)
- Roll (angle the camera is rotated side-to-side, in degrees)
When you publish or save a map or scene, as a web map, web scene, mobile map package, or mobile scene package, you define
its initial Viewpoint. When you load a map or scene into your app, you can access and change the value of
this Initial
- Set
Viewpoint(Viewpoint) to instantly change the visible area with no animation. - Esri.
Arc to animate the display of the map to a viewpoint using the provided animation curve.GISRuntime. UI. Controls. Map View. Set Viewpoint Async(Esri. Arc GISRuntime. Mapping. Viewpoint,System. Single,Esri. Arc GISRuntime. UI. Animation Curve) - Set
Viewpoint to instantly move the perspective in 3D scenes.Camera(Camera)
To determine the current visible area, call Esri.
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(Map |
Initializes a new instance of the Viewpoint class with center point and scale. |
Viewpoint(Map |
Initializes a new instance of the Viewpoint class with center point, scale, and Camera. |
Viewpoint(Map |
Initializes a new instance of the Viewpoint class with center point, scale and rotation. |
Viewpoint(Map |
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, if it has one. |
Rotation | Gets the viewpoint rotation angle in degrees between 0 and 360. |
Target |
Gets the viewpoint target geometry, if the Viewpoint |
Target |
Gets the viewpoint's target scale, if the Viewpoint |
Viewpoint |
Gets the viewpoint's type. |
Methods
Name | Description |
---|---|
From |
Creates a Viewpoint instance from JSON. |
To |
Converts this instance to JSON. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 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.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |